Skip to content

Commit

Permalink
feat(infra): Allow production to access linz-basemaps-staging bucket. (
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang authored Dec 11, 2022
1 parent 6b8c3ab commit 9dc2025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/_infra/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ export interface BaseMapsConfig {
}

export const BaseMapsProdConfig: BaseMapsConfig = {
CogBucket: ['linz-basemaps', 'linz-basemaps-vector', 'linz-workflow-artifacts'],
CogBucket: ['linz-basemaps', 'linz-basemaps-vector', `linz-basemaps-staging`, 'linz-workflow-artifacts'],
CloudFrontDns: ['basemaps.linz.govt.nz', 'tiles.basemaps.linz.govt.nz'],
PublicUrlBase: 'https://basemaps.linz.govt.nz',
AwsRoleConfigBucket: 'linz-bucket-config',
};

export const BaseMapsDevConfig: BaseMapsConfig = {
CogBucket: ['basemaps-cog-test', `linz-basemaps-staging`, ...BaseMapsProdConfig.CogBucket],
CogBucket: ['basemaps-cog-test', ...BaseMapsProdConfig.CogBucket],
CloudFrontDns: ['dev.basemaps.linz.govt.nz', 'tiles.dev.basemaps.linz.govt.nz'],
PublicUrlBase: 'https://dev.basemaps.linz.govt.nz',
AwsRoleConfigBucket: 'linz-bucket-config',
Expand Down

0 comments on commit 9dc2025

Please sign in to comment.