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.
More on Rapid-Fire Commands
Format all files recursively and fail if anything needs formatting?BeginnerList every resource address under one module?BeginnerPlan with a specific var file and write the plan?BeginnerValidate configuration and get machine-readable output?BeginnerApply a saved plan and inspect it as JSON first?BeginnerForce the replacement of a single resource?Beginner