Force the replacement of a single resource?
BeginnerProductionRapid-Fire Commands
Answer
terraform apply -replace='aws_instance.web["blue"]'
It shows the replacement in the plan for approval. This supersedes terraform taint.
More on Rapid-Fire Commands
Format all files recursively and fail if anything needs formatting?BeginnerList every resource address under one module?BeginnerShow the attributes of one resource in state?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?Beginner