HashiCorp
TERRAFORM-ASSOCIATE-004 · Question #56
Which of the following is not a valid Terraform collection type?
The correct answer is A. Tree. This is not a valid Terraform collection type, as Terraform only supports three collection types: list, map, and set. A tree is a data structure that consists of nodes with parent-child relationships, which is not supported by Terraform.
Submitted by satoshi_tk· Apr 18, 2026Understand Terraform Basics
Question
Which of the following is not a valid Terraform collection type?
Options
- ATree
- BMap
- CList
- Dset
How the community answered
(57 responses)- A89% (51)
- B7% (4)
- C2% (1)
- D2% (1)
Explanation
This is not a valid Terraform collection type, as Terraform only supports three collection types: list, map, and set. A tree is a data structure that consists of nodes with parent-child relationships, which is not supported by Terraform.
Topics
#collection types#data types#type system
Community Discussion
No community discussion yet for this question.