Skip to main content

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"

Release files for json2tfvars 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for json2tfvars 0.0.1
File Size Uploaded
json2tfvars-0.0.1.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for json2tfvars 0.0.1
File Interpreter ABI Platform
json2tfvars-0.0.1-py2-none-any.whl Python 2 none any Details

Total release size: 5.8 kB

Release files / json2tfvars-0.0.1.tar.gz

Download URL json2tfvars-0.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
47193f8d1bc1bdbc59a1ddff416e148289d3c45c4f35458229869118106cbbb9
BLAKE2b-256 checksum
How to use checksums
dd927dee7e2b6bad33eb4ceebca8a26298d72798c6ba6e0c5996fd25d67f9796
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15

Release files / json2tfvars-0.0.1-py2-none-any.whl

Download URL json2tfvars-0.0.1-py2-none-any.whl
Size 3.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
294108fc486d0481a7b28663de7f8dd035ea0ed5a59f7b9e0a898b9b10a1a0a7
BLAKE2b-256 checksum
How to use checksums
6b8ceb54a0f64fcc80855f6664ddbf1902489fca50a44e66498a51ca136909d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page