Skip to content

Commit

Permalink
fix: psql requires a database name
Browse files Browse the repository at this point in the history
  • Loading branch information
kichik committed Jul 15, 2022
1 parent 0149d1f commit 5d6d14a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.ts
Expand Up @@ -588,6 +588,10 @@ export class RdsSanitizedSnapshotter extends Construct {
name: 'PGPASSWORD',
value: stepfunctions.JsonPath.stringAt('$.tempDb.password'),
},
{
name: 'PGDATABASE',
value: 'postgres',
},
{
name: 'PGCONNECT_TIMEOUT',
value: '30',
Expand Down Expand Up @@ -725,4 +729,4 @@ export class RdsSanitizedSnapshotter extends Construct {
}
return p;
}
}
}

0 comments on commit 5d6d14a

Please sign in to comment.