Run a second deployment
llms.txt lists every page for a coding agent.
Show the prompt
Read https://intentius.io/loomster/guides/run-a-second-deployment/ and list the loomster stacks already in the account with `aws cloudformation list-stacks`, grouped by project, env and instance.
Propose an instance value that doesn't collide. Deploy only if the person asked for it in this session.
Never run `chant approve` or `just grant`, never deploy to or delete from a real AWS account unless the person asked for that in this session, never register an identity provider in Loom, and never push or edit the `chant/lifecycle` branch.Result
Section titled “Result”Two independent Looms side by side, each with its own stacks and resources.
Prerequisites
Section titled “Prerequisites”One deployment already running, and the inputs to deploy another (for a production tier, its network and domain).
-
Choose a new instance (or env). The
{project}-{env}-{instance}prefix namespaces every physical name (the RDS instance, buckets, the Cognito domain, ECR repositories, security groups) and every stack name: instancea’sloom-dbstack isloom-prod-a-loom-db, instanceb’s isloom-prod-b-loom-db. Deploying the same instance twice into one account is a collision, not a second deployment. -
Deploy it with the same source:
LOOM_ENV=prod LOOM_INSTANCE=a npx chant run --components all --env prodLOOM_ENV=prod LOOM_INSTANCE=b npx chant run --components all --env prodCross-stack values resolve within each run’s own stacks, so instance
b’sloom-backendreadsb’sshared-foundation, nevera’s. production and production-ha have run this way in one account, as instancesaandb(Validation). -
Decide identity. Each instance can provision its own Cognito pool, or all can reference one org pool (Share a Cognito pool).
-
Tear one down without the other.
loom-teardownis instance-scoped:LOOM_INSTANCE=b chant run loom-teardownchant approve loom-teardown approve-loom-teardownLOOM_INSTANCE=b chant run loom-teardowndeletes only the
loom-prod-b-*stacks.
Tiers and instances on when a new instance is the right answer and when a Cognito group is.