What is the workflow for deploying new infrastructure with Terraform?
What is the workflow for deploying new infrastructure with Terraform?
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.
terraform init choose (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.