nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #122

Outside of the required_providers block, Terraform configurations always refer to providers by their local names.

The correct answer is B. False. Outside of the required_providers block, Terraform configurations can refer to providers by either their local names or their source addresses. The local name is a short name that can be used throughout the configuration, while the source address is a global identifier for the…

Understand Terraform Basics

Question

Outside of the required_providers block, Terraform configurations always refer to providers by their local names.

Options

  • ATrue
  • BFalse

How the community answered

(28 responses)
  • A
    25% (7)
  • B
    75% (21)

Explanation

Outside of the required_providers block, Terraform configurations can refer to providers by either their local names or their source addresses. The local name is a short name that can be used throughout the configuration, while the source address is a global identifier for the provider in the format registry.terraform.io/namespace/type. For example, you can use either aws or registry.terraform.io/hashicorp/aws to refer to the AWS provider.

Topics

#provider local names#required_providers#provider configuration

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice