Skip to content

launcher.Provision: support ephemeral async FSx-create (headless path; lagotto#43 prerequisite) #202

Closed

Description

@scttfrdmn

Gap

The #194 ephemeral async FSx-create is wired only in cmd/launch.go. pkg/launcher.Provision — the headless path used by lagotto (and any SDK consumer) — has zero FSx handling. So forwarding fsx_create/fsx_lifecycle/… from a lagotto spawn-config into LaunchConfig would be a silent no-op: Provision calls client.Launch directly without ever firing CreateFileSystem or setting spawn:fsx-pending. (Same "field exists but the consuming path ignores it" trap as the original lagotto#43 / nf-spawn#65.)

Fix

Add an ephemeral-FSx step to Provision (a new step ~3.5, after IAM/user-data, before Launch), mirroring the CLI ephemeral branch:

This keeps a single async-create implementation conceptually shared between CLI and headless (the CLI already calls CreateFSxLustreFilesystemAsync; Provision calls the same pkg/aws method).

Unblocks

lagotto#43 (forward the fsx: block) becomes the trivial passthrough once this lands. Part of the FSx chain (#192 reaper → #193 contract → #194 ephemeral → this → lagotto#43).

Activity

  1. added
    enhancement
    area:launch
    area:storage
    on Jun 16, 2026
  2. added a commit that references this issue on Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:launcharea:storageenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions