Skip to content

Commit

Permalink
fix entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianobaez committed Jan 5, 2023
1 parent 8a8883e commit 6f3bc52
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [[ -z "$TEMPLATE" ]]; then
fi

if [[ -z "$TEMPLATEOUTPUT" ]]; then
echo "Template output file"
echo Template output file
exit 1
fi

Expand Down Expand Up @@ -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

0 comments on commit 6f3bc52

Please sign in to comment.