Terraform developer tool to extract variables and create variables.tf files.
Project description
scratchrelaxtv
Terraform developer tool to extract variables and create variables.tf
files.
simply
pip install scratchrelaxtv
In a directory with a main.tf
file, run scratchrelaxtv:
$ ls
main.tf
$ scratchrelaxtv
$ ls
main.tf variables.tf
details
By default, it looks for main.tf
and will sort variables in the resulting variables.tf
in the order found in the main.tf
. If variables are included more than once, they will only be listed once in the resulting variables.tf
. If you do not --force
overwriting, scratchrelaxtv will create new variables.tf
files with each run: variables.1.tf
, variables.2.tf
and so on.
scratchrelaxtv includes help:
$ scratchrelaxtv --help
usage: scratchrelaxtv [-h] [-i INPUT] [-o OUTPUT] [-f] [-a | -d]
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
file to extract vars from
-o OUTPUT, --output OUTPUT
file to write extracted vars to
-f, --force overwrite existing out file
-a, --asc sort output variables in ascending order
-d, --desc sort output variables in descending order
CHANGE LOG
0.1.0 - 2019.04.12
- Initial release!
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
scratchrelaxtv-0.1.2.tar.gz
(21.2 kB
view hashes)
Built Distribution
Close
Hashes for scratchrelaxtv-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ba2d61df1f521d208641980355061f2ca83f6a7aa9eb604d2582c5ade48d902 |
|
MD5 | f33bfcf797605281963cdfd095aedebd |
|
BLAKE2b-256 | 73025549105ccc30725ffc6fb916fa9043888db278561a35ae48ee462f99606e |