-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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_ec2_client_vpn_authorization_rule timeout after 1m0s #14156
Comments
Also, when modifying an existing authorization rule, the resource times out as well... which requires a manual deletion and reapply.
|
Yup, seems like the timeouts are set too aggressively https://github.com/terraform-providers/terraform-provider-aws/pull/13950/files#diff-b2b7576ebf9812ff7aa5592444112309R76 If you hit this on create you can just wait a couple minutes then run again and use the failure message to import, easily
terraform import 'aws_ec2_client_vpn_authorization_rule.rules["10.15.64.0/20"]' cvpn-endpoint-02c5d0a60a,10.15.64.0/20 |
That would be very helpful. Cannot use this resource in automation, it fails always, just by few seconds. |
The fix for this has been merged and will release with version 3.6.0 of the Terraform AWS Provider, later this week. Thanks to @connor-tyndall for the implementation. 👍 |
This has been released in version 3.6.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 for triage. Thanks! |
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! |
Community Note
Terraform Version
v0.12.24
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The Terraform resource should include a
timeouts
argument or wait until the authorization rule moves to an "Active" state.Actual Behavior
Error: error waiting for Client VPN authorization rule to be active: timeout while waiting for state to become 'active' (last state: 'authorizing', timeout: 1m0s)
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: