it will run when the resource has registered. What code are you trying to run exactly?
b
brash-house-42711
04/23/2021, 7:55 PM
That's a good idea. Thanks.
Need to add a couple tags on an ASG that gets created when a new node group for EKS is created. eks.NodeGroup() propagates tags from CF to ASG to instances and adding/changing/deleting a single tag results in NodeGroup update and recreation of launch configuration. I'm trying to avoid that. Just need to add a tag for cluster-autoscaler to tell it which ASGs to manage and which not to.
brash-house-42711
04/23/2021, 7:57 PM
I was thinking I can use transformation but templateBody property of aws.cloudformation.Stack class is readonly, so I can't add a tag this way