Wednesday, 3 May 2017

Change cloudformation tags after creation

I created a Cloudformation stack and want to update (Add) its tags. I got my stacks template, and tried cloudformation.updateStack(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });

Where params contain my new tags, StackName and TemplateBody, but since the TemplateBody is the same, It doesn't change anything. I don't see a place to add tags in teh templatebody, so I am not sure how to add new tags.

How do I change tags without changing anything else in the tags? I can do this via cli but that would not be an asynchronous operation in node.



via Illusionist

No comments:

Post a Comment