Skip to content

Commit 9e7a8de

Browse files
Add ResourceType tag to lambda
1 parent edfa39a commit 9e7a8de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/findLambdas.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ export async function findLambdas({
8383
alias: string
8484
}): Promise<LambdaFunction[]> {
8585
const resourceGroupsTaggingAPI = new ResourceGroupsTaggingAPI()
86+
87+
tags['ResourceType'] = ['lambda']
88+
8689
const resources = await resourceGroupsTaggingAPI.send(
8790
new GetResourcesCommand({
8891
ResourceTypeFilters: ['lambda'],

0 commit comments

Comments
 (0)