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
spored-instance-role needs ec2:ImportKeyPair + full set of EC2 permissions for nested spawn usage #39
When an EC2 instance running spored-instance-role calls spawn launch (nested spawn, e.g. via nf-spawn), it hits multiple missing IAM permissions one by one. The role doesn't include the full set of permissions needed for spawn to operate.
ec2:ImportKeyPair — spawn uploads the SSH key before launching
Expected
The spored-instance-role IAM role that spawn creates should include all permissions required to run spawn launch from within an EC2 instance. This is necessary for nested spawn usage (e.g. nf-spawn dispatching compute tasks from a head node).
Decision needed (milestone planning, 2026-10-18): how should nested spawn (spawn on a spore) get its permissions?
Default if there's no objection: an opt-in elevated role, for example --nested-spawn. Never widen the default spored-instance-role, since RunInstances plus PassRole on every instance is privilege escalation.
Activity
scttfrdmn commentedon Oct 19, 2026
Decision needed (milestone planning, 2026-10-18): how should nested spawn (spawn on a spore) get its permissions?
Default if there's no objection: an opt-in elevated role, for example
--nested-spawn. Never widen the defaultspored-instance-role, since RunInstances plus PassRole on every instance is privilege escalation.feat(launch): opt-in --nested-spawn role for spawn-on-a-spore (#39)
feat(launch): opt-in --nested-spawn role for spawn-on-a-spore (#39) (#…