-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Resource-level customizable timeouts not being respected #22810
Comments
Hi @ewbankkit, Can you show the configuration and steps you're using that results in not having a timeout value? |
@jbardin as @ewbankkit mentioned, we are working on PR #10114 in terraform-providers/terraform-provider-aws to solve issue #10044 in terraform-providers/terraform-provider-aws Note that this issue only occurs in AWS regions where new AWS lambda mechanism for When running the AWS provider acceptance tests in these region, the delete timeout of was security group has been moved up over 20mn and also here. However somehow these get reset to the default 20mn timeout HTH |
Thanks @obourdon, The The tests we have for this persist both the config values as well as the defaults, so I'm not sure where they are being lost in the AWS provider tests. Does this happen from the command line as well, or is it just in the acceptance tests? |
@jbardin We noticed this whilst running provider acceptance tests. |
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. |
Terraform Version
While working on hashicorp/terraform-provider-aws#10114 I upped the
Delete
timeout on theaws_security_group
resource to 30 minutes.However during testing I found that the timeout fires at the default value of 20 minutes.
Looking at the Terraform state files for the resource I see that with v0.11.10 the customized values are persisted but with v0.12.8 the
timeouts
attribute value isnull
:Terraform 0.11.10:
Terraform 0.12.8:
The text was updated successfully, but these errors were encountered: