Automation, Orchestration, and Scripting
A junior administrator clones a repository containing OpenTofu configuration files for a cloud platform and runs tofu init in the working directory. Which two actions does this command perform? (Choose two.)
Choose 2 answers
Show the answer
Correct answersB. Downloads the provider plugins the configuration requiresC. Initializes the configured backend that stores state
tofu init installs the required provider plugins and sets up the backend where state is kept. Previewing changes is the job of tofu plan, and creating resources is done by tofu apply, so neither happens at init.