From 83be61df9a8d450407d880a955b84b887acd0bc5 Mon Sep 17 00:00:00 2001 From: "Juan C. Andreu" Date: Tue, 11 Jun 2024 13:36:14 +0000 Subject: [PATCH] fixed resource group json format --- packages/core/package.json | 2 +- packages/core/src/index.ts | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 25c6a8c..09bab73 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -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", diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index d2704f7..6fc3824 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -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" } }) }