HashiCorp Certified: Terraform Associate — Question 81

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

Answer options

Correct answer: B

Explanation

The correct answer is B, 'name', as it is a valid identifier for a Terraform variable. Options A, C, and D are also valid keywords in Terraform but are not typically recommended for use as variable names to avoid confusion with their specific functions.