Skip to content

Commit

Permalink
cloudflare cname are now proxied
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Jul 4, 2024
1 parent f041f70 commit 8da9af1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions terraform/main.tf
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
resource "cloudflare_record" "cname_argocd" {
zone_id = var.cloudflare_zone_id
name = "argocd"
value = var.dns
name = "argocd"
type = "CNAME"
ttl = 3600
proxied = true
}

resource "cloudflare_record" "cname_trilium" {
zone_id = var.cloudflare_zone_id
name = "trilium"
value = var.dns
name = "trilium"
type = "CNAME"
ttl = 3600
proxied = true
}

resource "cloudflare_record" "cname_ollama" {
zone_id = var.cloudflare_zone_id
name = "ollama"
value = var.dns
name = "ollama"
type = "CNAME"
ttl = 3600
proxied = true
}

resource "cloudflare_record" "cname_ceph" {
zone_id = var.cloudflare_zone_id
name = "ceph"
value = var.dns
name = "ceph"
type = "CNAME"
ttl = 3600
proxied = true
}

0 comments on commit 8da9af1

Please sign in to comment.