Exam4Training

What is the workflow for deploying new infrastructure with Terraform?

What is the workflow for deploying new infrastructure with Terraform?
A . Write Terraform configuration, run terraform init to initialize the working directory or workspace, and run terraform apply
B . Write Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure
C . Write Terraform configuration, run terraform apply to create infrastructure, use terraform validate to confirm Terraform deployed resources correctly
D . Write Terraform configuration, run terraform plan to initialize the working directory or workspace, and terraform apply to create the infrastructure

Answer: A

Explanation:

This is the workflow for deploying new infrastructure with Terraform, as it will create a plan and apply it to the target environment. The other options are either incorrect or incomplete.

Exit mobile version