terraform console - helps with tracking down what is the value of your terraform variable

It is important to be able to tell what sorts of value we have in our variables which affects how we declare terraform variables, use of maps and list and most importantly help us to debug. 

To do what, we will use

terraform console

It supports the followings:- 

 -var 'foo=bar'    Set a variable in the Terraform configuration. This flag can be set multiple times.

  -var-file=foo     Set variables in the Terraform configuration from a file. If "terraform.tfvars" or any ".auto.tfvars" files are present, they will be automatically loaded.

Example usage :-



Comments

Popular posts from this blog

mongosh install properly

gemini cli getting file not defined error

vllm : Failed to infer device type