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: Adding in additional retry logic due to latency with delete of db_option_group #7312

Merged
merged 1 commit into from
Jul 12, 2016

Conversation

jrnt30
Copy link
Contributor

@jrnt30 jrnt30 commented Jun 24, 2016

Fixes #7311

@jen20
Copy link
Contributor

jen20 commented Jun 24, 2016

Hi @jrnt30! Thanks for opening a pull request - it looks good to me. However, are we sure that a 1 minute retry window is sufficient here?

@jen20
Copy link
Contributor

jen20 commented Jun 24, 2016

In light of the issue and the passing acceptance test I'll merge this now and we can increase the time out in future if necessary.

@jrnt30
Copy link
Contributor Author

jrnt30 commented Jun 24, 2016

That is a fair point. It seems in general the timeouts are somewhat conservative on a few other resources as well but it would probably be more robust to simply increase it.

I'll monitor it over the next few days

@radeksimko radeksimko changed the title - Adding in additional retry logic due to latency with AWS delete of db_option_group aws: Adding in additional retry logic due to latency with delete of db_option_group Jul 9, 2016
@catsby
Copy link
Contributor

catsby commented Jul 12, 2016

Hey Friends –

This looks good to me. I ran the tests as well:

TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSDBOptionGroup -timeout 120m
=== RUN   TestAccAWSDBOptionGroup_basic
--- PASS: TestAccAWSDBOptionGroup_basic (19.33s)
=== RUN   TestAccAWSDBOptionGroup_basicDestroyWithInstance
--- PASS: TestAccAWSDBOptionGroup_basicDestroyWithInstance (551.74s)
=== RUN   TestAccAWSDBOptionGroup_OptionSettings
--- PASS: TestAccAWSDBOptionGroup_OptionSettings (38.34s)
=== RUN   TestAccAWSDBOptionGroup_sqlServerOptionsUpdate
--- PASS: TestAccAWSDBOptionGroup_sqlServerOptionsUpdate (38.27s)
=== RUN   TestAccAWSDBOptionGroup_multipleOptions
--- PASS: TestAccAWSDBOptionGroup_multipleOptions (19.61s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws    667.299s
Test:

Fwiw I've not seen this error, and we do have an existing DB Instance test that uses a db option group and I've not seen it, so I'm fine with just a 1 minute retry.

Thanks!

@catsby catsby merged commit 71532ff into hashicorp:master Jul 12, 2016
@jrnt30 jrnt30 deleted the delete-option-group-wait branch July 18, 2016 13:58
iceycake pushed a commit to ticketmaster/terraform that referenced this pull request Jul 22, 2016
@ghost
Copy link

ghost commented Apr 24, 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 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.

@ghost ghost locked and limited conversation to collaborators Apr 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intermittent aws_db_instance & aws_db_option_group lifecycle issues
3 participants