aws / aws-sam-cli

CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
https://aws.amazon.com/serverless/sam/
Apache License 2.0
6.51k stars 1.17k forks source link

Feature request: Support unified Change Sets for nested stacks #3739

Open JJSphar opened 2 years ago

JJSphar commented 2 years ago

Describe your idea/feature/enhancement

The AWS CLI now supports generating a unified change set for nested stacks, as shown in the docs:

aws cloudformation create-change-set --include-nested-stacks 

This makes it much easier to tell what is going to happen to your resources, making working with nested stacks more pleasant.

It would be great if the SAM CLI could support a similar configuration point in the sam deploy command.

Proposal

Presumably there's a way to pass the include-nested-stacks option to Cloudformation when creating change sets programatically. sam deploy could receive a similar configuration option and pass it to Cloudformation.

Things to consider:

  1. Will this require any updates to the SAM Spec? No - this wouldn't have any impact on the Serverless resources.

Additional Details

torresxb1 commented 2 years ago

Thanks for the feature request! We have a roadmap here, but we also try to take in popular feature requests based on 👍 from the community. We will be adding this to our intake for prioritization.