QuestionQ71

Terraform configuration

The following resource block is displayed in the Exhibit area of this page.

resource “aws_vpc” “main” \{  
  name = “test”  
\}  

What provider is used for this resource?

  • A main
  • B vpc
  • C aws
  • D test
Explanation

Terraform resource types use the provider’s local name as the prefix before the underscore. Therefore, aws_vpc uses the aws provider; vpc identifies the resource type and main is the resource’s local name.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!