Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 42 Topic 5 Discussion

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 42 Topic 5 Discussion

Terraform-Associate-004 Exam Topic 5 Question 42 Discussion:
Question #: 42
Topic #: 5

You are creating a reusable Terraform configuration and want to include an optional billing_dept tag so your Finance team can track team-specific spending on resources. Which of the following billing_dept variable declarations will achieve this?


A.

variable " billing_dept " { type = default}


B.

variable " billing_dept " { default =}


C.

variable " billing_dept " { type = optional(string)}


D.

variable " billing_dept " { optional = true}


Get Premium Terraform-Associate-004 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.