terraform state list : is used to list all resources that are currently being tracked in the Terraform state. It provides a list of resource addresses, which can be helpful to identify the names or identifiers of resources managed by Terraform.
terraform state show : command is used to show details and attributes of a resource managed by Terraform. It provides a human-readable representation of the current state of a specific resource, including all its attributes and configuration.
Correct answer : B
The terraform state show command is used to show the attributes of a single resource in the Terraform state.
https://developer.hashicorp.com/terraform/cli/commands/state/show
The terraform state list command shows the resource addresses for every resource Terraform knows about in a configuration, optionally filtered by partial resource address. The terraform state show command displays detailed state data about one resource.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
090200f
3 months, 3 weeks agoAlbion
11 months, 3 weeks agocamps
1 year, 7 months agosagunala5
1 year, 8 months agomhinojosarubia
1 year, 9 months agoAbuu
1 year, 10 months agoInformationOverload
1 year, 10 months agogekkehenk
1 year, 10 months agosrcntpc
1 year, 10 months agossanjayt
1 year, 10 months agonakikoo
1 year, 10 months ago