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
A nested-spawn role named via --instance-profile (or a --no-detach sweep row) skips --nested-spawn's --ttl requirement #1375
a --no-detach sweep whose row or defaults set iam_role: spawn-instance-nested-<hash>
Both attach the nested-spawn role, which may call RunInstances and PassRole on spawn-instance-*, without going through --nested-spawn. That flag is the only place Requires --ttl is enforced (cmd/launch_flags.go). Both use the caller's own credentials, so no spore.host principal acts on someone else's behalf. They just get around the rule that an instance able to launch children must itself have a TTL.
Evidence: code reading only (--nested-spawn help/validation vs. the --instance-profile path), not run on AWS.
Fix: treat any profile matching aws.NestedSpawnRolePrefix (aws.IsNestedSpawnRole) exactly like --nested-spawn, requiring --ttl on single launches, and refuse it in foreground sweep rows unless the sweep sets a TTL.
Activity
fix(launch): a nested-spawn role named directly requires --ttl (#1375)