File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66# This script ensures that the concourse worker egress IPs have access on the
77# WinRM port (5985).
88# Set firewall rules in the GCP project if needed
9- if [ -n " ${CONFIGURE_GCP} " ]; then
9+ if [ " ${CONFIGURE_GCP:- } " == " true " ]; then
1010 comma_separated_external_ips=" "
11- for external_ip in $ALLOWED_IP_ADDRESSES ; do
11+ for external_ip in ${ ALLOWED_IP_ADDRESSES} ; do
1212 comma_separated_external_ips=" ${external_ip} /32,${comma_separated_external_ips} "
1313 done
1414 comma_separated_external_ips=" ${comma_separated_external_ips% ,} "
2121
2222# Set firewall rules in the AWS project
2323aws_ip_ranges=" "
24- for external_ip in $ALLOWED_IP_ADDRESSES ; do
24+ for external_ip in ${ ALLOWED_IP_ADDRESSES} ; do
2525 aws_ip_ranges=" {CidrIp=${external_ip} /32},${aws_ip_ranges} "
2626done
2727aws_ip_ranges=" ${aws_ip_ranges% ,} "
You can’t perform that action at this time.
0 commit comments