Open dzmitry-lahoda opened 1 year ago
I'm also seeing this on version 2.2.3:
resource "gandi_domain" "<REDACTED>" {
name = "<REDACTED>"
autorenew = "true"
owner {
email = "<REDACTED>"
family_name = "<REDACTED>"
given_name = "<REDACTED>"
type = "<REDACTED>"
phone = "<REDACTED>"
country = "<REDACTED>"
city = "<REDACTED>"
zip = "<REDACTED>"
street_addr = "<REDACTED>"
data_obfuscated = true
mail_obfuscated = true
}
}
terraform apply
│ Error: StatusCode: 404 ; Err: 404: The resource could not be found.
│
│ with gandi_domain.<REDACTED>,
│ on main.tf line 113, in resource "gandi_domain" "<REDACTED>":
│ 113: resource "gandi_domain" "<REDACTED>" {
i used cloud provider i host stuff to buy domain.
Same here.
I ran into this issue as well, but later noticed that the domain does exist in the console. The Creation Date in WHOIS is ~7 minutes after the apply failed. It seems that the provider needs to wait?
yeah, to have parametrized timeout with big defaults. i guess https://developer.hashicorp.com/terraform/plugin/sdkv2/resources/retries-and-customizable-timeouts may work to set it, as long as provider correctly implemeted to handle 404 as retry case
terraform-provider-gandi_v2.2.2