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

You renamed an AWS instance resource in your configuration from `aws_instance.web` to `aws_instance.frontend` without changing any of its arguments. When you run `terraform plan`, Terraform proposes to destroy `aws_instance.web` and create `aws_instance.frontend`. You want Terraform to keep the existing instance and simply track it under the new resource address. Which command accomplishes this?

Reviewed for accuracy · Report an issueNext question