terraform-provider-digitalocean: Multiple digitalocean_record: 500 Server was unable to give you a response.
Terraform Version
Terraform v0.11.11
+ provider.digitalocean v1.1.0
+ provider.google v2.3.0
Affected Resource(s)
- digitalocean_record
Terraform Configuration Files
// blindcut-vpn.com
resource "digitalocean_domain" "default" {
name = "example.com"
}
// Monitoring
resource "digitalocean_record" "test" {
domain = "${digitalocean_domain.default.name}"
type = "A"
name = "test"
value = "10.10.10.10"
}
Expected Behavior
Plan: x to add, x to change, x to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
Actual Behavior
Error: Error refreshing state: 1 error(s) occurred:
* digitalocean_record.test: 1 error(s) occurred:
* digitalocean_record.test: digitalocean_record.test: GET https://api.digitalocean.com/v2/domains/blindcut-vpn.com/records/xxxxxxxx: 500 Server was unable to give you a response.
Sometimes it’s just one record, sometimes there are 2 or 3 records that throw the error 500. Each run is usually a different record and a different amount.
Steps to Reproduce
- Create about 25 records and 1 domain
terraform apply
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (8 by maintainers)
@MarianoRD @glynnforrest thanks for reporting and apologies for the inconvenience this may have caused. Looks like the team is aware of an issue here on our end (not related to Terrafrom at the moment). Will update when I have more info.
Everything seems to be working fine here, and has been working fine the last couple of weeks. Thanks for everything @eddiezane
Hey guys, I’ve just hit this issue today having to do a
terraform planabout 3 or 4 times before it finally stopped throwing errors for Digital Ocean resources. The only difference is I’m not getting a500status code but a503 Service is currently unavailable. The versions I am using are;The errors that I was getting are;
…and now it’s happening again. Repeated 500 errors every
terraform applythat we attempt. Another ☁️ 🔥 ?This is not fixed as of today. I’ve got a config using 22
digitalocean_recordresources and it has basically become unusable.terraform applybombs out 9 times out of 10.My relevant versions are: