Skip to content

Commit

Permalink
Update Azure virtual network Terraform and Github Action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pacphi committed Nov 8, 2023
1 parent 5fffd13 commit 266fb14
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/azure-virtual-network-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ on:
aksSubnetCidr:
description: "The Subnet CIDR block hosting AKS cluster (e.g., 10.1.128.0/18)"
required: true
agwSubnetCidr:
description: "The Subnet CIDR block hosting the Application Ingress Gateway (e.g., 10.1.1.0/24)"
required: true
action:
required: true
type: choice
Expand All @@ -34,7 +31,6 @@ jobs:
resourceGroupName: ${{ github.event.inputs.resourceGroupName }}
operatorSubnetCidr: ${{ github.event.inputs.operatorSubnetCidr }}
aksSubnetCidr: ${{ github.event.inputs.aksSubnetCidr }}
agwSubnetCidr: ${{ github.event.inputs.agwSubnetCidr }}
action: ${{ github.event.inputs.action }}
secrets:
AZURE_AD_CLIENT_ID: ${{ secrets.AZURE_AD_CLIENT_ID }}
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/azure-virtual-network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ on:
description: "The Subnet CIDR block hosting AKS cluster (e.g., 10.1.128.0/18)"
required: true
type: string
agwSubnetCidr:
description: "The Subnet CIDR block hosting the Application Ingress Gateway (e.g., 10.1.1.0/24)"
required: true
type: string
action:
required: true
type: string
Expand Down Expand Up @@ -57,7 +53,6 @@ jobs:
TF_VAR_vnet_cidr: ${{ inputs.virtualNetworkCidr }}
TF_VAR_operator_subnet_cidr: ${{ inputs.operatorSubnetCidr }}
TF_VAR_aks_subnet_cidr: ${{ inputs.aksSubnetCidr }}
TF_VAR_agw_subnet_cidr: ${{ inputs.agwSubnetCidr }}
runs-on: ubuntu-22.04

outputs:
Expand Down
8 changes: 0 additions & 8 deletions terraform/azure/virtual-network/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ output "aks_subnet_id" {
value = azurerm_subnet.aks_subnet.id
}

output "agw_subnet_name" {
value = azurerm_subnet.agw_subnet.name
}

output "agw_subnet_id" {
value = azurerm_subnet.agw_subnet.id
}

output "vnet_suffix" {
value = random_string.suffix.result
}

0 comments on commit 266fb14

Please sign in to comment.