From 8cf9a738b0db287d6a8f89803df3b8fb11890e62 Mon Sep 17 00:00:00 2001 From: James B Date: Wed, 23 Oct 2024 14:17:13 +0100 Subject: [PATCH] Azure VM's with Standard IP's https://github.com/IATI/IATI-Standard-Website/issues/777 --- .github/workflows/workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 8d8fa4d6..0d6e5c0d 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -113,7 +113,7 @@ jobs: az vm create \ --resource-group "${{ env.STAGE }}-${{ env.NAME }}-${{ env.NEW_COLOUR }}" \ --name "${{ env.STAGE }}-${{ env.NAME }}-${{ env.NEW_COLOUR }}" \ - --size Standard_B2s \ + --size Standard_B2s --public-ip-sku Standard \ --image "Canonical:0001-com-ubuntu-server-jammy:22_04-lts-gen2:latest" \ --ssh-key-values ${{ secrets.DEV_PUB_KEYS }} && \ export NEW_IP=$(az vm list-ip-addresses --name "${{ env.STAGE }}-${{ env.NAME }}-${{ env.NEW_COLOUR }}" --resource-group "${{ env.STAGE }}-${{ env.NAME }}-${{ env.NEW_COLOUR }}" --query [].virtualMachine.network[].publicIpAddresses[][].ipAddress --output tsv) && \ @@ -335,7 +335,7 @@ jobs: az vm create \ --resource-group "${{ env.STAGE }}-${{ env.NAME }}-${{ env.NEW_COLOUR }}" \ --name "${{ env.STAGE }}-${{ env.NAME }}-${{ env.NEW_COLOUR }}" \ - --size Standard_B2s \ + --size Standard_B2s --public-ip-sku Standard \ --image "Canonical:0001-com-ubuntu-server-jammy:22_04-lts-gen2:latest" \ --ssh-key-values ${{ secrets.DEV_PUB_KEYS }} && \ export NEW_IP=$(az vm list-ip-addresses --name "${{ env.STAGE }}-${{ env.NAME }}-${{ env.NEW_COLOUR }}" --resource-group "${{ env.STAGE }}-${{ env.NAME }}-${{ env.NEW_COLOUR }}" --query [].virtualMachine.network[].publicIpAddresses[][].ipAddress --output tsv) && \