Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 312

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?

    Correct Answer: D

    When you add a new provider to your Terraform configuration and immediately run terraform apply, it fails because Terraform first needs to install the necessary plugins. Terraform uses providers to interact with various infrastructure platforms, and these need to be installed before any apply operation can proceed. Without the required provider plugins, Terraform cannot understand how to execute the configuration you have specified.

Discussion
J_boyOption: D

Answer is D