StackPanel

Infra Module

Documentation for the infra module

Alchemy-based infrastructure-as-code with pluggable output storage.

Overview

Provides a module system for defining infrastructure resources using Alchemy. Supports multiple storage backends for IaC outputs (chamber, SOPS, SSM, none) and includes a built-in AWS secrets module for KMS and IAM configuration.

Files

FileDescription
default.nixModule entry point
options.nixInfra options and module registry schema
codegen.nixTypeScript codegen for Alchemy resources
modules/aws-secrets/Built-in AWS secrets infrastructure module
templates/Alchemy project templates

Usage

stackpanel.infra = {
  enable = true;
  storage-backend = {
    type = "chamber";
    chamber.service = "my-project";
  };
  aws.secrets.enable = true;
};

On this page