Skip to content

A YAML way of undefining a value without removing the key #227

@nitrocode

Description

@nitrocode

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions