Skip to content

chore: connect to ci-1 through IAP - #107

Merged
melfartas merged 1 commit into
mainfrom
ci-ssh-via-iap
Nov 4, 2026
Merged

melfartas merged 1 commit into
mainfrom
ci-ssh-via-iap

Conversation

@melfartas

@melfartas melfartas commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Adds --tunnel-through-iap to every gcloud compute ssh/scp call that targets ci-1: scripts/ci-ssh.sh, scripts/ci-scp.sh, and the manual testing examples in CLAUDE.md.

The plan is to close public tcp/22 on ci-1. coder/gcp#311 (merged) allows SSH from the IAP forwarding range in the httpjail project. ci-1 has an external IP, so gcloud does not fall back to IAP automatically and the flag is required. The GitHub Actions runner only makes outbound connections, so CI is unaffected.

Requirements for anyone using these scripts:

  • iap.googleapis.com enabled in httpjail.
  • roles/iap.tunnelResourceAccessor on the project, in addition to existing SSH access.

Once IAP SSH is verified, default-allow-ssh (0.0.0.0/0) will be removed from the project. Until then, both paths work.


Generated by Coder Agents on behalf of @melfartas.

@melfartas
melfartas merged commit cb4cba2 into main Nov 4, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant