We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc3bfc4 commit 076f304Copy full SHA for 076f304
lib/configuration/variables/sources/instance-dependent/get-ssm.js
@@ -37,7 +37,12 @@ module.exports = (serverlessInstance) => {
37
);
38
} catch (error) {
39
// Check for normalized error code instead of native one
40
- if (error.code === 'AWS_S_S_M_GET_PARAMETER_PARAMETER_NOT_FOUND' || error.code === 'ParameterNotFound') return null;
+ if (
41
+ error.code === 'AWS_S_S_M_GET_PARAMETER_PARAMETER_NOT_FOUND' ||
42
+ error.code === 'ParameterNotFound'
43
+ ) {
44
+ return null;
45
+ }
46
throw error;
47
}
48
})();
0 commit comments