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

In Terraform HCL, an object type of object({ name=string, age=number }) would match this value:

    Correct Answer: B

    In Terraform HCL, for an object type of object({ name=string, age=number }), the 'name' attribute must be a string, and the 'age' attribute must be a number. Option B correctly matches this format with 'name' containing a string value in quotes and 'age' containing a numeric value not in quotes.

Discussion
March2023Option: B

B is correct

LemonadeSoftwareOption: B

B The name (string) must be written in quotes. The age (number) should not be in quotes and must be written with numeric characters

nileeka97Option: B

B for sure