Skip to content

Commit

Permalink
Update webservice module
Browse files Browse the repository at this point in the history
  • Loading branch information
klejejs committed Sep 27, 2024
1 parent 4485ecf commit d5edb6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .modules/webservice/dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
4 changes: 2 additions & 2 deletions .modules/webservice/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 3.0"
version = "~> 4.0"
}
}
}
}

0 comments on commit d5edb6a

Please sign in to comment.