Skip to content

Instantly share code, notes, and snippets.

@josepsmartinez
Created April 14, 2021 15:36
Show Gist options
  • Save josepsmartinez/63907d728550cb44b8276521b10ac654 to your computer and use it in GitHub Desktop.
Save josepsmartinez/63907d728550cb44b8276521b10ac654 to your computer and use it in GitHub Desktop.
Alias for `gcloud $@ --tunnel-through-iap`. Remember do `chmod a+x` the script.
#!/bin/bash
PATH_TO_GCLOUD=/snap/bin/google-cloud-sdk.gcloud
${PATH_TO_GCLOUD} $@ --tunnel-through-iap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment