TERRAFORM-ASSOCIATE-003 · Question #51
Which of the following command would be use to access all of the attributes and details of a resource managed by Terraform?
The correct answer is A. Terraform state show ` provider_type_name. This is the command that you would use to access all of the attributes and details of a resource managed by Terraform, by providing the resource address as an argument. For example, terraform state show 'aws_instance.example' will show you all the information about the AWS…
Question
Which of the following command would be use to access all of the attributes and details of a resource managed by Terraform?
Options
- ATerraform state show ` provider_type_name
- BTerraform state list
- CTerraform get provider_type_name
- DTerraform state list provider_type_name
How the community answered
(43 responses)- A79% (34)
- B2% (1)
- C12% (5)
- D7% (3)
Explanation
This is the command that you would use to access all of the attributes and details of a resource managed by Terraform, by providing the resource address as an argument. For example, terraform state show 'aws_instance.example' will show you all the information about the AWS instance named example.
Topics
Community Discussion
No community discussion yet for this question.