- Newest
- Most votes
- Most comments
Use AWS CLI aws cloudformation update-stack
to do update
CloudFormation does not pick up the change if you simply update the Default
value in the template and redeploy.
You must explicitly change the parameter with aws cloudformation update-stack --parameters
or in the CloudFormation web console.
The error message "The submitted information didn't contain changes" typically occurs when CloudFormation doesn't recognize the changes you're trying to make as an actual update. This can happen in certain situations, even when you've changed a parameter value like BudgetAmount.
There are a few possible reasons for this:
-
CloudFormation might not detect the change if the new value is the same as the old value. Double-check that you're actually changing the BudgetAmount to a different value.
-
Some changes, like modifications to certain policies or declarations, are not recognized by CloudFormation as updates.
-
There might be a caching issue in the AWS Console, causing it not to register the change.
To resolve this issue, you can try the following:
-
Ensure you're actually changing the BudgetAmount to a different value.
-
If you're certain you've made a change, you can force CloudFormation to recognize the update by making a small, inconsequential change to your template. For example, you could add or modify a metadata attribute for any of your resources. CloudFormation will recognize this as a change and process the update, including your parameter change.
-
Try using the AWS CLI or AWS SDK to update the stack instead of the console. This can sometimes bypass caching issues.
-
If the issue persists, you might need to create a change set manually and execute it, rather than doing a direct update.
Remember, when making changes to your CloudFormation stack, it's always a good practice to review the proposed changes carefully before applying them, especially in production environments.
Sources
Troubleshooting CloudFormation - AWS CloudFormation
Update - AWS CloudFormation
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago