diff --git a/.modules/webservice/dns.tf b/.modules/webservice/dns.tf index 2515168..77e9e63 100644 --- a/.modules/webservice/dns.tf +++ b/.modules/webservice/dns.tf @@ -5,8 +5,8 @@ data "cloudflare_zone" "dns_zone" { resource "cloudflare_record" "instance_dns" { zone_id = data.cloudflare_zone.dns_zone.id name = coalesce(var.subdomain, lower(var.service_name)) - value = lower(aws_alb.main.dns_name) + content = lower(aws_alb.main.dns_name) type = "CNAME" ttl = 1 proxied = var.cloudflare_proxy -} \ No newline at end of file +} diff --git a/.modules/webservice/versions.tf b/.modules/webservice/versions.tf index 6e48503..9fbb909 100644 --- a/.modules/webservice/versions.tf +++ b/.modules/webservice/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "~> 3.0" + version = "~> 4.0" } } -} \ No newline at end of file +} diff --git a/ios_pushserver/main.tf b/ios_pushserver/main.tf index 5aa1b47..8c803a6 100644 --- a/ios_pushserver/main.tf +++ b/ios_pushserver/main.tf @@ -15,7 +15,7 @@ terraform { cloudflare = { source = "cloudflare/cloudflare" - version = "~> 3.0" + version = "~> 4.0" } } } diff --git a/private_demo/main.tf b/private_demo/main.tf index be2bf6b..a8b6fac 100644 --- a/private_demo/main.tf +++ b/private_demo/main.tf @@ -15,7 +15,7 @@ terraform { cloudflare = { source = "cloudflare/cloudflare" - version = "~> 3.0" + version = "~> 4.0" } } } diff --git a/service_hub_bots/main.tf b/service_hub_bots/main.tf index 25b2cb7..a660c64 100644 --- a/service_hub_bots/main.tf +++ b/service_hub_bots/main.tf @@ -15,7 +15,7 @@ terraform { cloudflare = { source = "cloudflare/cloudflare" - version = "~> 3.0" + version = "~> 4.0" } } }