aws
alchemy aws <subcommand> [options]Cloud-provider commands for AWS — managing the per-account infrastructure that Alchemy itself relies on.
aws bootstrap
Section titled “aws bootstrap”alchemy 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-an Re-running is a no-op:
✓ Assets bucket already exists: alchemy-assets-123456789012-us-west-2-an | Option | Description |
|---|---|
--profile <name> | AWS profile to use for credentials (default: default) |
--region <region> | AWS region to bootstrap. Defaults to the SSO profile’s region, then us-east-1. |
--destroy | Destroy all bootstrap buckets in the selected region |
--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.
--destroy
Section titled “--destroy”Removes every bootstrap bucket in the selected region and reports the count:
✓ Destroyed 1 bootstrap bucket(s): alchemy-assets-123456789012-us-west-2-an If there’s nothing to remove:
✓ No bootstrap buckets found to destroy # Bootstrap with the default profilealchemy aws bootstrap
# Bootstrap a specific region and profilealchemy aws bootstrap --profile prod --region us-west-2
# Remove bootstrap resourcesalchemy aws bootstrap --destroyWhere next
Section titled “Where next”- cloudflare — provider commands for Cloudflare
- AWS — the AWS provider hub