issues Search Results · repo:minamijoyo/hcledit language:Go
Filter by
42 results
(65 ms)42 results
inminamijoyo/hcledit (press backspace or delete to remove)✅ WORKS W/ SIMPLE VARIABLE
echo simple = value file.tfvars
hcledit attribute get simple -f file.tfvars
value
✅ WORKS W/ VALUES OF COMPLEX VARIABLE
echo nested = { a = b } file.tfvars ...
m0un10
- 1
- Opened on Jan 28
- #105
When attempting to retrieve complex values using attribute get comments are stripped from the output. Would be nice if
there was an option to preserve comments on attribute get
locals {
map = {
...
wondersd
- 2
- Opened on Aug 19, 2024
- #102
This example file:
$ cat /tmp/attr.hcl
# This resource is pasted directly from the hcledit readme
resource foo bar {
attr1 = val1
nested {
attr2 = val2
}
}
# And I expect this module ...
jrobison-sb
- 3
- Opened on Feb 9, 2024
- #92
Version
hcledit version
0.2.10
Example
- repro.tf
resource foo bar {
attr = value
dynamic baz {
for_each = var.qux != ? [1] : []
content {
dyn_attr = value
}
...
beatcracker
- 3
- Opened on Jan 27, 2024
- #90
This was not fixed by #31.
Version
# hcledit version
0.2.10
Comment causes issues
body get parent shows all the rows
# hcledit body get -f /etc/nomad.d/client.hcl client
client {
meta {
consul ...
vxjohanforssell
- Opened on Oct 13, 2023
- #89
Looking to be able to enable support for auto-updating a user s ~/.terraformrc file, assuming it exists.
The official docs state:
As a convenience for provider development, Terraform supports a special ...
skyzyx
- 1
- Opened on Sep 8, 2023
- #85
$ hcledit version
0.2.9
$ cat ~/.terraformrc
provider_installation {
dev_overrides {
mycompany/provider = /Users/me/go/bin/
}
filesystem_mirror {
path = ./terraform.d/plugins ...
skyzyx
- 2
- Opened on Sep 8, 2023
- #84
Given:
#main.tf
locals {
a = foo
b = bar
c = { nums :[1,2]}
}
It would be nice to be able to do something like:
hcledit -f main.tf attribute list locals
to get:
locals.a
locals.b
locals.c.nums[0] ...
paololazzari
- Opened on Jun 22, 2023
- #82
Hi. Great piece of work, I really appreciate it.
But technically correct HCL is causing some minor issues, e.g.
list = [
item1 ,
item2 ,
]
Is outputted exactly like that with hcledit attribute ...
ChristophShyper
- 1
- Opened on Jun 9, 2023
- #80

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.