Your organization has moved to AWS and has manually deployed infrastructure using the console. Recently, a decision has been made to standardize on Terraform for all deployments moving forward.
What can you do to ensure that all existing is managed by Terraform moving forward without interruption to existing services?
A . resources that are manually deployed in the AWS console cannot be imported by Terraform
B . using terraform import, import the existing infrastructure into your Terraform state
C . delete the existing resources and recreate them using new a Terraform configuration so Terraform can manage them moving forward
D . submit a ticket to AWS and ask them to export the state of all existing resources and use terraform import to import them into the state file
Answer: B
Explanation:
Terraform is able to import existing infrastructure. This allows you to take resources you’ve created by some other means and bring it under Terraform management.
This is a great way to slowly transition infrastructure to Terraform or to be sure you’re
confident that you can use Terraform in the future if it currently doesn’t support every AWS
service or feature you need today.