diff --git a/sst-env.d.ts b/sst-env.d.ts index df78c80..93b272e 100644 --- a/sst-env.d.ts +++ b/sst-env.d.ts @@ -15,12 +15,10 @@ declare module "sst" { "type": "sst.aws.Bucket" } "AIChatbotAWSDB": { - "clusterArn": string "database": string "host": string "password": string "port": number - "secretArn": string "type": "sst.aws.Postgres" "username": string } diff --git a/sst.config.ts b/sst.config.ts index 4d664b3..d864336 100644 --- a/sst.config.ts +++ b/sst.config.ts @@ -31,7 +31,7 @@ export default $config({ bastion: true, nat: "ec2", }); - const database = new sst.aws.Postgres.v1("AIChatbotAWSDB", { vpc }); + const database = new sst.aws.Postgres("AIChatbotAWSDB", { vpc }); const bucket = new sst.aws.Bucket("AIChatbotAWSBucket", { access: "public",