Skip to content

Instantly share code, notes, and snippets.

@mvanholsteijn
Created February 7, 2022 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mvanholsteijn/f3913dd850373df5c6bdaf5305b7e234 to your computer and use it in GitHub Desktop.
Save mvanholsteijn/f3913dd850373df5c6bdaf5305b7e234 to your computer and use it in GitHub Desktop.
enable private ip google access on the default network
gcloud compute networks subnets list --network default --format 'value(region)' | \
sed -e 's^.*regions/^^' | \
xargs -P 8 -n 1 gcloud compute networks subnets update default --enable-private-ip-google-access --region
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment