HashiCorp Certified: Terraform Associate — Question 213

You add a new provider to your configuration and immediately run terraform apply in the CLI using the local backend. Why does the apply fail?

Answer options

Correct answer: D

Explanation

The correct answer is D because Terraform needs to download and install the necessary provider plugins before it can execute any operations. Options A, B, and C do not apply as Terraform can execute apply without prior formatting, planning, or logging into Terraform Cloud.