Which command must you first run before performing further Terraform operations in a working directory?

Which command must you first run before performing further Terraform operations in a working directory?
A . terraform import
B . terraform workspace
C . terraform plan
D . terraform init

Answer: D

Explanation:

terraform init is the first command that should be run after writing a new Terraform configuration or cloning an existing one from version control. It initializes a working directory containing Terraform configuration files and downloads any required providers and modules. The other commands are used for different purposes, such as importing existing resources, switching between workspaces, generating execution plans, etc.

Latest TA-003-P Dumps Valid Version with 138 Q&As

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments