ExamGecko
Question list
Search
Search

Question 84 - Terraform Associate 003 discussion

Report
Export

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

A.
terraform import
Answers
A.
terraform import
B.
terraform workspace
Answers
B.
terraform workspace
C.
terraform plan
Answers
C.
terraform plan
D.
terraform init
Answers
D.
terraform init
Suggested 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.

asked 18/09/2024
Martin Ojeda Knapp
25 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first