Skip to content

Commit

Permalink
Merge pull request #139 from guardian/publicReadAcl
Browse files Browse the repository at this point in the history
Add 'publicReadAcl: true' to the `static-story-packages` deployment step
  • Loading branch information
twrichards authored Feb 2, 2022
2 parents f1584a1 + 5783251 commit 2a3eac9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions riff-raff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ stacks:
- cms-fronts
deployments:
static-story-packages:
type: aws-s3
parameters:
publicReadAcl: true
cacheControl:
- pattern: .*\.js$
value: public, max-age=315360000
Expand All @@ -14,13 +16,13 @@ deployments:
map: text/plain
prefixStack: false
bucket: cms-fronts-static-assets
type: aws-s3
story-packages:
type: autoscaling
parameters:
bucket: story-packages-dist
type: autoscaling
dependencies: [packages-ami]
packages-ami:
type: ami-cloudformation-parameter
parameters:
cloudFormationStackByTags: false
prependStackToCloudFormationStackName: false
Expand All @@ -29,6 +31,6 @@ deployments:
Recipe: editorial-tools-bionic-java8
AmigoStage: PROD
amiParameter: MachineImageID
type: ami-cloudformation-parameter

regions:
- eu-west-1

0 comments on commit 2a3eac9

Please sign in to comment.