Skip to content

Go script to convert variable.tf into tfvars format

Notifications You must be signed in to change notification settings

zaap59/vartf2tfvar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vartf2tfvar

Overview GoDoc

Convert variable.tf to tfvars format.

Install

go get github.com/zaap59/vartf2tfvar/vartf2tfvar

Build

cd vartf2tfvar
go build -o vartf2tfvar .

Usage

./vartf2tfvar
Usage: ./vartf2tfvar [OPTIONS] argument ...
  -file string
        a string var (default "variables.tf")

Example

 ./vartf2tfvar -file ../variables-sample.tf 
alb_name = ""

alb_sg = ""

alb_target_health_check = ""

alb_target_port = ""

app_name = ""

app_private_dns = ""

owner = ""

user_sg_ids = ""

License

MIT.

About

Go script to convert variable.tf into tfvars format

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published