Skip to content

Commit

Permalink
hotfix(infraci.jenkins.io-kubernetes-sponsored-agents) use new subnet…
Browse files Browse the repository at this point in the history
… (shorter) name (#720)

This PR aims to fix the error mentioned in
#715 (comment)

It updates the subnet name used for this cluster as a follow up of
jenkins-infra/azure-net#252

Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal authored Jun 10, 2024
1 parent 1c219f7 commit 7714876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .shared-tools
2 changes: 1 addition & 1 deletion infraci.jenkins.io-kubernetes-sponsored-agents.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "azurerm_resource_group" "infracijio_kubernetes_agents_sponsorship" {

data "azurerm_subnet" "infraci_jenkins_io_kubernetes_agent_sponsorship" {
provider = azurerm.jenkins-sponsorship
name = "${data.azurerm_virtual_network.infra_ci_jenkins_io_sponsorship.name}-infraci_jenkins_io_kubernetes-agent"
name = "${data.azurerm_virtual_network.infra_ci_jenkins_io_sponsorship.name}-kubernetes-agents"
resource_group_name = data.azurerm_virtual_network.infra_ci_jenkins_io_sponsorship.resource_group_name
virtual_network_name = data.azurerm_virtual_network.infra_ci_jenkins_io_sponsorship.name
}
Expand Down

0 comments on commit 7714876

Please sign in to comment.