Automation, Orchestration, and Scripting
A colleague changes the size of a managed server directly in the cloud console. The configuration and state file still show the original size. The administrator then runs tofu plan. What does OpenTofu do?
Show the answer
Correct answerA. It queries the provider API, detects drift and proposes a fix
Plan refreshes its view of real infrastructure through the provider API, notices the difference from the configuration, and proposes a change to restore the declared size. It does not blindly trust state, and it never edits configuration files.