Skip to content

Commit

Permalink
fix(tags): updating braze content proxy tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock committed Aug 23, 2024
1 parent 1a067e8 commit 7ef86e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions infrastructure/braze-content-proxy/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,10 @@ export const config = {
tags: {
service: name,
environment,
owner: 'Pocket',
costCenter: 'Pocket',
app_code: 'pocket',
component_code: `pocket-${name.toLowerCase()}`,
env_code: isDev ? 'dev' : 'prod',
},
};
6 changes: 4 additions & 2 deletions infrastructure/braze-content-proxy/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ class BrazeContentProxy extends TerraformStack {
constructor(scope: Construct, name: string) {
super(scope, name);

new awsProvider.AwsProvider(this, 'aws', { region: 'us-east-1' });
new awsProvider.AwsProvider(this, 'aws', {
region: 'us-east-1',
defaultTags: [{ tags: config.tags }],
});
new pagerDutyProvider.PagerdutyProvider(this, 'pagerduty_provider', {
token: undefined,
});
Expand Down Expand Up @@ -130,7 +133,6 @@ class BrazeContentProxy extends TerraformStack {
internal: false,
prefix: config.prefix,
alb6CharacterPrefix: config.shortName,
tags: config.tags,
cdn: true,
domain: config.domain,
containerConfigs: [
Expand Down

0 comments on commit 7ef86e4

Please sign in to comment.