Skip to content

Create new values #13

Description

@powellchristoph

It looks like the tool only lets you get/set existing values and not create new ones.

$ cat test.hcl
foo {
    bar = true
}

$ cat test.hcl | hclq set 'foo.baz' 'this is new'
foo {
  bar = true
}

I would really love to be able to do:

$ cat test.hcl | hclq set 'foo.baz' 'this is new'
foo {
  bar = true
  baz = 'this is new'
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions