nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · 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…

Read, generate, and modify configuration

Question

Which of the following arguments are required when declaring a Terraform output?

Options

  • Avalue
  • Bdescription
  • Cdefault
  • Dsensitive

How the community answered

(35 responses)
  • A
    77% (27)
  • B
    11% (4)
  • C
    6% (2)
  • D
    6% (2)

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

#output values#output arguments#value argument#configuration syntax

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice