Open zhan9san opened 9 months ago
I would write this way instead
Tags.of(this).add('Environment', `${Stack.of(this).stackName}-${env}-foo`);
Does it work for you?
I would write this way instead
Tags.of(this).add('Environment', `${Stack.of(this).stackName}-${env}-foo`);
Does it work for you?
hi @pahud
Thanks for your suggestion.
I wonder what it is the recommended way to use fn.sub with cfnparameter.
If the way i do it is not correct, it would be great if it can be noted in the official document.
Describe the bug
The CloudFormation template generated by
cdk synth
is invalid ifCfnParameter
is inFn.sub
.Similar to #14047 and #14068
Expected Behavior
The cdk code is valid after
cdk synth
runsCurrent Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
There is no issue if it is in the following format.
CDK CLI Version
2.113.0 (build ccd534a)
Framework Version
No response
Node.js Version
v20.0.0
OS
MacOS
Language
TypeScript
Language Version
No response
Other information
No response