-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
environment can override stack values #34
Comments
Seems like this is already supported by bespin.collector converter (bespin/collector.py#L177) Suggest updating docs to include details/examples. |
are you able to try it and see if that works, afaict it'll actually ignore tags if you define it in the environment because https://github.com/delfick/bespin/blob/master/bespin/option_spec/bespin_specs.py#L180 doesn't know about tags. (that spec is installed on the configuration here https://github.com/delfick/bespin/blob/master/bespin/collector.py#L135) |
does not care
|
cool, I think I see why too. The converter is put onto the environments key, whereas the stack spec gets the particular environment that should be used, so nothing converts it..... |
This hole might be nice to fix to prevent pebkac. I did something like:
and got the expected
|
User story: Be able to define a set of tags and use them throughout the configuration.
It is a common use case for organisations to define a tagging standard and require that tags are applied to all resources.
Initial implementation from user is to use yaml aliases on mappings (eg:
common_tags: &tags
) however this is only valid within a single file.Propose extending
Environment
to includetags
and have that merged over the top ofStack.tags
.Raising this issue to solicit design feedback.
The text was updated successfully, but these errors were encountered: