Skip to content

Commit

Permalink
Adds a new parameter to allow deployment of SAM templates larger than…
Browse files Browse the repository at this point in the history
… 51200 bytes over s3 bucket.

Feature to deploy a template larger than 51,200 bytes with the command aws cloudformation deploy.

--s3-bucket: The URI of the Amazon S3 bucket where this command uploads your AWS CloudFormation template. This is required to deploy templates that are larger than 51,200 bytes.

AWS documentation: https://docs.aws.amazon.com/cli/latest/reference/cloudformation/deploy/index.html#deploy
  • Loading branch information
ankit2web authored Jun 2, 2023
1 parent 02791ce commit 6138939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ output = text
region = $AWS_REGION" > ~/.aws/config

aws cloudformation package --template-file $TEMPLATE --output-template-file serverless-output.yaml --s3-bucket $AWS_DEPLOY_BUCKET $AWS_BUCKET_PREFIX $FORCE_UPLOAD $USE_JSON
aws cloudformation deploy --template-file serverless-output.yaml --stack-name $AWS_STACK_NAME $CAPABILITIES $PARAMETER_OVERRIDES $TAGS
aws cloudformation deploy --template-file serverless-output.yaml --stack-name $AWS_STACK_NAME --s3-bucket $AWS_DEPLOY_BUCKET $CAPABILITIES $PARAMETER_OVERRIDES $TAGS

0 comments on commit 6138939

Please sign in to comment.