hcledit | hcl2json | |
---|---|---|
5 | 3 | |
413 | 333 | |
- | - | |
5.7 | 6.8 | |
19 days ago | about 1 month ago | |
Go | Go | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hcledit
Posts with mentions or reviews of hcledit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-01.
-
Automating the injection of CI/CD runtime information into Terraform code
To automate the process of injecting CI/CD runtime information into our Terraform code, we'll introduce the tool hcledit. With hcledit and some other manipulation, we can insert data into the Terraform code using regex/grep to find the correct place to add it.
-
Terraform Version Manangement
I would suggest a CI step that reads the .terraform-version file and then uses hcledit to update that block in the code.
-
Is it possible to rewrite HCL be serialising to JSON & back?
If you want to actually transform the HCL, use hcledit: https://github.com/minamijoyo/hcledit
-
Automatically "edit" terraform configuration files
The hclwrite library is pretty low-level and not convenient to use for quick scripting, but hcledit is a higher-level wrapper around it which works nicely for relatively straightforward situations.
hcl2json
Posts with mentions or reviews of hcl2json.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-16.
-
Encrypting your secrets with Mozilla SOPS using two AWS KMS Keys
If you have a big HCL file that you want to convert to JSON, hcl2json may be the perfect tool to help you on that task.
-
Terraform Version Manangement
If you do go down this rabbit hole, I would also consider using hcl2json and parsing that output with jq to discover where the relevant configuration edits need to occur.
-
Is it possible to rewrite HCL be serialising to JSON & back?
Use hcl2json.
What are some alternatives?
When comparing hcledit and hcl2json you can also consider the following projects:
cobra - A Commander for modern Go CLI interactions
fzf - :cherry_blossom: A command-line fuzzy finder
jid - json incremental digger
bubbletea - A powerful little TUI framework 🏗
tfenv - Terraform version manager