Interview Prep/Terraform/Rapid-Fire Commands

Show the attributes of one resource in state?

BeginnerProductionRapid-Fire Commands
Answer
terraform state show 'aws_instance.web["blue"]'

Quote addresses containing brackets, so the shell does not interpret them.

All Terraform questions

More on Rapid-Fire Commands