TERRAFORM-ASSOCIATE-004 · Question #161
Which of the following arguments are required when declaring a Terraform output?
The correct answer is A. value. When declaring a Terraform output, the value argument is required. Outputs are a way to extract information from Terraform-managed infrastructure, and the value argument specifies what data will be outputted. While other arguments like description and sensitive can provide additi
Question
Options
- Avalue
- Bdescription
- Cdefault
- Dsensitive
How the community answered
(21 responses)- A90% (19)
- B5% (1)
- C5% (1)
Explanation
When declaring a Terraform output, the value argument is required. Outputs are a way to extract information from Terraform-managed infrastructure, and the value argument specifies what data will be outputted. While other arguments like description and sensitive can provide additional context or security around the output, value is the only mandatory argument needed to define an
Topics
Community Discussion
No community discussion yet for this question.