diff --git a/records_a.tf b/records_a.tf index e97783b..7ee0614 100644 --- a/records_a.tf +++ b/records_a.tf @@ -1,4 +1,4 @@ -resource "cloudflare_record" "a-root" { +resource "cloudflare_dns_record" "a-root" { zone_id = var.cloudflare_zone_id comment = "Domain verification record A" content = var.ip_server_a @@ -9,7 +9,7 @@ resource "cloudflare_record" "a-root" { type = "A" } -resource "cloudflare_record" "b-root" { +resource "cloudflare_dns_record" "b-root" { zone_id = var.cloudflare_zone_id comment = "Domain verification record B" content = var.ip_server_a