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
256 Views
(@hepnerjacques)
Posts: 705
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 : 15/02/2023 5:40 am

Latest TA-002-P V1 Dumps Valid Version

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