Skip to content

Commit

Permalink
Fixed bug with resolving region in resolving stack output
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbussmann authored May 16, 2020
1 parent 08d8bca commit c6ebfc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolveStackOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function resolveStackOutput(plugin, outputKey) {
const provider = plugin.serverless.getProvider('aws');
const awsCredentials = provider.getCredentials();
const cfn = new provider.sdk.CloudFormation({
region: awsCredentials.region,
region: provider.getRegion(),
credentials: awsCredentials.credentials
});
const stackName = provider.naming.getStackName();
Expand Down

0 comments on commit c6ebfc5

Please sign in to comment.