Skip to content

Commit

Permalink
postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
sergical committed Jan 7, 2025
1 parent 2053a5b commit a57a5b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions sst-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion sst.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a57a5b2

Please sign in to comment.