From 7b5b6d9152748a0b8760dafbc450bf773bee6bfc Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 4 Dec 2024 16:35:20 +0200 Subject: [PATCH] terraform/prod-eun: add canary TXT record This creates a TXT record at test.prod-eun.az.vedenemo.dev that should resolve once the NS delegation on vedenemo.dev has been completed. Signed-off-by: Florian Klink --- terraform/prod-eun/dns/main.tf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/terraform/prod-eun/dns/main.tf b/terraform/prod-eun/dns/main.tf index 4f7f2640..e36b19ff 100644 --- a/terraform/prod-eun/dns/main.tf +++ b/terraform/prod-eun/dns/main.tf @@ -10,6 +10,17 @@ resource "azurerm_dns_zone" "main" { resource_group_name = var.resource_group_name } +resource "azurerm_dns_txt_record" "test" { + name = "test" + zone_name = azurerm_dns_zone.main.name + resource_group_name = var.resource_group_name + ttl = 300 + + record { + value = "Success" + } +} + output "name_servers" { value = azurerm_dns_zone.main.name_servers