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
131 Views
 Chi
(@jamiesonchi)
Posts: 727
Noble Member
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
 
Posted : 11/11/2022 11:47 am

Latest TA-002-P V1 Dumps Valid Version

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