diff --git a/handler/main.ts b/handler/main.ts index 9c6dc6d..075cd00 100644 --- a/handler/main.ts +++ b/handler/main.ts @@ -243,7 +243,7 @@ const handleCreate = async (event: CreateEvent): Promise => { dbSecretArn: event.ResourceProperties.userSecretArn, dbClusterHostname: event.ResourceProperties.dbClusterHostname, dbClusterPort: event.ResourceProperties.dbClusterPort, - databaseName: event.ResourceProperties.databaseName, + databaseName: 'postgres', }); const userCredentials = await userClientManager.getCredentials(); @@ -325,7 +325,7 @@ const handleUpdate = async (event: UpdateEvent): Promise => { dbSecretArn: event.ResourceProperties.userSecretArn, dbClusterHostname: event.ResourceProperties.dbClusterHostname, dbClusterPort: event.ResourceProperties.dbClusterPort, - databaseName: event.ResourceProperties.databaseName, + databaseName: 'postgres', }); const userCredentials = await userClient.getCredentials();