Skip to content

Commit

Permalink
Add 'publicReadAcl: true' to the static-story-packages deployment step
Browse files Browse the repository at this point in the history
also move the `type` property beneath the name of each deployment step for easier readability
  • Loading branch information
twrichards authored Feb 2, 2022
1 parent f1584a1 commit 5783251
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 5783251

Please sign in to comment.