riff-raff.yaml (21 lines of code) (raw):

regions: [eu-west-1] stacks: [frontend] allowedStages: - CODE - PROD deployments: frontend-static/commercial: type: aws-s3 parameters: bucketSsmKey: /account/services/dotcom-static.bucket cacheControl: [{ "pattern": "/commercial/prout$", "value": "max-age=0" },{ "pattern": ".*", "value": "public, max-age=315360000, immutable"}] prefixStack: false publicReadAcl: false commercial-bundle-path: type: cloud-formation parameters: templateStagePaths: CODE: code.json PROD: prod.json dependencies: - frontend-static/commercial