-
Notifications
You must be signed in to change notification settings - Fork 138
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
Domain A record is added, not updated #292
Comments
Hi, I have the same Issue, it's work when I edit the record on UI and just save it without any change. I read the api documentation, and this resources looks missing the refresh action : |
Hi, Following my work to do a workaround with curl command, I realized that my token didn't have rights to refresh... So the problem is maybe in the response which doesn't say anything about that ? I did a new test with these rights, and now the DNS looks good. I'll continue to perform some test to confirm that it's ok |
Hi, Following many tests on 2 lasts weeks, all work fine. Just for your information, the following rights are needed to work as expected : GET : /domain/zone/example.com/record/* example.com must be replaced by your own domain |
@technicalflow : if terraform has not created the record but you need to update it then you need to import the record as stated in the documentation |
Closing the issue since the documentation have been updated in 0.26 |
Hello there,
Using ovh_domain_zone_record terraform is adding second A record instead of changing current one.
My configuration for Azure:
resource "ovh_domain_zone_record" "testip" {
zone = var.domain_name
subdomain = null
fieldtype = "A"
ttl = "0"
target = data.azurerm_public_ip.pipread.ip_address
depends_on = [
azurerm_public_ip.pip
]
}
The text was updated successfully, but these errors were encountered: