-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(cdk-core): CDK diff does not work with umlauts #25309
Copy link
Copy link
Closed
Labels
blockedWork is blocked on this issue for this codebase. Other labels or comments may indicate why.Work is blocked on this issue for this codebase. Other labels or comments may indicate why.bugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortneeds-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.This issue is waiting on changes to CloudFormation before it can be addressed.p2package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Metadata
Metadata
Assignees
Labels
blockedWork is blocked on this issue for this codebase. Other labels or comments may indicate why.Work is blocked on this issue for this codebase. Other labels or comments may indicate why.bugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortneeds-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.This issue is waiting on changes to CloudFormation before it can be addressed.p2package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Describe the bug
When doing a CDK diff it always detect a change in the tags because the „ü“ in this case results in a „?“.
Although the Tags on the resource are correct including the umlaut as specified.
Expected Behavior
Diff command should be capable to handle all allowed chars for tags.
Current Behavior
[
] AWS::IAM::Role VirtualGuideiaaInstance/Cert/Certificate/CertificateRequestorFunction/ServiceRole VirtualGuideiaaInstanceCertCertificateCertificateRequestorFunctionServiceRole3B312417] Tags└─ [
└─ @@ -5,7 +5,7 @@
[ ] },
[ ] {
[ ] "Key": "customer",
[-] "Value": "Messe M?nchen"
[+] "Value": "Messe München"
[ ] },
[ ] {
[ ] "Key": "environment",
Reproduction Steps
const app = new App();
// ...
Tags.of(app).add("Ära", "München")
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.76.0 (build 78c411b)
Framework Version
2.76.0
Node.js Version
v16.17.0
OS
Mac OS 13.3
Language
Typescript
Language Version
3.9.10
Other information
No response