Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CloudFormation `create_change_set` function should have `--no-fail-on-empty-changeset` option.

See original GitHub issue

Is 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.

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:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

kdailycommented, Apr 1, 2022

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 CLI aws cloudformation create-change-set, and I don’t see any reference to the parameter you noted:

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 in boto3 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.

LittleWatcommented, Apr 14, 2022

@kdaily Thank you for passing my feature request to the team! I hope this option to be implemented in the future!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found