Skip to content

(cdk-core): CDK diff does not work with umlauts #25309

@Xarno

Description

@Xarno

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedWork is blocked on this issue for this codebase. Other labels or comments may indicate why.bugThis issue is a bug.effort/smallSmall work item – less than a day of effortneeds-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.p2package/toolsRelated to AWS CDK Tools or CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions