You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
I'm submitting a ...
🪲 bug report
🚀 feature request
📚 construct library gap
☎️ security issue or vulnerability => Please see policy
❓ support request => Please see note at the top of this template.
What is the current behavior? If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
Create a stack setting some tags
Create another stack setting some different tags
cdk deploy MyStack
Then I notice that the tags on the second stack are the same as the tags on the first stack. Thus, the values of the tags on the second stack are being ignored.
I have noticed that if I instantiate the first stack with an empty tag set then the second stack does get it's tags as you would expect.
What is the expected behavior (or behavior of feature suggested)?
When I instantiate either a stack object or a child of a stack object the tags supplied to work for that stack instance and only for that stack instance.
What is the motivation / use case for changing the behavior or adding this feature?
Would like to be able to apply different sets of tags to different objects.
Please tell us about your environment:
CDK CLI Version: 1.2.0
Module Version: 1.1.0
OS: OSX Mojave
Language: I've only used Python
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
The text was updated successfully, but these errors were encountered:
Fixes a bug where stacks being declared with different tags end up with
identical tags when deployed to CloudFormation, due to the first tagged stack's
tags overriding the value of `options.tags`.
This change makes it so that the `options.tags` value is not overridden, and the
actual tag list to be used is determined in the same way for each stack that
will be deployed.
Fixes#3471
Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
Then I notice that the tags on the second stack are the same as the tags on the first stack. Thus, the values of the tags on the second stack are being ignored.
I have noticed that if I instantiate the first stack with an empty tag set then the second stack does get it's tags as you would expect.
What is the expected behavior (or behavior of feature suggested)?
When I instantiate either a stack object or a child of a stack object the tags supplied to work for that stack instance and only for that stack instance.
What is the motivation / use case for changing the behavior or adding this feature?
Would like to be able to apply different sets of tags to different objects.
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
The text was updated successfully, but these errors were encountered: