aws / aws/aws-sam-cli

Feature request: Support unified Change Sets for nested stacks

Open
#3,739 2 comments 15 reactions 0 assignees View on GitHub
area/deploy area/nested-stacks type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

### Describe your idea/feature/enhancement
The AWS CLI now supports generating a unified change set for nested stacks, as shown in [the docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/change-sets-for-nested-stacks.html#change-sets-for-nested-stacks-cli):

```bash
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](https://github.com/awslabs/serverless-application-model)? No - this wouldn't have any impact on the Serverless resources.

### Additional Details

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.