(xray): Invalid template synthesis for X-Ray resources when using Tags.of() #29388
Labels
@aws-cdk/aws-xray
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p1
Describe the bug
When using Tags() methods for aws_xray .CfnGroup class and aws_xray .CfnSamplingRule , the tag's Key and Value values are not passcal-cased.
However, in 2.130.0, when using Tags() method behavior for CfnGroup class and CfnSamplingRule, the tag's are not added.
I find that Tags() methods changed in release 2.131.0 https://github.com/aws/aws-cdk/pull/28989/files
Expected Behavior
cdk synth should run successfully
Current Behavior
cdk synth fails due to
Reproduction Steps
Possible Solution
Use latest type instead of legacy type for this
Tags
property.Additional Information/Context
No response
CDK CLI Version
2.131.0
Framework Version
No response
Node.js Version
18
OS
MacOs
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: