-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
I'm trying to programmatically modify tfvars files, but it appears attribute append
doesn't work for them.
E.g. given this file:
owner = [
"tom",
"dave"
]
I was hoping I could append a new item with:
hcledit -f terraform.tfvars attribute append owner '"me"'
but this just replaces the whole list to give owner = "me"
It'd be great if this program supported append/rm/set operations just on terraform vars in tfvars files.
Get does seem to work already - I haven't tried the others yet since I need append.
filipefigueredo, entscheidungsproblem, Andrew-Prendergast, hazmei, dimshush and 1 more
Metadata
Metadata
Assignees
Labels
No labels