Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit a804963

Browse files
committed
fix param
1 parent b0dda0b commit a804963

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/serverless-components/aws-lambda/__tests__/publishVersion.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ describe("publishVersion", () => {
122122

123123
expect(mockUntagResource).toBeCalledWith({
124124
Resource: "arn:aws:lambda:us-east-1:123456789012:function:my-func",
125-
Tags: ["foo"]
125+
TagKeys: ["foo"]
126126
});
127127

128128
expect(mockTagResource).toBeCalledWith({

packages/serverless-components/aws-lambda/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const updateLambdaConfig = async ({
170170
await lambda
171171
.untagResource({
172172
Resource: res.FunctionArn,
173-
Tags: Object.keys(currentTags)
173+
TagKeys: Object.keys(currentTags)
174174
})
175175
.promise();
176176

0 commit comments

Comments
 (0)