Question 8 of 10Pro Only
Explain advanced Terraform state operations: state mv, import, replace-provider, and taint. When is each used, and what precautions should be taken when performing state surgery?
Sample answer preview
Advanced Terraform state operations, sometimes called state surgery, allow engineers to manipulate the state file directly to handle scenarios that normal plan and apply workflows cannot address. These operations are powerful but carry significant risk if performed incorrectly.
state-mvterraform-importreplace-providertaintmoved-blockimport-block