Replies: 3 comments 1 reply
-
Do I need to use something from CloudFormation intrinsic functions? The idea of adding the tags to autoscaling groups was found here. (Authored by @pahud) |
Beta Was this translation helpful? Give feedback.
-
Thank you for bringing up my previous sample. I appreciate that. Looks like you are trying to create individual NG for the 5 AZs( But I am wondering what makes you to create NG for each az? I assume a NG should be cross-az? As this issue is not a bug or feature request but general discussion, I am moving this to discussion but I would be happy to continue discuss your use case with you. Also add @robertd in the loop. |
Beta Was this translation helpful? Give feedback.
-
Seems like I'd found the issue. The problem was that |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I have a code like this:
The problem is that when I check the generated template in
cdk.out
of in AWS Console, I can see that all the Custom Resources got the same parameters (tags in my case), whileconsole.log()
which I'd put across the code prints the unique values.Expected Behavior
I would like to create unique custom resources in obj.forEach()
Current Behavior
When I have something inside obj.forEach() which needs to be created by CDK, it's not created properly.
Reproduction Steps
The code sample was provided in the block above
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.87.0 (build 9fca790)
Framework Version
2.87.0
Node.js Version
v18.16.0
OS
MacOS
Language
Typescript
Language Version
No response
Other information
No response
Beta Was this translation helpful? Give feedback.
All reactions