What is the command...
 
Notifications
Clear all

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

1 Posts
1 Users
0 Likes
125 Views
(@cornadante)
Posts: 716
Noble Member
Topic starter
 

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

Show Answer Hide Answer

Suggested Answer: D

Explanation:

The environment variable must be in the format TF_VAR_name, so for the QUESTION NO:

TF_VAR_var1 is the correct choice.

https://www.terraform.io/docs/commands/environment-variables.html#tf_var_name
 
Posted : 10/01/2023 3:47 pm

Latest TA-002-P V1 Dumps Valid Version

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