ExamGecko
Question list
Search
Search

Question 190 - Terraform Associate 003 discussion

Report
Export

Which command(s) adds existing resources in a public cloud into Terraform state?

A.

terraform init

Answers
A.

terraform init

B.

terraform plan

Answers
B.

terraform plan

C.

terraform refresh

Answers
C.

terraform refresh

D.

terraform import

Answers
D.

terraform import

E.

All of these

Answers
E.

All of these

Suggested answer: D

Explanation:

Importing Existing Resources: The terraform import command brings resources already deployed in a cloud environment into Terraform's state file, allowing Terraform to manage them.

Workflow Usage: Importing is vital when managing resources created outside of Terraform or those in place before Terraform adoption.

Refer to Terraform's import command documentation.

asked 29/10/2024
Josue Medrano Caldera
21 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first