Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 9

What command does Terraform require the first time you run it within a configuration directory?

    Correct Answer: B

    The 'terraform init' command is used to initialize a working directory containing Terraform configuration files. This step is required before any other Terraform commands can be run in a new configuration directory, as it prepares the directory by installing required modules and providers.

Discussion
softartsOption: B

it is B

javibadilloOption: B

Agree with B

wsyhOption: B

Vote B

Power123Option: B

B is correct terraform init

chanelno1Option: B

init downloads things from git so it can be used when you run terraform apply.

EltoothOption: B

B is correct answer.

Ahmad_TerraformOption: B

B is correct , init starts the backend and prepare terraform

hrajkumaOption: B

B is the answer, terraform init

090200fOption: B

B. terraform init is correct answer it initializes all resource config need to current directory (path)

JayanthOption: B

B. terraform init

Busi57Option: B

init b