Terraforminstalls providers during the terraform init phase.
Providers aredownloaded and installedwhen running terraform init.
A (terraform plan)is incorrect because terraform plan only calculates changes but does not install providers.
C (terraform refresh)is incorrect because terraform refresh only updates the state but does not install providers.
Official Terraform Documentation Reference:
Provider Installation - HashiCorp Documentation
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit