Exam Terraform Associate All QuestionsBrowse all questions from this 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?

    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
DevoteamAnalytixOption: D

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