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

aws_internet_gateway doesn't support timeouts block #16500

Closed
ghost opened this issue Dec 1, 2020 · 2 comments · Fixed by #26121
Closed

aws_internet_gateway doesn't support timeouts block #16500

ghost opened this issue Dec 1, 2020 · 2 comments · Fixed by #26121
Labels
bug Addresses a defect in current functionality. service/ec2 Issues and PRs that pertain to the ec2 service.
Milestone

Comments

@ghost
Copy link

ghost commented Dec 1, 2020

This issue was originally opened by @Zogoo as hashicorp/terraform#27060. It was migrated here as a result of the provider split. The original body of the issue is below.


Terraform Version

terraform 12.0.6

Error Output

15 minutes are not enough to get destroyed. When I try destroy 2nd time it was get destroyed.

Error: Error waiting for internet gateway (igw-03*********3) to detach: timeout while waiting for state to become 'detached' (last state: 'detaching', timeout: 15m0s)
Error: timeout while waiting for state to become 'INACTIVE' (last state: 'DRAINING', timeout: 10m0s)

Expected Behavior

timeouts block should support and able to extend destroy wait time.

terraform destroy

Actual Behavior

terraform plan
Error: Unsupported block type
  on ../modules/vpc/main.tf line 23, in resource "aws_internet_gateway" "ecs_ig":
  23:   timeouts {
Blocks of type "timeouts" are not expected here.

Steps to Reproduce

  1. Create VPC with internet gateway
  2. Destroy them
@ghost ghost added the bug Addresses a defect in current functionality. label Dec 1, 2020
@ghost ghost added the service/ec2 Issues and PRs that pertain to the ec2 service. label Dec 1, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Dec 1, 2020
@anGie44 anGie44 removed the needs-triage Waiting for first response or review from a maintainer. label Dec 1, 2020
@github-actions github-actions bot added this to the v4.25.0 milestone Aug 4, 2022
@github-actions
Copy link

github-actions bot commented Aug 4, 2022

This functionality has been released in v4.25.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

github-actions bot commented Sep 4, 2022

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 4, 2022
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. service/ec2 Issues and PRs that pertain to the ec2 service.
Projects
None yet
1 participant