Skip to content

Commit

Permalink
chore(ci.jenkins.io, trusted.ci.jenkins.io, cert.ci.jenkins.io) updat…
Browse files Browse the repository at this point in the history
…e azure VM controller module to support distinct AzureRM provider for DNS (#585)

Ref. jenkins-infra/helpdesk#3913

Blocked by jenkins-infra/shared-tools#135

This PR expects module to be updated as it sets up providers for the 3
existing controllers

Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal authored Jan 18, 2024
1 parent b676ce3 commit 8a72432
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
6 changes: 6 additions & 0 deletions cert.ci.jenkins.io.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
module "cert_ci_jenkins_io" {
source = "./.shared-tools/terraform/modules/azure-jenkinsinfra-controller"

providers = {
azurerm = azurerm
azurerm.dns = azurerm
azuread = azuread
}

service_fqdn = data.azurerm_dns_zone.cert_ci_jenkins_io.name
location = data.azurerm_resource_group.cert_ci_jenkins_io.location
admin_username = local.admin_username
Expand Down
5 changes: 5 additions & 0 deletions ci.jenkins.io.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
module "ci_jenkins_io" {
source = "./.shared-tools/terraform/modules/azure-jenkinsinfra-controller"

providers = {
azurerm = azurerm
azurerm.dns = azurerm
azuread = azuread
}
service_fqdn = "ci.jenkins.io"
location = data.azurerm_virtual_network.public.location
admin_username = local.admin_username
Expand Down
6 changes: 6 additions & 0 deletions trusted.ci.jenkins.io.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ resource "azurerm_private_dns_zone_virtual_network_link" "trusted" {
module "trusted_ci_jenkins_io" {
source = "./.shared-tools/terraform/modules/azure-jenkinsinfra-controller"

providers = {
azurerm = azurerm
azurerm.dns = azurerm
azuread = azuread
}

service_fqdn = azurerm_private_dns_zone.trusted.name
location = data.azurerm_virtual_network.trusted_ci_jenkins_io.location
admin_username = local.admin_username
Expand Down

0 comments on commit 8a72432

Please sign in to comment.