Skip to content

Commit 4e8ad63

Browse files
committed
updating firewall rule to use alternate provider
1 parent 60cb194 commit 4e8ad63

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/update-firewall-rule/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ runs:
1111
- name: ${{ inputs.action-to-execute }} Firewall Rule
1212
shell: bash
1313
run: |
14-
AgentPublicIp=$(curl ipconfig.io)
14+
AgentPublicIp=$(curl checkip.amazonaws.com)
1515
echo "##[warning]Adding $AgentPublicIp To Storage Account Firewall, Please Wait..."
1616
az network nsg rule update -n HTTPS_CI --nsg-name vmsonarqubeprod001-nsg -g rg-prgssonarqube-prod-001 --add sourceAddressPrefixes $AgentPublicIp
1717
sleep 30
18+
# was AgentPublicIp=$(curl ipconfig.io) which returned a 522/timeout error, so switched to checkip.amazonaws.com
19+

0 commit comments

Comments
 (0)