From 81eb2b41460284fcf084f94ecbbd86c684c2ea07 Mon Sep 17 00:00:00 2001 From: Yakir Date: Wed, 25 Nov 2020 11:15:18 +0200 Subject: [PATCH] fixed the SNS notification - referred to a non-existing parameter --- buildspec.yml | 2 +- template.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index e6b7f83..e2c1e81 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -17,7 +17,7 @@ phases: build: commands: - if [ -z $VERSION ]; then export VERSION=$CODEBUILD_SOURCE_VERSION; fi - - sed -i "s//$VERSION/g" template.yaml + - sed -i "s||$VERSION|g" template.yaml - aws s3 cp $DEPLOYMENT_ASSET_LOCATION sf-deploy.py #Mandatory - python sf-deploy.py # Mandatory diff --git a/template.yaml b/template.yaml index 2011b05..7c8def3 100644 --- a/template.yaml +++ b/template.yaml @@ -15,8 +15,7 @@ Resources: - - "arn:aws:sns:" - Ref: AWS::Region - :525087191202:AllCloudPortfolioUtilities - Version: - Ref: "" + Version: "" Product: ECR Cross-Region Replication UpdateReplacePolicy: Delete DeletionPolicy: Delete