Skip to content

Commit

Permalink
Fix cloudflare deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Taucher2003 committed Sep 7, 2024
1 parent 01d1cdd commit 588ea21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/administration/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resource "cloudflare_record" "server_ip" {
name = "server_administration"
type = "A"
zone_id = data.cloudflare_zone.main_domain.id
value = var.server_administration_ip
content = var.server_administration_ip
proxied = true

comment = "Managed by Terraform"
Expand All @@ -49,7 +49,7 @@ resource "cloudflare_record" "server_cname" {
name = each.value
type = "CNAME"
zone_id = data.cloudflare_zone.main_domain.id
value = cloudflare_record.server_ip.hostname
content = cloudflare_record.server_ip.hostname
proxied = true

comment = "Managed by Terraform"
Expand Down

0 comments on commit 588ea21

Please sign in to comment.