Skip to content

Commit f00fa21

Browse files
chore(cdk): add Application tag to all stacks (#97)
## Summary - Add `Application: ServerlessWebappStarterKit` tag to the entire CDK app - Uses `cdk.Tags.of(app).add()` to automatically propagate the tag to all resources across both stacks
1 parent 2b0a95a commit f00fa21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cdk/bin/cdk.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ new MainStack(app, 'ServerlessWebappStarterKitStack', {
5252
signPayloadHandler: virginia.signPayloadHandler,
5353
});
5454

55+
cdk.Tags.of(app).add('Application', 'ServerlessFullStackWebappStarterKit');
56+
5557
// import { Aspects } from 'aws-cdk-lib';
5658
// import { AwsSolutionsChecks } from 'cdk-nag';
5759
// Aspects.of(app).add(new AwsSolutionsChecks());

0 commit comments

Comments
 (0)