aws-cdk does not update stack description
- Dominant language
- TypeScript
- Stars
- 105
- Forks
- 122
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 71
Description
AWS 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: Bug Report
Contributor guide
Research direction
Reproduce the issue with the TypeScript @aws-cdk/core example, changing the stack description from aaa to bbb and running cdk diff followed by cdk deploy stack. Trace why cdk diff detects the change while deployment reports no changes. Done means the second deployment applies the updated CloudFormation stack description.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cli, cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100