atmos
atmos copied to clipboard
A YAML way of undefining a value without removing the key
Have a question? Please checkout our Slack Community or visit our Slack Archive.
Describe the Feature
There isn't a way to null a value in YAML other than to remove the key by deleting the key or commenting it out.
I'd like to use some kind of null
value like <NULL>
in atmos YAML without having to remove the key
e.g.
components:
terraform:
ecr:
vars:
some_input: <NULL>
Expected Behavior
The some_input: <NULL>
should omit some_input
when the tfvars is generated
Use Case
See above
Describe Ideal Solution
See above
Alternatives Considered
Removing the key or commenting it out
Additional Context
N/A
some_input: null
not working?
I think we used it all the time, and null
will be set as TF variable values.
I think @nitrocode means a way to not pass a variable, versus passing the variable as null.