simple tfvars (HCL) converter
Project description
About
simple tfvars (HCL) converter
Usage
usage: json2tfvars [-h] [--reverse] [--indent N] [FILE [FILE ...]]
positional arguments:
FILE
optional arguments:
-h, --help show this help message and exit
--reverse expect tfvars (HCL) input
--indent N adjust identation levels
$ json2tfvars <<< '{"a":"b"}' | json2tfvars --reverse | jq -r '. + {"c":"d"}' | json2tfvars
a = "b"
c = "d"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
json2tfvars-0.0.1.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for json2tfvars-0.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 294108fc486d0481a7b28663de7f8dd035ea0ed5a59f7b9e0a898b9b10a1a0a7 |
|
MD5 | f7a8cf1c969291a89ad154e1090fc63f |
|
BLAKE2b-256 | 6b8ceb54a0f64fcc80855f6664ddbf1902489fca50a44e66498a51ca136909d4 |