You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--no-public-ip launch output: pre-flight warnings printed twice, and the ready box shows a blank Public IP #1443
These are output-only problems I saw on a real --no-public-ip launch with spawn v0.151.0. The launch itself worked: no public IP, no EIP, and SSM and spored both worked.
The command was spawn launch nopub151 --instance-type c8gn.48xlarge --spot --efa --no-public-ip --ttl 1h --yes --az us-east-1d, run in us-east-1. The interface endpoints are in us-east-1a only.
The pre-flight warnings print twice. The four "crosses AZs" warnings appear once in the CLI's preflightNoPublicIP (cmd/launch_single.go:1348) and again during "Launching instance". The second copy comes from Client.Launch re-running PreflightNoPublicIP (pkg/aws/client.go:585) with the output going to os.Stderr:
✓ --no-public-ip: ec2messages: interface endpoint vpce-04035cb0ed937689c
⏳ Setting up SSH key...
...
⏳ Launching instance...
⚠️ --no-public-ip: ec2: interface endpoint vpce-0e80e565c8cadf662 has no subnet in us-east-1d (only us-east-1a), so traffic crosses AZs: ...
⚠️ --no-public-ip: ssm: ... (x4, identical to the first pass)
✅ Launching instance (3.3s)
Keeping the second check for safety is fine, but its warnings should go to io.Discard (or be deduplicated), because the CLI already printed them.
The "Public IP" row is blank in the ready box. The dry run says Public IP: none (private only), but the final box prints an empty value:
Instance ID i-0faa599bdda83e113
Public IP
Status running
The progress also runs ⏳ Getting public IP... ✅ (296ms) for an instance that has none, and prints ⏳ Waiting for SSH... with no completion line (it is prog.Skip).
For a --no-public-ip launch, the box should say none (private only, connect uses SSM), the same as the dry run, and the public-IP step should be skipped.
Low priority. Found during the v0.151.0 --no-public-ip multi-card EFA live test (see #1442 for the substantive bug from the same run).
Activity
Print --no-public-ip pre-flight warnings once, name a missing public …