-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update to new null-label
. Add stack
sub-module to calculate stack names
#35
Conversation
/test all |
/test all |
* Custom context.tf for stack * Make custom context.tf module name "always" * Add context-always to remote-state, remove workspace from config * Auto Format Co-authored-by: cloudpossebot <[email protected]>
/test all |
/test all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
One thing I will say is I think context-always
should be exported from null_label
and automated via the auto-context
workflow, but perhaps renamed to context-stack-config
so that it isn't accidentally used anywhere else. Either way, that's not really relevant to this PR and can be done later if anyone shares my opinion.
what
null-label
stack
sub-module to calculate stack nameswhy
Use new features from
null-label
module:id
component:tenant
labels_as_tags
controls which labels are exported as tagsdescriptor_formats
generates new outputdescriptors
- use it to calculate the stack namesstack
submodule is used to calculate stack names in one place and use the same logic in all other sub-modulesreferences