From ed63095721d05378957003d26dd1acf9c4b5b02b Mon Sep 17 00:00:00 2001 From: Steven Hoang Date: Thu, 18 Apr 2024 16:43:03 +0800 Subject: [PATCH] Update AutoTags.ts --- src/Common/AutoTags.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Common/AutoTags.ts b/src/Common/AutoTags.ts index df70cfae..3fece963 100644 --- a/src/Common/AutoTags.ts +++ b/src/Common/AutoTags.ts @@ -14,7 +14,10 @@ const ignoredTags = [ export function registerAutoTags(autoTags: Record): void { runtime.registerStackTransformation((args) => { //Check and ignore tag - if (ignoredTags.find((t) => args.type.includes(t))) + if ( + !args.type.includes('ResourceGroup') && + ignoredTags.find((t) => args.type.includes(t)) + ) return { props: args.props, opts: args.opts }; //Apply default tag