We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf71826 commit 5c197d4Copy full SHA for 5c197d4
lambdas/functions/control-plane/src/scale-runners/scale-up.ts
@@ -110,7 +110,7 @@ export function validateSsmParameterStoreTags(tagsJson: string): { Key: string;
110
if (!tag.Key || typeof tag.Key !== 'string' || tag.Key.trim() === '') {
111
throw new Error(`Tag at index ${index} has missing or invalid 'Key' property`);
112
}
113
- if (!tag.Value || typeof tag.Value !== 'string' || tag.Value.trim() === '') {
+ if (!Object.prototype.hasOwnProperty.call(tag, 'Value') || typeof tag.Value !== 'string') {
114
throw new Error(`Tag at index ${index} has missing or invalid 'Value' property`);
115
116
});
0 commit comments