Skip to content

Commit 174a6f2

Browse files
committed
updated deploy.sh
1 parent d4bb08e commit 174a6f2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

gcp_cloud_function_ifconfig/deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,8 @@ gcloud functions deploy "$name" --trigger-http \
4242
--region "$region" \
4343
--timeout 60 \
4444
--quiet # don't prompt to --allow-unauthenticated
45+
# routes private traffic only by default - need to change this if you want to
46+
# use the Cloud NAT gateway from the VPC for Firewall rules purposes
4547
#--vpc-connector "$vpc_connector" \
48+
#--egress-settings all # sends all traffic through connector to exit via network's Cloud NAT IP
4649
#--max-instances 1 \

0 commit comments

Comments
 (0)