When do you need to explicitly execute terraform refresh-only?
When do you need to explicitly execute terraform refresh-only?
The correct option is 'None of the above'. The 'terraform refresh-only' command doesn't need to be executed explicitly under typical conditions before any of the other commands listed (terraform plan, terraform apply, or terraform import). This command is used to reconcile the state file with the real-world infrastructure without making any changes to that infrastructure.
D. none of the above. The question isn't fully correct, the command is terraform apply -refresh-only. You'd only want to do this in place of terraform taint, when you'd want the state to be the same as the real world infrastructure
init mate? (London accent)