From c6ebfc52100c6362d4e444f71d94b8a64a3164ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Bu=C3=9Fmann?= Date: Sat, 16 May 2020 13:08:55 +0200 Subject: [PATCH] Fixed bug with resolving region in resolving stack output --- resolveStackOutput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolveStackOutput.js b/resolveStackOutput.js index 693dbef..5735eeb 100644 --- a/resolveStackOutput.js +++ b/resolveStackOutput.js @@ -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();