aws / aws/aws-cli

aws cloudformation deploy support nested stack changeset

Open
#6,659 8 comments 42 reactions 0 assignees View on GitHub
cloudformation package-deploy customization feature-request p2
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 7h
Merged PRs (30d)
21

Description

**Is your feature request related to a problem? Please describe.**
Currently when --no-execute-changeset being used, it create the changeset but it is not a nested stack changeset. This does not give me a overview on what is changed. Nested stack change set is already being support by create-change-set command as described in --include-nested-stacks of https://docs.aws.amazon.com/cli/latest/reference/cloudformation/create-stack-set.html

create changeset is a good process as pre-deployment approval step in CI/CD pipeline. this can give us a clear view what need to be change and what are not

**Describe the solution you'd like**
Implement a new flag --include-nested-stacks similar to create-change-set into aws cloudformation deploy

**Describe alternatives you've considered**
Use aws cloudformation create-change-set directly, however. this is less desirable method, as we cannot use the same command syntax as aws cloudformation deploy

**Additional context**
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/change-sets-for-nested-stacks.html
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/create-change-set.html
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/deploy/index.html

Contributor guide

Open the contributing guide

Research direction

Start at the AWS CLI cloudformation deploy entry point and compare its --no-execute-changeset behavior with create-change-set's --include-nested-stacks option. Read the linked CloudFormation change-set and AWS CLI deploy documentation first; done means deploy accepts the new flag and includes nested stack changes in the generated change set.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cli, cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.