HashiCorp Certified: Terraform Associate — Question 95

Which of the fallowing commands would you use to access all of the attributes and details of a resource managed by Terraform?

Answer options

Correct answer: B

Explanation

The correct answer is B, as the 'terraform state show' command displays all the attributes and details of a specific resource in the Terraform state. The other options either list resources or are used for different purposes and do not provide the detailed information about resource attributes.