🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)111 / 150
Question 111 of 150

A DevOps engineer manually created an EC2 instance directly in the AWS console. It is not tracked by Terraform, but a colleague accidentally added a matching resource block and ran 'terraform apply', which created a SECOND duplicate instance that Terraform now tracks in state. The team wants Terraform to manage the ORIGINAL console-created instance and delete the accidental duplicate. What is the correct sequence of actions?

Reviewed for accuracy · Report an issueNext question