StackPanel

SST Module

Documentation for the sst module

AWS infrastructure provisioning via SST (Serverless Stack).

Overview

Manages foundational AWS resources: KMS encryption keys, IAM roles, and OIDC identity providers for CI/CD. Supports GitHub Actions, Fly.io, and Roles Anywhere authentication patterns.

Files

FileDescription
default.nixModule entry point and imports
sst.nixSST options, scripts, and shell hooks
sst.config.example.tsExample SST configuration
src/scripts/Shell scripts for SST operations

Usage

stackpanel.sst = {
  enable = true;
  project-name = "my-project";
  region = "us-east-1";
  account-id = "123456789012";

  kms.enable = true;

  oidc.provider = "github-actions";
  oidc.github-actions = {
    org = "my-org";
    repo = "my-repo";
  };
};

OIDC Providers

ProviderDescription
github-actionsGitHub Actions workflow authentication
flyioFly.io machine authentication
roles-anywhereAWS Roles Anywhere with Step CA certificates

On this page