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
7 months, 3 weeks agoAlbion
1 year, 3 months agocamps
1 year, 11 months agosagunala5
1 year, 11 months agomhinojosarubia
2 years, 1 month agoAbuu
2 years, 1 month agoInformationOverload
2 years, 1 month agogekkehenk
2 years, 2 months agosrcntpc
2 years, 2 months agossanjayt
2 years, 2 months agonakikoo
2 years, 2 months ago