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
sweep: carry --no-public-ip on a detached sweep (subnet check at --detach, LaunchSettings field) #1437
--no-public-ip is refused on a detached sweep (detachedSettingsGuard, cmd/launch_sweep_detached_settings.go): the check that a member's subnet can reach what spored and the SSM agent need (VPC endpoints or a NAT route) runs at launch time with the caller's credentials (ec2:DescribeRouteTables, ec2:DescribeVpcEndpoints, ec2:DescribeSubnets), and the sweep orchestrator launches members later without it. --no-detach works today.
To carry it instead:
Run PreflightNoPublicIP per distinct (region, subnet) at --detach time, pinning each member's subnet (an AZ-only row would otherwise let EC2 pick an unchecked subnet).
Add no_public_ip to aws.LaunchSettings and apply it in Apply (applyNoPublicIP). The orchestrator's strict decoder (DecodeLaunchSettings, DisallowUnknownFields) means an orchestrator from an older release refuses such settings rather than launching with a public IP, so the version skew fails closed. The orchestrator then has to be redeployed from the same release.
Move NoPublicIP from refused to settings in detachedDispositions, and add it to TestDetachedMemberRunInstancesIsTheForegroundMembers's view.
Single-interface members only: multi-card EFA is refused on a detached sweep for other reasons (#1353).
Activity
docs: CHANGELOG, help, docs-gen and API snapshot for #1437
feat(sweep): carry --no-public-ip on a detached sweep (#1437)
docs: CHANGELOG, help, docs-gen and API snapshot for #1437
feat(sweep): carry --no-public-ip on a detached sweep (#1437)
docs: CHANGELOG, help, docs-gen and API snapshot for #1437
feat(sweep): carry --no-public-ip on a detached sweep (#1437) (#1467)