What is the command you can use to set an environment variable named "var1"of type String?

What is the command you can use to set an environment variable named "var1"of type String?
A . export TF_VAR_VAR1
B . set TF_VAR_var1
C . variable "var1" { type = "string"}
D . export TF_VAR_var1

Answer: D

Explanation:

The environment variable must be in the format TF_VAR_name, so for the Question: TF_

VAR_var1 is the correct choice.

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

Latest TA-002-P Dumps Valid Version with 324 Q&As

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments