Accepting Out-of-Band Changes
Someone changed a resource by hand, and the team decided to keep that change. What updates the state to match reality without changing infrastructure?
Choose one answer
tofu apply -replace=ADDRESS with -auto-approve
tofu apply -replace=ADDRESS
-auto-approve
tofu state rm ADDRESS
apply -refresh-only, then fix the code
apply -refresh-only
tofu plan -destroy