Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

fix(cost): adding in cost center #272

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .aws/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@ export const config = {
tags: {
service: name,
environment,
app_code: 'pocket',
component_code: 'pocket-pocket-hits',
env_code: isDev ? 'dev' : 'prod',
},
};
6 changes: 4 additions & 2 deletions .aws/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
constructor(scope: Construct, name: string) {
super(scope, name);

new AwsProvider(this, 'aws', { region: 'us-east-1' });
new AwsProvider(this, 'aws', {

Check failure on line 28 in .aws/src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

Delete `·`
region: 'us-east-1',
defaultTags: [{ tags: config.tags }],
});
new PagerdutyProvider(this, 'pagerduty_provider', { token: undefined });
new LocalProvider(this, 'local_provider');
new NullProvider(this, 'null_provider');
Expand Down Expand Up @@ -136,7 +139,6 @@
internal: false,
prefix: config.prefix,
alb6CharacterPrefix: config.shortName,
tags: config.tags,
cdn: true,
domain: config.domain,
containerConfigs: [
Expand Down
Loading