Skip to content

Commit

Permalink
fixed resource group json format
Browse files Browse the repository at this point in the history
  • Loading branch information
andreujuanc committed Jun 11, 2024
1 parent f735725 commit 83be61d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lambada/core",
"version": "1.15.1",
"version": "1.15.2",
"description": "A VERY opinionated infrastructure as code framework.",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down
11 changes: 9 additions & 2 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,15 @@ export const run = (projectName: string, environment: string, args: LambadaRunAr
resourceQuery: {
query: JSON.stringify({
ResourceTypeFilters: ["AWS::AllSupported"],
TagFilters: globalTags
})
TagFilters: [{
"Key": "Lambada:Project",
"Values": [projectName]
}, {
"Key": "Lambada:Environment",
"Values": [environment]
}]
}),
type: "TAG_FILTERS_1_0"
}
})
}
Expand Down

0 comments on commit 83be61d

Please sign in to comment.