nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #191

What is the provider for the resource shown in the Exhibit? resource "aws_vpc" "main" { name = "test" }

The correct answer is D. aws. The provider for the aws_vpc resource is aws, as the resource type begins with aws_, which denotes that it is managed by the AWS provider.

Understand Terraform Basics

Question

What is the provider for the resource shown in the Exhibit? resource "aws_vpc" "main" { name = "test" }

Options

  • AVPC
  • Btest
  • Cmain
  • Daws

How the community answered

(63 responses)
  • A
    3% (2)
  • B
    16% (10)
  • C
    10% (6)
  • D
    71% (45)

Explanation

The provider for the aws_vpc resource is aws, as the resource type begins with aws_, which denotes that it is managed by the AWS provider.

Topics

#resource naming#provider identification#resource syntax#HCL

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice