What is the name assigned by Terraform to reference this resource?
What is the name assigned by Terraform to reference this resource?
The name assigned by Terraform to reference the resource is 'main'. In Terraform configuration, the name assigned to the resource is specified after the resource type. In this case, 'main' is the name assigned to the resource of type 'google_compute_instance' and can be used to reference this specific resource within the Terraform code.
B is correct answer : main See Topic 1 #Question49 for similar question.
Main is the name of the resources
invalid terraform config :-)
B is correct
Main . B is correct
answer is B. Main is the name of resource block.