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.
2 parents 4c48292 + 076f304 commit 0b7737cCopy full SHA for 0b7737c
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') 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