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

What is the workflow for deploying new infrastructure with Terraform?

    Correct Answer: A

    The correct workflow for deploying new infrastructure with Terraform involves writing the Terraform configuration, running terraform init to initialize the working directory or workspace, and then running terraform apply to create the infrastructure. This sequence ensures that the environment is set up correctly and that the infrastructure changes are applied as specified.

Discussion
Coursesh1Option: A

terraform init choose (A)

Ramdi1Option: A

After writing the config you need to run terraform init so it can download plugins etc. Terraform plan is optional. Hence A is the only correct answer.