Skip to content

Commit 8bbba5a

Browse files
committed
lambda update
1 parent 7fe669c commit 8bbba5a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lambda/index.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ export const handler = async (event) => {
5858
// 📥 Get DB credentials from SecretsManager
5959
let dbEnv = [];
6060
try {
61+
console.log(ssmValues['/image-processing/db-secret-arn']);
6162
const secretResp = await secrets.send(new GetSecretValueCommand({
62-
SecretId: process.env.DB_SECRET_ARN
63+
SecretId: ssmValues['/image-processing/db-secret-arn']
6364
}));
6465
const secret = JSON.parse(secretResp.SecretString || "{}");
6566

0 commit comments

Comments
 (0)