Skip to content

Commit

Permalink
Update AutoTags.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
baoduy committed Apr 18, 2024
1 parent 67241de commit ed63095
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Common/AutoTags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ const ignoredTags = [
export function registerAutoTags(autoTags: Record<string, string>): 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
Expand Down

0 comments on commit ed63095

Please sign in to comment.