From cbde004c23f4e6ae93303aa49f7d4ef3d2532bff Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Wed, 22 May 2024 15:24:36 +0200 Subject: [PATCH] cleanup(updates.jenkins.io) removes the (unused) `digitalocean.updates.jenkins.io` CNAME record (#707) Related to https://github.com/jenkins-infra/helpdesk/issues/3954 This PR removes the `digitalocean.updates.jenkins.io` CNAME DNS record which has been used for [prototyping the new update center](https://github.com/jenkins-infra/helpdesk/issues/2649). As the Digital Ocean clusters have been removed and as we don't need this record, this PR deletes it --- updates.jenkins.io.tf | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/updates.jenkins.io.tf b/updates.jenkins.io.tf index c5852461..54f4ea05 100644 --- a/updates.jenkins.io.tf +++ b/updates.jenkins.io.tf @@ -93,21 +93,6 @@ resource "azurerm_dns_cname_record" "mirrors_updates_jenkins_io" { tags = local.default_tags } -# DigitalOcean service CNAME record pointing to the doks-public A record defined in https://github.com/jenkins-infra/azure-net/blob/main/dns-records.tf -data "azurerm_dns_a_record" "doks_public_public_ipv4_address" { - name = "doks-public-public-ipv4-address" - zone_name = data.azurerm_dns_zone.jenkinsio.name - resource_group_name = data.azurerm_resource_group.proddns_jenkinsio.name -} -resource "azurerm_dns_cname_record" "digitalocean_updates_jenkins_io" { - name = "digitalocean.updates" - zone_name = data.azurerm_dns_zone.jenkinsio.name - resource_group_name = data.azurerm_resource_group.proddns_jenkinsio.name - ttl = 60 - record = data.azurerm_dns_a_record.doks_public_public_ipv4_address.fqdn - tags = local.default_tags -} - ## NS records for each CloudFlare zone defined in https://github.com/jenkins-infra/cloudflare/blob/main/updates.jenkins.io.tf # West Europe resource "azurerm_dns_ns_record" "updates_jenkins_io_cloudflare_zone_westeurope" {