TERRAFORM-ASSOCIATE-003 · Question #195
What is the Terraform style convention for indenting a nesting level compared to the one above it?
The correct answer is A. With two spaces. Terraform's Indentation Standards: Terraform's style convention uses two spaces per nesting level for readability, helping to maintain uniform code across teams. Configuration Files: Consistent indentation is crucial for Terraform's HCL syntax, as it improves readability and…
Question
What is the Terraform style convention for indenting a nesting level compared to the one above it?
Options
- AWith two spaces.
- BWith four spaces.
- CWith three spaces.
- DWith a tab.
How the community answered
(27 responses)- A78% (21)
- B7% (2)
- C4% (1)
- D11% (3)
Explanation
Terraform's Indentation Standards: Terraform's style convention uses two spaces per nesting level for readability, helping to maintain uniform code across teams. Configuration Files: Consistent indentation is crucial for Terraform's HCL syntax, as it improves readability and avoids parsing issues.
Topics
Community Discussion
No community discussion yet for this question.