Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error waiting for internet gateway to detach #181

Closed
hashibot opened this issue Jun 13, 2017 · 1 comment · Fixed by #1021
Closed

Error waiting for internet gateway to detach #181

hashibot opened this issue Jun 13, 2017 · 1 comment · Fixed by #1021
Labels
bug Addresses a defect in current functionality.

Comments

@hashibot
Copy link

This issue was originally opened by @toddrosner as hashicorp/terraform#6994. It was migrated here as part of the provider split. The original body of the issue is below.


Terraform Version

Terraform v0.6.16

Affected Resource(s)

aws_internet_gateway

Terraform Configuration Files

resource "aws_internet_gateway" "default" {
  vpc_id = "${aws_vpc.default.id}"
  tags {
    Name = "gateway"
  }
}

Debug Output

Panic Output

Expected Behavior

The Internet gateway resource should have been destroyed

Actual Behavior

Received the following error:
aws_internet_gateway.default: Error waiting for internet gateway (igw-96aeb9f3) to detach: couldn't find resource

Steps to Reproduce

  1. terraform destroy

Important Factoids

Using modules (non-nested). When I run the destroy command a second time, the gateway resource is destroyed.

References

There are too many to list. It seems this is an ongoing issue that affects many users. Please advise and fix asap so we don't have to run the destroy command twice to clean up resources.

@hashibot hashibot added the bug Addresses a defect in current functionality. label Jun 13, 2017
@ghost
Copy link

ghost commented Apr 11, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant