Prepare Relay production infrastructure for the PlanetScale PS_20 HA topology, upgrade Effect and Alchemy to compatible betas, reconcile migration state, and preserve patched MCP session termination behavior.\n\nCo-authored-by: codex <[email protected]>
32 lines
1.8 KiB
Bash
32 lines
1.8 KiB
Bash
# AWS.BackupSearch.SearchJob: AWS retains search-job records ~7 days; no delete API
|
|
bun alchemy unsafe nuke ./stacks/nuke.ts \
|
|
--exclude 'AWS.BackupSearch.SearchJob' \
|
|
--exclude 'Cloudflare.Zone*' \
|
|
--exclude 'Cloudflare.Account*' \
|
|
--exclude 'Cloudflare.DNS*' \
|
|
--exclude 'Cloudflare.Ssl.UniversalSsl' \
|
|
--exclude 'Cloudflare.ApiToken.*' \
|
|
--exclude 'Cloudflare.Secret*' \
|
|
--exclude 'Cloudflare.Organization.*' \
|
|
--exclude 'AWS.IAM.User' \
|
|
--exclude 'AWS.IAM.SAMLProvider' \
|
|
--exclude 'AWS.IAM.OpenIDConnectProvider' \
|
|
--exclude 'AWS.IAM.AccountAlias' \
|
|
--exclude 'AWS.IAM.AccountPasswordPolicy' \
|
|
--exclude 'AWS.IAM.LoginProfile' \
|
|
--exclude 'AWS.IdentityCenter*' \
|
|
--exclude 'AWS.Organizations.*' \
|
|
--exclude 'AWS.IAM.ServiceLinkedRole' \
|
|
--exclude 'AWS.LakeFormation.*' \
|
|
--exclude 'AWS.Notifications.*' \
|
|
--exclude 'AWS.NotificationsContacts.*' \
|
|
--exclude 'AWS.ApiGateway.Account' \
|
|
--profile testing \
|
|
--concurrency 32 \
|
|
--timeout 300 \
|
|
--filter 'resource.Type === "Cloudflare.Worker" && resource.workerName?.startsWith("alchemy-state") || resource.workerName === "Api"' \
|
|
--filter 'resource.Type === "AWS.IAM.Role" && (["alchemy-github-actions", "distilled-github-oidc-role"].includes(resource.roleName) || resource.roleName?.startsWith("AWSReservedSSO"))' \
|
|
--filter 'resource.Type === "AWS.S3.Bucket" && (String(resource.bucketName).startsWith("alchemy-state") || String(resource.bucketName).startsWith("alchemy-assets"))' \
|
|
--filter 'typeof resource.name === "string" && (resource.name.startsWith("DO-NOT-DELETE") || resource.name.startsWith("AppConfig.") || resource.name.startsWith("system_") || ["primary","AwsDataCatalog","DefaultConfiguration","Default","default","open-access","default.dax1.0"].includes(resource.name))' \
|
|
--filter 'String(resource.logGroupName).startsWith("/aws/vendedlogs/b2bi/")' \
|
|
"$@" |