What is the workflow for deploying new infrastructure with Terraform?

What is the workflow for deploying new infrastructure with Terraform?
A . terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure
B . Write a Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure.
C . terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure
D . Write a Terraform configuration, run terraform init, run terraform plan to view planned infrastructure
changes, and terraform apply to create new infrastructure.

Answer: C

Explanation:

Reference:

https://www.google.com/search?q=Write+a+Terraform+configuration%2C+run+terraform+init%2C+run+terraform+plan+to+view+planned+infrastructure+changes%2C+and+terraform+apply+to+create+new+infrastructure.&oq=Write+a+Terraform+configuration%2C+run+terraform+init%2C+run+terraform+plan+to+view+planned+infrastructure+changes%2C+and+terraform+apply+to+create+new+infrastructure.&aqs=chrome..69i57.556j0j7&sourceid=chrome&ie=UTF-8

Latest TA-002-P Dumps Valid Version with 324 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Alisa Azimova
Alisa Azimova
2 years ago

This answer is WRONG

Terraform Import is for already existing in CloudProvider resource

CORRECT ANSWER:

D . Write a Terraform configuration, run terraform init, run terraform plan to view planned infrastructure
changes, and terraform apply to create new infrastructure.