in resources/module_3_1/request/index.js [61:75]
async function fetchConfigFromSSM() {
if (!configBucketName) {
try {
configBucketName = await ssm
.getParameter({ Name: SSM_BUCKET_PARAM_NAME, WithDecryption: true })
.promise()
.then(data => {
return data.Parameter.Value
});
} catch (_error) {
console.error(_error);
return undefined;
}
}
}