Command-line editor for HCL files with structured editing capabilities
Command-line editor for HCL
hcledit$ hcledit attribute set 'resource.aws_instance.example.ami' 'ami-12345678' main.tf$ hcledit attribute get 'variable.region.default' terraform.tfvars$ hcledit format -json input.hcl