devops-rob / target-cli

A CLI tool to manage context profiles for HashiCorp tools
Apache License 2.0
32 stars 5 forks source link

Terraform #7

Closed devops-rob closed 1 year ago

devops-rob commented 1 year ago

This PR adds the functionality to set terraform variables as environment variables in a context profile. One context profile may have variable definitions for a particular environment, and another profile could have different values for its respective environment. It renders the results as export TF_VAR_variable_name=variable_value