tfconfig

module
v0.0.0-...-f666d52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: Apache-2.0

README

tfconfig

tfconfig is a tool for creating Terraform variable definitions files. It reads Terraform configuration files (.tf, .hcl, .tfvars) from a directory, parses the files, and generates an interactive prompt for each variable.

$ tfconfig create path/to/dir
environment = "dev"
region      = "east"
tag         = "1.0.0"

? use existing config No
? environment dev
? region west
? Tag of the container image 1.0.1

environment = "dev"
region      = "west"
tag         = "1.0.1"

? write this file to path/to/dir/terraform.tfvars Yes

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL