sailfork / t3code-github / .repos/ alchemy-effect/ examples/ aws-rds/ alchemy.run.ts
import * as AWS from "@alchemy.run/aws";
import * as Alchemy from "alchemy";
import * as Effect from "effect/Effect";
import ServiceFunction from "./src/ServiceFunction.ts";
const aws = AWS.providers();
export default Alchemy.Stack(
"AwsRdsExample",
{ providers: aws, state: Alchemy.localState() },
Effect.gen(function* () {
const service = yield* ServiceFunction;
return {
url: service.functionUrl,
};
}),
);