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

Your team manually deleted an S3 bucket through the AWS Console because it was created outside of Terraform's intended scope, but the bucket resource block still exists in your Terraform state. Running `terraform plan` now shows an error because the resource no longer exists in AWS. You have already removed the corresponding resource block from your configuration. Which command should you run to stop Terraform from tracking this already-deleted resource without attempting to destroy anything?

Reviewed for accuracy · Report an issueNext question