From 6f3bc52b7e1152ad0d1af3f7eba5e13be7aebbf7 Mon Sep 17 00:00:00 2001 From: Maximiliano Baez Date: Thu, 5 Jan 2023 17:18:02 -0300 Subject: [PATCH] fix entrypoint.sh --- entrypoint.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index a7df1d2..ab1e230 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -14,7 +14,7 @@ if [[ -z "$TEMPLATE" ]]; then fi if [[ -z "$TEMPLATEOUTPUT" ]]; then - echo "Template output file" + echo Template output file exit 1 fi @@ -84,5 +84,6 @@ output = text region = $AWS_REGION" > ~/.aws/config aws cloudformation package --template-file $TEMPLATE --output-template-file $TEMPLATEOUTPUT --s3-bucket $AWS_DEPLOY_BUCKET $AWS_BUCKET_PREFIX $FORCE_UPLOAD $USE_JSON -aws cloudformation deploy --template-file aws $TEMPLATEOUTPUT --stack-name $AWS_STACK_NAME $CAPABILITIES $PARAMETER_OVERRIDES +aws cloudformation deploy --template-file $TEMPLATEOUTPUT --stack-name $AWS_STACK_NAME $CAPABILITIES $PARAMETER_OVERRIDES +rm -rf ~/.aws \ No newline at end of file