Skip to content

Commit

Permalink
Remove dead code from remove_ip
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeacom committed Sep 13, 2018
1 parent ea79238 commit 2e2a1e0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ops/scripts/remove_ip.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ echo "Removing IP: $WAN_IP to AWS SG: $GC_SG_ID - Port: $GC_SSH_PORT - Protocol:
aws ec2 revoke-security-group-ingress --group-id "$GC_SG_ID" \
--ip-permissions='[{"IpProtocol": "'"$GC_SSH_PROTO"'", "FromPort": '"$GC_SSH_PORT"', "ToPort": '"$GC_SSH_PORT"', "IpRanges": [{"CidrIp": "'"$WAN_IP"'"}]}]'
echo "Removed!"

# --ip-permissions IpProtocol="$GC_SSH_PROTO",FromPort="$GC_SSH_PORT",ToPort="$GC_SSH_PORT",IpRanges=" [{CidrIp=$WAN_IP/32}]"

0 comments on commit 2e2a1e0

Please sign in to comment.