A requirement has come up which requires you to inspect the state file of terraform configuration. Your terraform script is already configured to work with the remote backend. Which of the following commands would you use to view a specific field in the state file.
I think right answer would be “terraform show” but the answer given here is “terrfaorm state pull” .
Please give us more explanation.
Hello @talk2seeni,
The terraform state pull
command is used to manually download and output the state from a remote state
.