Skip to content

Commit

Permalink
origin shield 비활성화
Browse files Browse the repository at this point in the history
  • Loading branch information
devunt committed Oct 29, 2024
1 parent e217e8b commit 0f39409
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/bedrock/pulumi/aws/cloudfront.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@ const glyphPub = new aws.cloudfront.Distribution('glyph.pub', {
originId: 'penxle-data',
domainName: 'penxle-data.s3.amazonaws.com',
originAccessControlId: originAccessControl.id,
originShield: { enabled: true, originShieldRegion: 'ap-northeast-2' },
originShield: { enabled: false, originShieldRegion: 'ap-northeast-2' },
},
{
originId: 'penxle-images',
// spell-checker:disable-next-line
domainName: 'penxle-images-zjf3dm5q7dybsggznshhnpyqapn2a--ol-s3.s3.ap-northeast-2.amazonaws.com',
originAccessControlId: originAccessControl.id,
originShield: { enabled: true, originShieldRegion: 'ap-northeast-2' },
originShield: { enabled: false, originShieldRegion: 'ap-northeast-2' },
},
],

Expand Down
5 changes: 1 addition & 4 deletions packages/pulumi/src/components/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,7 @@ export class Site extends pulumi.ComponentResource {
originReadTimeout: 60,
originKeepaliveTimeout: 60,
},
originShield: {
enabled: true,
originShieldRegion: 'ap-northeast-2',
},
originShield: { enabled: false, originShieldRegion: 'ap-northeast-2' },
},
],

Expand Down

0 comments on commit 0f39409

Please sign in to comment.