aws / aws/aws-cdk

(cli): re-bootstrapping wont update all tags

Open
#17,406 5 comments 0 reactions 0 assignees View on GitHub
bug cli effort/small needs-cfn p2 package/tools
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### What is the problem?

First bootstrap will create SSM parameter with tags. In our case we had publish the wrong tags and want to change the tags. Unfortunately the tags for the parameter are not updated.

### Reproduction Steps

npx cdk bootstrap --tags mytag=old_value
npx cdk bootstrap --tags mytag=new_value

### What did you expect to happen?

All tags are updated.

### What actually happened?

Nothing. Tags for the ssm parameter are unchanged.

### CDK CLI Version

1.131

### Framework Version

_No response_

### Node.js Version

14.x

### OS

Linux/MacOS

### Language

Python

### Language Version

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start at the CDK CLI bootstrap command and the code path that applies tags to the SSM parameter. Reproduce the two npx cdk bootstrap commands with different mytag values, then verify that re-bootstrapping updates the existing parameter's tags to the new value.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, node.js, typescript
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.