Skip to content

ground provision-sre — on-demand SRE account provisioning from compliance catalog #8

Open

Description

@scttfrdmn

Problem

ground currently deploys a single org foundation. There is no command for creating new SREs (AWS accounts) on demand with the right compliance baseline pre-applied. Every new research project currently requires manual account creation and control application.

Proposed command

ground provision-sre \
  --type nih-genomics \
  --name chen-genomics-lab \
  --pi [email protected] \
  --email [email protected] \
  --region us-east-1

This should:

  1. Create a new AWS account under the correct OU (from catalog: nih-genomics → NIHGenomic sub-OU)
  2. Apply the catalog-specified SCP policies
  3. Deploy the baseline CloudFormation stacks (logging, security SCP)
  4. Run attest compile --frameworks nih-gds,nist-800-171-r2,hipaa for the new account
  5. Export ground-meta.json for the new account
  6. Print the next steps: required training, DUA requirements, IAM Identity Center setup

Catalog integration

Reads from attest/sre-catalog/ (attest#98) to determine:

  • Which OU to place the account in
  • Which SCP policies to apply
  • Which attest frameworks are active
  • Which training modules are required for researchers

Implementation notes

  • Uses AWS Organizations CreateAccount API
  • Account creation is async (5-10 min); command should poll and report status
  • ground.yaml gains an sre_catalog_path: field pointing to the catalog YAML
  • New accounts inherit the org-root logging-protection SCP automatically

Related

  • attest#98 (SRE type catalog — defines what provision-sre deploys)
  • ground#3 (Control Tower AFT — v0.3.0 replaces this manual provisioning with CT)
  • qualify#35 (researcher onboarding — next step after SRE is provisioned)

Activity

  1. added
    type:feature
    component:provisioner
    priority:high
    on Jun 8, 2026
  2. scttfrdmn commented on Jun 9, 2026

    @scttfrdmn
    ContributorAuthor

    Dependency (post-kernel roadmap, #11): superseded by the vendor tool (#9) — ground would call vendor, the way it already calls attest compile. Needs attest#98 (SRE type catalog). Not closing this yet; the supersession is an implementation-time decision. Cross-ref: #9.

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

    component:provisionerpriority:hightype:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions