Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 271


You created infrastructure outside of the Terraform workflow that you now want to manage using Terraform. Which command brings the infrastructure into Terraform state?

Show Answer
Correct Answer: D

To manage infrastructure that was created outside of the Terraform workflow, you need to bring it into Terraform state. The correct command for importing existing infrastructure into Terraform's state is 'terraform import'. This command allows Terraform to manage resources that were created through other means or by previous automation tools.

Discussion

1 comment
Sign in to comment
DevoteamAnalytixOption: D
Jun 26, 2023

https://developer.hashicorp.com/terraform/cli/import