Which of the follow...
 
Notifications
Clear all

Which of the following state management command allow you to retrieve a list of resources that are part of the state file?

1 Posts
1 Users
0 Likes
229 Views
(@pacapacmorgan)
Noble Member
Joined: 2 years ago
Posts: 738
Topic starter  

Which of the following state management command allow you to retrieve a list of resources that are part of the state file?

  • A . terraform state list
  • B . terraform state view
  • C . terraform view
  • D . terraform list

Show Answer Hide Answer

Suggested Answer: A

Explanation:

The terraform state list command is used to list resources within a Terraform state. Usage: terraform state list [options] [address...]

The command will list all resources in the state file matching the given addresses (if any). If no addresses are given, all resources are listed. https://www.terraform.io/docs/commands/state/list.html

   
Quote

Latest HashiCorp TA-002-P Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: