aws
alchemy provider aws <subcommand> [options]Cloud-provider commands for AWS — managing the per-account infrastructure that Alchemy itself relies on.
provider aws bootstrap
Section titled “provider aws bootstrap”alchemy provider aws bootstrap [options]Set up the AWS assets bucket required for deploying Lambda functions and other AWS resources that need artifact storage.
✓ Created assets bucket: alchemy-assets-123456789012-us-west-2-anRe-running is a no-op:
✓ Assets bucket already exists: alchemy-assets-123456789012-us-west-2-an| Option | Description |
|---|---|
--aws-profile <name> |
AWS CLI/SSO profile to use for credentials (default: default) |
--region <region> |
AWS region to bootstrap. Defaults to the SSO profile’s region, then us-east-1. |
--env-file <path> |
Load environment variables from a file |
Bootstrap requires an AWS SSO profile with sso_account_id set —
it fails with a clear error if the profile is missing one.
Logs are written to .alchemy/log/bootstrap.txt.
provider aws teardown
Section titled “provider aws teardown”alchemy provider aws teardown [options]Removes every bootstrap bucket in the selected region and reports the
count. It accepts the same profile, region, and environment-file options as
bootstrap, plus --yes to skip confirmation.
✓ Destroyed 1 bootstrap bucket(s): alchemy-assets-123456789012-us-west-2-anIf there’s nothing to remove:
✓ No bootstrap buckets found to destroy# Bootstrap with the default profilealchemy provider aws bootstrap
# Bootstrap a specific region and profilealchemy provider aws bootstrap --aws-profile prod --region us-west-2
# Remove bootstrap resourcesalchemy provider aws teardownWhere next
Section titled “Where next”- cloudflare — provider commands for Cloudflare
- AWS — the AWS provider hub