Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 89

Which of the following is allowed as a Terraform variable name?

    Correct Answer: B

    B

    Reference:

    https://www.terraform.io/docs/language/values/variables.html

Discussion
EltoothOption: B

B is correct answer : name "The name of a variable can be any valid identifier except the following: source, version, providers, count, for_each, lifecycle, depends_on, locals." https://www.terraform.io/language/values/variables

Zam88Option: B

The name of a variable can be any valid identifier except the following: source , version , providers , count , for_each , lifecycle , depends_on , locals . These names are reserved for meta-arguments in module configuration blocks, and cannot be declared as variable names. B

kopper2019Option: B

name is OK

Ahmad_TerraformOption: B

name is right

Ni33Option: B

B is correct one.

Power123Option: B

B is correct. name