Interview Prep/Terraform/Rapid-Fire Commands

Detect drift without changing anything and accept it into state?

IntermediateProductionRapid-Fire Commands
Answer
terraform plan -refresh-only
terraform apply -refresh-only

The first previews drift; the second writes the observed values into state after you confirm.

All Terraform questions

More on Rapid-Fire Commands