Environment variabl...
 
Notifications
Clear all

Environment variables can be used to set variables. The environment variables must be in the format "____"_<variablename>. Select the correct prefix string from the following list.

1 Posts
1 Users
0 Likes
328 Views
(@boehnkearden)
Noble Member
Joined: 2 years ago
Posts: 697
Topic starter  

Environment variables can be used to set variables. The environment variables must be in the format "____"_<variablename>. Select the correct prefix string from the following list.

  • A . TF_CLI_ARGS
  • B . TF_VAR
  • C . TF_VAR_
  • D . TF_VAR_ENV

Show Answer Hide Answer

Suggested Answer: C

Explanation:

Environment variables can be used to set variables. The environment variables must be in the format TF_VAR_name and this will be checked last for a value. For example: export TF_VAR_region=us-west-1

export TF_VAR_ami=ami-049d8641

export TF_VAR_alist='[1,2,3]'

export TF_VAR_amap='{ foo = "bar", baz = "qux" }'

https://www.terraform.io/docs/commands/environment-variables.html

   
Quote

Latest HashiCorp TA-002-P Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: