Skip to content

Commit

Permalink
feat(infra): add responder team tag
Browse files Browse the repository at this point in the history
  • Loading branch information
blacha committed Aug 7, 2024
1 parent c8752c8 commit 63fc7dd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/_infra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@aws-sdk/client-cloudformation": "^3.470.0",
"@basemaps/lambda-tiler": "^7.7.0",
"@basemaps/shared": "^7.7.0",
"@linzjs/cdk-tags": "^1.6.0",
"@linzjs/cdk-tags": "^1.7.0",
"aws-cdk": "2.114.x",
"aws-cdk-lib": "2.114.x",
"constructs": "^10.3.0"
Expand Down
7 changes: 4 additions & 3 deletions packages/_infra/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ACMClient, ListCertificatesCommand } from '@aws-sdk/client-acm';
import { Env } from '@basemaps/shared';
import { applyTags, SecurityClassification } from '@linzjs/cdk-tags';
import { applyTags, SecurityClassification, TagsBase } from '@linzjs/cdk-tags';
import { App } from 'aws-cdk-lib';

import { EdgeAnalytics } from './analytics/edge.analytics.js';
Expand All @@ -21,13 +21,14 @@ async function findCertForDomain(region: string, domain: string): Promise<string
async function main(): Promise<void> {
const basemaps = new App();

const commonTags = {
const commonTags: TagsBase = {
application: 'basemaps',
environment: IsProduction ? 'prod' : 'nonprod',
group: 'li',
impact: 'moderate',
classification: SecurityClassification.Unclassified,
} as const;
responderTeam: 'LINZ - Basemaps',
};

/** Using VPC lookups requires a hard coded AWS "account" */
const account = Env.get(DeployEnv.CdkAccount);
Expand Down

0 comments on commit 63fc7dd

Please sign in to comment.