You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add a new A record to my Gandi LiveDNS with this provider.
resource "gandi_livedns_record" "agency" {
name = "agency"
ttl = 300
type = "A"
values = [aws_instance.agency.public_ip]
zone = "▮▮▮▮▮.net"
}
But during apply I get this error (run with TF_LOG=INFO):
gandi_livedns_record.agency: Creating...
2023-07-05T10:44:10.239-0500 [INFO] Starting apply for gandi_livedns_record.agency
2023-07-05T10:44:18.053-0500 [ERROR] vertex "gandi_livedns_record.agency" error: Fail to do the request (error 'Get "https://api.gandi.net/v5/livedns/domains/▮▮▮▮▮.net/records/agency/A": context deadline exceeded (Client.Timeout exceeded while awaiting headers)')
╷
│ Error: Fail to do the request (error 'Get "https://api.gandi.net/v5/livedns/domains/▮▮▮▮▮.net/records/agency/A": context deadline exceeded (Client.Timeout exceeded while awaiting headers)')
│
│ with gandi_livedns_record.agency,
│ on main.tf line 36, in resource "gandi_livedns_record" "agency":
│ 36: resource "gandi_livedns_record" "agency" {
│
I think the request will work if it is given more time. My internet connection is not the fastest. Is there a configuration knob to increase the timeout? Currently it fails for me after only 10/15 seconds.
We do have the same problem and it appears quite often on our plan execution, which is very problematic for us. I'm surprised to read from the API documentation1:
Rate limit
Gandi's API is rate limited; you can perform a maximum of 1000 requests per minute from the same IP address.
I'm trying to add a new
A
record to my Gandi LiveDNS with this provider.But during apply I get this error (run with TF_LOG=INFO):
I think the request will work if it is given more time. My internet connection is not the fastest. Is there a configuration knob to increase the timeout? Currently it fails for me after only 10/15 seconds.
Other details:
Any help you provide is appreciated. I know I'm not entitled to any free help.
The text was updated successfully, but these errors were encountered: