The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 06:00 UTC
| 1 | import * as AWS from "@alchemy.run/aws"; |
| 2 | import * as Alchemy from "alchemy"; |
| 3 | import * as Effect from "effect/Effect"; |
| 4 | import Api from "./src/Api.ts"; |
| 5 | import { database } from "./src/database.ts"; |
| 6 | |
| 7 | export default Alchemy.Stack( |
| 8 | "aws-aurora-drizzle", |
| 9 | { providers: AWS.providers(), state: Alchemy.localState() }, |
| 10 | Effect.gen(function* () { |
| 11 | const api = yield* Api; |
| 12 | const db = yield* database; |
| 13 | return { |
| 14 | url: api.functionUrl, |
| 15 | functionName: api.functionName, |
| 16 | clusterId: db.cluster.dbClusterIdentifier, |
| 17 | writerId: db.writer.dbInstanceIdentifier, |
| 18 | vpcId: db.vpc.vpcId, |
| 19 | }; |
| 20 | }), |
| 21 | ); |