aws-cdk does not update stack description
See original GitHub issueAWS CDK does not update stack description
Reproduction Steps
import * as core from '@aws-cdk/core';
const app = new core.App();
const stack = new core.Stack(app, 'stack', {
description: 'aaa',
});
than deploy
cdk deploy stack
than update code
import * as core from '@aws-cdk/core';
const app = new core.App();
const stack = new core.Stack(app, 'stack', {
description: 'bbb',
});
than deploy again
cdk deploy stack
Error Log
command cdk diff
shows difference (it’s right)
Stack stack
Template
[~] Description Description: aaa to bbb
command cdk deploy
does nothing (it’s wrong)
stack: deploying...
stack: creating CloudFormation changeset...
✅ stack (no changes)
Environment
- CLI Version :1.14.0
- Framework Version: 1.14.0
- OS : darwin
- Language : typescript
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Unable to update only Stack description · Issue #6474 - GitHub
StackProps object and its description parameter), a cdk deploy will not find any changes and will abort stack update.
Read more >Troubleshooting common AWS CDK issues
When deploying my AWS CDK stack, I receive a NoSuchBucket error. Your AWS environment has not been bootstrapped, and so does not have...
Read more >class Stack (construct) · AWS CDK
Implements IConstruct , IConstruct , IDependable , ITaggable. A root construct which represents a single CloudFormation stack.
Read more >AWS CloudFormation stack updates
Learn how to update AWS CloudFormation stacks to make changes to a stack's resources.
Read more >Troubleshooting common AWS CDK issues
If you do not specify both, the AWS CDK, by default, synthesizes the stack as environment-agnostic, such that it can be deployed to...
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 FreeTop 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
Top GitHub Comments
@shivlaks tried with
--force
. The issue persists.I believe users can provide the
--force
flag to ensure that a deploy goes through even if there are no changes. I’ll test it out to see whether description changes can be pushed out with the flag