loft-sh / devpod-provider-gcloud

DevPod on Google Cloud
Mozilla Public License 2.0
5 stars 4 forks source link

Support Identity-Aware-Proxy (IAP) tunnel #3

Closed maxbrunet closed 7 months ago

maxbrunet commented 1 year ago

Documentation: https://cloud.google.com/iap/docs/tcp-by-host

It could be a boolean option (e.g. USE_IAP_TUNNEL) that populates a ProxyCommand ssh option:

ProxyCommand gcloud compute start-iap-tunnel %h %p \
    --listen-on-stdin \
    --region=${PROJECT} \
    --zone=${ZONE}
    --verbosity=warning
pascalbreuninger commented 7 months ago

@maxbrunet It's been a long time coming but now you can finally use IAP tunnels with DevPod