CloudFormation `create_change_set` function should have `--no-fail-on-empty-changeset` option.
See original GitHub issueIs your feature request related to a problem? Please describe.
It would be great if cloudformation create_change_set
function has --no-fail-on-empty-changeset
option.
because I use this function in github actions workflow and it always fails because of no change. https://github.com/LittleWat/cfn-github-action-sample/blob/0906ec5340301adb4010f11f3c3fc27e7958927b/deploy.py#L106-L116
Describe the solution you’d like
awscli support --no-fail-on-empty-changeset
so boto3 also should support --no-fail-on-empty-changeset
option.
Or other solutions?
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
CreateChangeSet - AWS CloudFormation
Creates a list of changes that will be applied to a stack so that you can review the changes before executing them. You...
Read more >Flag --no-fail-on-empty-changeset does not work · Issue #3123
The flag is recognised by the CLI (at least it does not say Unknown option), but it still fails with the error message...
Read more >create-change-set — AWS CLI 2.9.6 Command Reference
Use change sets to understand which resources CloudFormation will create or change, and how it will change resources in an existing stack, before...
Read more >Prevent CloudFormation Change Sets from piling up
Recently, I've stumbled upon a problem when using aws cloudformation deploy within deployment pipelines (Jenkins, GitLab CI, ...
Read more >AWS CloudFormation Stack Failure Options - YouTube
In this video, you'll see how to use AWS CloudFormation stack failure options. With this feature, you can preserve the state of provisioned ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @LittleWat,
Thanks for writing. The Python SDK
boto3
and the AWS CLI use the same API model for this operation. Here’s the docs for the AWS CLIaws cloudformation create-change-set
, and I don’t see any reference to the parameter you noted:https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/create-change-set.html
What you’re referring to is the AWS CLI customization
aws cloudformation deploy
command. This is a separate command provided for the AWS CLI. In order to get the same behavior here, we would need to implement the same thing inboto3
as a high-level library.Can you describe why you need this as part of the Python SDK instead of using the AWS CLI? Deploying packages was a much more common operation to do through a CLI tool than the SDK.
@kdaily Thank you for passing my feature request to the team! I hope this option to be implemented in the future!