diff --git a/terraform/dns.tf b/terraform/dns.tf index a4ed6c6..c3f901f 100644 --- a/terraform/dns.tf +++ b/terraform/dns.tf @@ -83,8 +83,16 @@ resource "cloudflare_record" "cache" { name = "cache" proxied = true ttl = 1 - type = "A" - value = "20.124.115.39" + type = "CNAME" + value = "tarkov-cache.azurewebsites.net" + zone_id = var.CLOUDFLARE_ZONE_ID +} + +resource "cloudflare_record" "cache_azure_function_verification" { + name = "asuid.cache" + ttl = 1 + type = "TXT" + value = "966A35FCB4A0FE1176E2320038F9EA960F6E2FE36A69ABDFC79A272FE4E2228F" zone_id = var.CLOUDFLARE_ZONE_ID }