From 1e6c276f5950816ff985db6d0641e99773791714 Mon Sep 17 00:00:00 2001 From: JD Date: Tue, 11 Jun 2019 09:35:01 -0400 Subject: [PATCH] Solution Helper still had references to an old variable for the deploy bucket. As a result the stack would fail to deploy as it presummed the bucket was named '-region' --- deployment/build-s3-dist.sh | 5 ----- deployment/cost-optimization-monitor.template | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/deployment/build-s3-dist.sh b/deployment/build-s3-dist.sh index b2d0e27..f1ab127 100755 --- a/deployment/build-s3-dist.sh +++ b/deployment/build-s3-dist.sh @@ -56,11 +56,6 @@ replace="s/%%VERSION%%/$2/g" echo "sed -i '' -e $replace $dist_dir/cost-optimization-monitor.template" sed -i '' -e "$replace" "$dist_dir"/cost-optimization-monitor.template -echo "Updating dist bucket in template with $3" -replace="s/%%DIST_BUCKET_NAME%%/$3/g" -echo "sed -i '' -e $replace $dist_dir/cost-optimization-monitor.template" -sed -i '' -e "$replace" "$dist_dir"/cost-optimization-monitor.template - echo "------------------------------------------------------------------------------" echo "[Packing] ES Tools" echo "------------------------------------------------------------------------------" diff --git a/deployment/cost-optimization-monitor.template b/deployment/cost-optimization-monitor.template index c6e3cac..c4dc481 100644 --- a/deployment/cost-optimization-monitor.template +++ b/deployment/cost-optimization-monitor.template @@ -1778,7 +1778,7 @@ "Fn::Join": [ "", [ - "%%DIST_BUCKET_NAME%%-", + "%%TEMPLATE_BUCKET_NAME%%-", { "Ref": "AWS::Region" }