Output: ---
account-bootstrap:
  variables:
    region: eu-west-2
    root_domain_zone: dalmatian.dxw.net
    dalmatian_read_users:
      - ed
      - cristina
      - hippers
      - bob-read
    dalmatian_admin_users:
      - chris
      - bob
      - laura-admin
      - ed-admin
      - cristina-admin
      - olivia-admin
      - tomh-admin
      - isratc-admin
      - lorna-admin
      - nick-admin
      - stu-admin
      - rob-admin
      - anthony-admin
      - lee-admin
      - matty-admin
      - calum-admin
      - meyric-admin
      - brent-admin
      - serena-admin
      - dragon-admin
      - suze-admin
      - george-admin
      - matthew-admin
      - sim-admin
      - barryr-admin
      - jamesk-admin
      - ash-admin
      - sarah-admin
      - ynda-admin
      - patrick-admin
      - williamman-admin
ci:
  variables:
    region: eu-west-2
    prci_github_owner: dxw
    prci_github_repository: dalmatian
    prci_codebuild_compute_type: BUILD_GENERAL1_SMALL
    prci_codebuild_image: public.ecr.aws/q8n3y8x7/testing-terraform-docker:latest
    bpsp_source_branch: master
    bpbp_codebuild_compute_type: BUILD_GENERAL1_SMALL
    bpbp_codebuild_image: public.ecr.aws/q8n3y8x7/testing-terraform-docker:latest
infrastructure-defaults:
  variables:
    region: eu-west-2
    cidr: 10.0.0.0/16
    root_domain_zone: dalmatian.dxw.net
    internal_domain_zone: dalmatian.internal
    ecs_private_subnets:
      - availability_zone: eu-west-2a
        cidr: 10.0.128.0/24
      - availability_zone: eu-west-2b
        cidr: 10.0.129.0/24
      - availability_zone: eu-west-2c
        cidr: 10.0.130.0/24
    extra_public_subnets:
      - availability_zone: eu-west-2a
        cidr: 10.0.0.0/24
      - availability_zone: eu-west-2b
        cidr: 10.0.1.0/24
      - availability_zone: eu-west-2c
        cidr: 10.0.2.0/24
    instances_key_name: dalmatian-ecs-instances
    instance_type: t3.medium
    min_servers: 2
    max_servers: 4
    associate_public_ip_address: 0
    docker_storage_size: 40
    dockerhub_email: ''
    dockerhub_token: ''
    monitoring_docs_path: https://github.com/dxw/ops-docs/blob/master/dalmatian-monitoring/
    basic_auth_users:
      dxwsupport: '085740adb45fce7e0968c43a26f3acc9fc2c9ac1f38919ed78270f80905dbce07ea010aa8c5e44ee685ed3d8833e6dbbb4a6427af4a10011a8946187a29913e0d59540ba3f0c25f1bb66b6d76a473bd2cf70d9f8b0c79c05ae85864cf8cf779f'
infrastructures:
  bas:
    account_id: '419128131613'
    cluster:
      create: true
    opensearch_cluster:
      - identifier: bas
        in_use_by:
          - web
        version: 3.1
        master_enabled: false
        instance_count: 3
        instance_type: t3.small.elasticsearch
        warm_enabled: false
        volume_size: 20
        parameter_store_path_opensearch_cluster_url_name: ELASTICSEARCH_URL
    rds:
      - identifier: bas
        instance_class:
          prod: db.t3.medium
          staging: db.t3.small
        engine: mysql
        engine_version: 8.0.42
        db_name: bas
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          service_loadbalancers:
            - web
    environments:
      prod:
        track_revision: main
        instance_type: t3.medium
        min_servers: 2
        max_servers: 3
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:20014
        syslog_papertrail_endpoint: logs3.papertrailapp.com:20014
        enable_efs: 'true'
        encrypt_efs: 'false'
        efs_dirs: []
      staging:
        track_revision: develop
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs4.papertrailapp.com:15689
        syslog_papertrail_endpoint: logs4.papertrailapp.com:15689
        enable_efs: 'true'
        encrypt_efs: 'false'
        efs_dirs: []
    services:
      - name: web
        enable_max_one_container_per_instance: false
        launch_on:
          - prod
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: bas-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                  - Origin
                  - X-WP-Nonce
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: bas-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: bas-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: bas-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: bas-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                  - Origin
                  - X-WP-Nonce
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: bas-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: bas-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: bas-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/baspress
        buildspec: dalmatian_core_buildspec_saluki
        container_count: '5'
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/bas.ac.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/bas.ac.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression: cron(1,31 * * * ? *)
        domain_names:
          prod:
            - bas.ac.uk
            - www.bas.ac.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:419128131613:certificate/cdf6d6b8-1f01-4a3f-9591-0c1e56866121
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:419128131613:certificate/9ce96ba1-565d-477f-8e6b-08edb0a3aeaf
  caselaw-stg:
    account_id: '626206937213'
    cluster:
      create: true
    s3:
      - name: tna-caselaw-assets-staging
        encrypted: false
        acl: public-read
        policy:
          staging:
            rw:
              services:
                - editor
        cloudfront:
          create: true
          domain_names:
            - assets.staging.caselaw.nationalarchives.gov.uk
          certificate: arn:aws:acm:us-east-1:626206937213:certificate/f15f7b26-47f3-477b-a78c-08b328c3ce4f
      - name: tna-caselaw-unpublished-assets-staging
        encrypted: true
        acl: private
        policy:
          staging:
            rw:
              services:
                - editor
      - name: tna-caselaw-marklogic-backup-staging
        encrypted: true
        acl: private
    aurora:
      - identifier: cluster1
        minimum_size:
          staging: 0.5
        maximum_size:
          staging: 1
        engine: aurora-postgresql
        engine_version: '15.4'
        db_name: cluster1
    rds:
      - identifier: shared
        instance_class:
          staging: db.t3.small
        engine: postgres
        engine_version: '11.22'
        db_name: inital_db_name
        allocated_storage: 200
        port: 5432
    waf:
      - name: caselaw
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesSQLiRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
        associations:
          service_loadbalancer:
            - editor
            - public
            - priv-api
    environments:
      staging:
        track_revision: main
        instance_type: t3.medium
        logspout_command:
          - syslog+tls://logs4.papertrailapp.com:25413
        enable_efs: 'true'
    services:
      - name: editor
        monitoring:
          staging:
            ghost_inspector:
              enabled: false
        cloudfront:
          create: true
        blue_green:
          staging:
            enabled: true
        enable_max_one_container_per_instance: false
        image_source: build_from_github_repo
        image_location: git@github.com:nationalarchives/ds-caselaw-editor-ui
        codepipeline_use_github_v1: true
        buildspec: dalmatian_core_buildspec_default
        health_check_path: "/check"
        container_port: 5000
        container_command:
          - "/entrypoint"
          - "/start"
        domain_names:
          staging:
            - editor.staging.caselaw.nationalarchives.gov.uk
        lb_ssl_certificate:
          staging: arn:aws:acm:eu-west-2:626206937213:certificate/32e71258-1bad-4281-9341-29efae63c184
        cloudfront_ssl_certificate:
          staging: arn:aws:acm:us-east-1:626206937213:certificate/556f9be1-aa77-47fe-b2de-7d487bac6597
        scheduled_tasks:
          - name: process-reenrichment-queue
            command:
              - "./manage.py"
              - enrich_next_in_reenrichment_queue
            schedule_expression:
              prod: cron(13,43 18-23,0-6 * * ? *)
      - name: pdf-worker
        monitoring:
          prod:
            ghost_inspector:
              enabled: false
          staging:
            ghost_inspector:
              enabled: false
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:nationalarchives/ds-caselaw-pdf-conversion
        codepipeline_use_github_v1: true
        buildspec: dalmatian_core_buildspec_default
        container_port: 0
        container_command:
          - python
          - queue_listener/queue_listener.py
      - name: priv-api
        monitoring:
          prod:
            ghost_inspector:
              enabled: false
          staging:
            ghost_inspector:
              enabled: false
        cloudfront:
          create: true
        blue_green:
          staging:
            enabled: true
        enable_max_one_container_per_instance: false
        image_source: build_from_github_repo
        image_location: git@github.com:nationalarchives/ds-caselaw-privileged-api
        codepipeline_use_github_v1: true
        buildspec: dalmatian_core_buildspec_default
        health_check_path: "/docs"
        container_port: 8080
        container_command:
          - uvicorn
          - openapi_server.main:app
          - "--host 0.0.0.0"
          - "--port 8080"
        domain_names:
          staging:
            - api.staging.caselaw.nationalarchives.gov.uk
        lb_ssl_certificate:
          staging: arn:aws:acm:eu-west-2:626206937213:certificate/acf4d06f-9cad-46e7-99e7-914844566e24
        cloudfront_ssl_certificate:
          staging: arn:aws:acm:us-east-1:626206937213:certificate/415e2db3-7ecf-4356-a4cb-0fc7c8b44597
      - name: public
        monitoring:
          staging:
            ghost_inspector:
              enabled: false
        cloudfront:
          create: true
        blue_green:
          staging:
            enabled: true
        enable_max_one_container_per_instance: false
        image_source: build_from_github_repo
        image_location: git@github.com:nationalarchives/ds-caselaw-public-ui
        codepipeline_use_github_v1: true
        buildspec: dalmatian_core_buildspec_default
        health_check_path: "/check"
        container_port: 5000
        container_command:
          - "/entrypoint"
          - "/start"
        domain_names:
          staging:
            - staging.caselaw.nationalarchives.gov.uk
        lb_ssl_certificate:
          staging: arn:aws:acm:eu-west-2:626206937213:certificate/dd7cc3f5-8ee7-4c26-96d6-99877378effb
        cloudfront_ssl_certificate:
          staging: arn:aws:acm:us-east-1:626206937213:certificate/6249f595-1502-45c7-9652-4a345f5b7c93
        scheduled_tasks:
          - name: recalculate-court-dates
            command:
              - "./manage.py"
              - recalculate_court_dates
              - "--write"
            schedule_expression:
              staging: cron(56 4 * * ? *)
  caselaw:
    account_id: '276505630421'
    hosted_zones:
      - domain: caselaw.nationalarchives.gov.uk
        cname_records:
          - name: _78fb500e8843610842d4bb647db51570.editor.staging.caselaw.nationalarchives.gov.uk
            value: _1a90eb15805e7609d3c3bd2b6709fe0a.qwknvqrlct.acm-validations.aws.
          - name: _172c6de34b34a80be6af484e2e9b3392.www.editor.staging.caselaw.nationalarchives.gov.uk
            value: _4262efc7cf3b4d5529b9d90b7111cb16.qwknvqrlct.acm-validations.aws.
          - name: _132734cd7034e52fd59627f0489b58ac.staging.caselaw.nationalarchives.gov.uk
            value: _b1b36d22ad1c862f017974c4abc7f59b.qvwhjqbvbg.acm-validations.aws.
          - name: _0c54d6f21da3cf55b6e1a3004b3d3a56.www.staging.caselaw.nationalarchives.gov.uk
            value: _deab10e3dafed06823f3f6f32041f074.qvwhjqbvbg.acm-validations.aws.
          - name: _a356b4b103532cc511f1ffe8245c22fd.editor.caselaw.nationalarchives.gov.uk
            value: _7d11c470025c2f2e931f2a883cbf9601.qwknvqrlct.acm-validations.aws.
          - name: _de1d203a10f66ff17336848e2fb4b0bf.www.editor.caselaw.nationalarchives.gov.uk
            value: _5d14285f44f61a1af473eba13bc40409.qwknvqrlct.acm-validations.aws.
          - name: _e5ca712f11e67119c380b3deae49fd70.caselaw.nationalarchives.gov.uk
            value: _823a867ae62dd74f29bb6fd39971fcb3.qwknvqrlct.acm-validations.aws.
          - name: _fdd770ef0664411464b4f059488f9fbf.www.caselaw.nationalarchives.gov.uk
            value: _e0c09055ca46a0d452aafbe6eb83ddff.qwknvqrlct.acm-validations.aws.
          - name: editor.caselaw.nationalarchives.gov.uk
            value: dgahyt2fa3kuq.cloudfront.net.
          - name: editor.staging.caselaw.nationalarchives.gov.uk
            value: d1iuddf85kusku.cloudfront.net.
          - name: staging.caselaw.nationalarchives.gov.uk
            value: d2y1tp7iel5w9x.cloudfront.net.
          - name: _a1ebe4745c24eac61f7461eabbc168ef.api.staging.caselaw.nationalarchives.gov.uk.
            value: _97f1436f70ac31f294aada08cc8aaf64.fpktwqqglf.acm-validations.aws.
          - name: _e2656715e78ddb204030c56da570f97a.api.caselaw.nationalarchives.gov.uk.
            value: _ddbafbeea46b67d5e5463c687c2c3eb9.fpktwqqglf.acm-validations.aws.
          - name: api.staging.caselaw.nationalarchives.gov.uk
            value: d974tpiyde2op.cloudfront.net.
          - name: api.caselaw.nationalarchives.gov.uk
            value: d2fisfxnfqj9rn.cloudfront.net.
          - name: _376bc62e1236a60e4bdca674076ef63a.assets.caselaw.nationalarchives.gov.uk
            value: _deb34765c09add0aa7c56d60ba669b7f.njdczhxdjc.acm-validations.aws.
          - name: _c806e5a739d7fa82056fb78584f2faac.assets.staging.caselaw.nationalarchives.gov.uk
            value: _7c35da553486feb6dad8ea4c211f2e3a.njdczhxdjc.acm-validations.aws.
          - name: assets.staging.caselaw.nationalarchives.gov.uk
            value: daemohisb35uy.cloudfront.net
          - name: assets.caselaw.nationalarchives.gov.uk
            value: d6s9404qfl4w9.cloudfront.net
          - name: ml.internal.staging.caselaw.nationalarchives.gov.uk
            value: internal-casel-Inter-ZOGJXYO3YO0P-1952744788.eu-west-2.elb.amazonaws.com
          - name: ml.external.staging.caselaw.nationalarchives.gov.uk
            value: caselaw-Alb-AA6AAOM5OAIU-1229666245.eu-west-2.elb.amazonaws.com
          - name: ml.internal.production.caselaw.nationalarchives.gov.uk
            value: internal-casel-Inter-IEYELZU5H4SR-1103909616.eu-west-2.elb.amazonaws.com
          - name: ml.external.production.caselaw.nationalarchives.gov.uk
            value: caselaw-Alb-1IDSCWLVRCK1T-2098249791.eu-west-2.elb.amazonaws.com
          - name: tr7w64hjz4fmlcdf4evgn5ht7w42dgbc._domainkey.staging.caselaw.nationalarchives.gov.uk
            value: tr7w64hjz4fmlcdf4evgn5ht7w42dgbc.dkim.amazonses.com
          - name: 2iwvzyjtnnj4c637hwwhqjwtvc5kzbif._domainkey.staging.caselaw.nationalarchives.gov.uk
            value: 2iwvzyjtnnj4c637hwwhqjwtvc5kzbif.dkim.amazonses.com
          - name: sd4buvcxevejri33mvpeq6bc2gsy5cb3._domainkey.staging.caselaw.nationalarchives.gov.uk
            value: sd4buvcxevejri33mvpeq6bc2gsy5cb3.dkim.amazonses.com
          - name: musnzhdxppv4sqd6u2gl6gundup5wkpx._domainkey.caselaw.nationalarchives.gov.uk
            value: musnzhdxppv4sqd6u2gl6gundup5wkpx.dkim.amazonses.com
          - name: k4mrulrj4eh3lwv7amk4wzccj7nj2lgo._domainkey.caselaw.nationalarchives.gov.uk
            value: k4mrulrj4eh3lwv7amk4wzccj7nj2lgo.dkim.amazonses.com
          - name: tzq5x574nguteezy5vit3tivamrxeov2._domainkey.caselaw.nationalarchives.gov.uk
            value: tzq5x574nguteezy5vit3tivamrxeov2.dkim.amazonses.com
        alias_records:
          - name: caselaw.nationalarchives.gov.uk
            value: d3ps134a3uyfwa.cloudfront.net.
    cluster:
      create: true
    s3:
      - name: tna-caselaw-assets
        encrypted: false
        acl: public-read
        policy:
          prod:
            rw:
              services:
                - editor
        cloudfront:
          create: true
          domain_names:
            - assets.caselaw.nationalarchives.gov.uk
          certificate: arn:aws:acm:us-east-1:276505630421:certificate/fac62dd9-9cfc-4ba0-a478-c43db5bc1db9
      - name: tna-caselaw-unpublished-assets
        encrypted: true
        acl: private
        policy:
          prod:
            rw:
              services:
                - editor
      - name: tna-caselaw-marklogic-backup
        encrypted: true
        acl: private
      - name: tna-caselaw-ingester-deploy
        encrypted: true
        acl: private
    rds:
      - identifier: shared
        instance_class:
          prod: db.t3.small
        engine: postgres
        engine_version: '11.22'
        db_name: inital_db_name
        allocated_storage: 200
        port: 5432
    aurora:
      - identifier: cluster1
        minimum_size:
          prod: 0.5
        maximum_size:
          prod: 3
        engine: aurora-postgresql
        engine_version: '15.4'
        db_name: cluster1
    environments:
      prod:
        track_revision: production
        instance_type: t3.medium
        max_instance_lifetime: 604800
        min_servers: 5
        max_servers: 8
        logspout_command:
          - syslog+tls://logs4.papertrailapp.com:38403
        enable_efs: 'true'
    services:
      - name: editor
        monitoring:
          prod:
            ghost_inspector:
              enabled: false
        blue_green:
          prod:
            enabled: true
        enable_max_one_container_per_instance: false
        cloudfront:
          create: true
        image_source: build_from_github_repo
        image_location: git@github.com:nationalarchives/ds-caselaw-editor-ui
        codepipeline_use_github_v1: true
        buildspec: dalmatian_core_buildspec_default
        health_check_path: "/check"
        container_port: 5000
        container_count: '5'
        container_command:
          - "/entrypoint"
          - "/start"
        domain_names:
          prod:
            - editor.caselaw.nationalarchives.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:276505630421:certificate/23c7f59a-21e2-41f9-92d1-cb314520038e
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:276505630421:certificate/ca233fa5-4f91-4891-b9ae-13c18a1fddf4
        scheduled_tasks:
          - name: process-reenrichment-queue
            command:
              - "./manage.py"
              - enrich_next_in_reenrichment_queue
            schedule_expression:
              prod: cron(13,43 18-23,0-6 * * ? *)
          - name: process-reparse-queue
            command:
              - "./manage.py"
              - reparse_next_in_reparse_queue
            schedule_expression:
              prod: cron(28,58 18-23,0-6 * * ? *)
      - name: pdf-worker
        monitoring:
          prod:
            ghost_inspector:
              enabled: false
          staging:
            ghost_inspector:
              enabled: false
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:nationalarchives/ds-caselaw-pdf-conversion
        codepipeline_use_github_v1: true
        buildspec: dalmatian_core_buildspec_default
        container_port: 0
        container_command:
          - python
          - queue_listener/queue_listener.py
      - name: priv-api
        monitoring:
          prod:
            ghost_inspector:
              enabled: false
        cloudfront:
          create: true
        blue_green:
          prod:
            enabled: true
        enable_max_one_container_per_instance: false
        image_source: build_from_github_repo
        image_location: git@github.com:nationalarchives/ds-caselaw-privileged-api
        codepipeline_use_github_v1: true
        buildspec: dalmatian_core_buildspec_default
        health_check_path: "/docs"
        container_port: 8080
        container_command:
          - uvicorn
          - openapi_server.main:app
          - "--host 0.0.0.0"
          - "--port 8080"
        domain_names:
          prod:
            - api.caselaw.nationalarchives.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:276505630421:certificate/1ef9680d-cb14-4a3e-9eb8-19e0d726acb8
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:276505630421:certificate/a584725d-f055-48b3-ac5d-ab0a503e9504
      - name: public
        blue_green:
          prod:
            enabled: true
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: true
              cloudfront_5xx:
                enabled: true
                threshold: '5'
                evaluation_periods: '15'
            ghost_inspector:
              enabled: false
        enable_max_one_container_per_instance: false
        cloudfront:
          create: true
        image_source: build_from_github_repo
        image_location: git@github.com:nationalarchives/ds-caselaw-public-ui
        codepipeline_use_github_v1: true
        buildspec: dalmatian_core_buildspec_default
        health_check_path: "/check"
        container_port: 5000
        container_count: '5'
        container_command:
          - "/entrypoint"
          - "/start"
        domain_names:
          prod:
            - caselaw.nationalarchives.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:276505630421:certificate/bec03109-db3c-489e-aeca-37ae57061d32
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:276505630421:certificate/2d5cdc02-4bf7-4ecf-84fc-6e8ea328b210
        scheduled_tasks:
          - name: recalculate-court-dates
            command:
              - "./manage.py"
              - recalculate_court_dates
              - "--write"
            schedule_expression:
              prod: cron(56 4 * * ? *)
  dalmatian-1:
    account_id: '052666621102'
    cluster:
      create: true
    rds:
      - identifier: shared1
        instance_class:
          staging: db.t2.small
          prod: db.t2.small
        engine: postgres
        engine_version: '11.22'
        storage_encrypted: false
        storage_type: gp2
        db_name: initial_db_name
        codebuild_access:
          - sun
          - sun-worker
    shared_loadbalancer:
      - name: shared-1
        in_use_by:
          - sun
    elasticache_cluster:
      - identifier: sun
        node_type: cache.t3.small
        node_count: 2
        engine: redis
        engine_version: 6.x
        in_use_by:
          - sun
          - sun-worker
    environments:
      staging:
        track_revision: develop
        instance_type: t3.medium
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:13251
        enable_efs: 'true'
        encrypt_efs: 'false'
        efs_dirs:
          - sun-discourse/bitnami
          - sun-discourse/discourse-assets
          - sun/assets
          - sun/uploads
          - sun/plugins
      prod:
        track_revision: master
        instance_type: t3.medium
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:39394
        enable_efs: 'true'
        encrypt_efs: 'false'
        min_servers: 3
        max_servers: 6
        efs_dirs:
          - sun-discourse/bitnami
          - sun-discourse/discourse-assets
          - sun/assets
          - sun/uploads
          - sun/plugins
    services:
      - name: sun-worker
        monitoring:
          prod:
            ghost_inspector:
              enabled: false
          staging:
            ghost_inspector:
              enabled: false
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/sun-discourse-docker
        buildspec: buildspec.yml
        codepipeline_codebuild_run_in_vpc: true
        codepipeline_codebuild_use_service_env: true
        container_port: 0
        container_command:
          - "/docker-entrypoint.sh"
          - bundle
          - exec
          - sidekiq
        container_volumes:
          - name: uploads
            host_path: "/mnt/efs/sun/uploads"
            container_path: "/var/www/discourse/public/uploads"
        home_directory: "/home/discourse"
      - name: sun
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/sun-discourse-docker
        codepipeline_codebuild_run_in_vpc: true
        codepipeline_codebuild_use_service_env: true
        buildspec: buildspec.yml
        health_check_grace_period: 1200
        health_check_path: "/"
        container_port: 9292
        container_count: 3
        enable_max_one_container_per_instance: false
        container_command:
          - "/docker-entrypoint.sh"
          - bundle
          - exec
          - puma
        container_volumes:
          - name: uploads
            host_path: "/mnt/efs/sun/uploads"
            container_path: "/var/www/discourse/public/uploads"
        home_directory: "/home/discourse"
        domain_names:
          prod:
            - www.statsusernet.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:052666621102:certificate/2e725a4f-a60c-4722-82f7-217eceb73e60
  dhsc:
    account_id: '504027283968'
    cluster:
      create: true
    opensearch_cluster:
      - identifier: dhsc
        in_use_by:
          - intranet
          - intra-dev
        version: 3.1
        master_enabled: false
        instance_count: 3
        instance_type: t3.small.elasticsearch
        warm_enabled: false
        volume_size: 20
        parameter_store_path_opensearch_cluster_url_name: ELASTICSEARCH_URL
    aurora:
      - identifier: dhscint
        minimum_size:
          staging: 0.5
          prod: 1
        maximum_size:
          staging: 1
          prod: 30
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: dhscint
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          service_loadbalancers:
            - intranet
            - intra-dev
    environments:
      prod:
        track_revision: main
        instance_type: t3.medium
        min_servers: 5
        max_servers: 6
        logspout_command:
          - syslog+tls://logs6.papertrailapp.com:28623
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/intranet.dhsc.gov.uk
        syslog_papertrail_endpoint: logs6.papertrailapp.com:28623
      staging:
        track_revision: develop
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:36547
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/intranet.dhsc.gov.uk
        syslog_papertrail_endpoint: logs3.papertrailapp.com:36547
    services:
      - name: intra-dev
        launch_on:
          - staging
        cloudfront:
          create: true
          origin_keepalive_timeout:
            staging: '60'
            prod: '60'
          origin_read_timeout:
            staging: '60'
            prod: '60'
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-content/plugins/*"
                  - "/wp-content/themes/*"
                  - "/wp-includes/*"
                  - "/wp-admin/css/*"
                  - "/wp-admin/js/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dhsc-intra-dev-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dhsc-intra-dev-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
            prod:
              - path_patterns:
                  - "/wp-content/plugins/*"
                  - "/wp-content/themes/*"
                  - "/wp-includes/*"
                  - "/wp-admin/css/*"
                  - "/wp-admin/js/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dhsc-intra-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dhsc-intra-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/dhsc-intranet
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '2'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/intra-dev.dhsc.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression: cron(1/2 * * * ? *)
      - name: intranet
        enable_max_one_container_per_instance: false
        global_accelerator:
          prod: false
          staging: false
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: true
              cloudfront_5xx:
                enabled: true
                threshold: '95'
                evaluation_periods: '5'
            ghost_inspector:
              enabled: false
        cloudfront:
          create: true
          offline_page_http_status:
            504: "/error-pages/500.html"
            500: "/error-pages/501.html"
            501: "/error-pages/502.html"
            502: "/error-pages/503.html"
            503: "/error-pages/504.html"
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-content/plugins/*"
                  - "/wp-content/themes/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dhsc-intranet-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dhsc-intranet-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
            staging:
              - path_patterns:
                  - "/wp-content/plugins/*"
                  - "/wp-content/themes/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dhsc-intranet-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dhsc-intranet-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/dhsc-intranet
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '4'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/intranet.dhsc.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - intranet.dhsc.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:504027283968:certificate/b2372a2f-9aa3-4aea-9c51-bf0ec90d3027
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:504027283968:certificate/9fcff1ae-444c-46f9-83e2-a56a63be1131
  dxw-govpress:
    account_id: '666653442229'
    hosted_zones:
      - domain: govpress.com
        mx_records:
          - name: govpress.com
            value:
              - 10 mail.dxw.net.
          - name: clients.govpress.com
            value:
              - 10 mail.dxw.net.
          - name: helpful.govpress.com
            value:
              - 10 mail.dxw.net.
        cname_records:
          - name: relay.govpress.com
            value: gingerbread.dxw.net.
          - name: git.govpress.com
            value: gitlab-prod-app.prod.dxw.net.
          - name: www.govpress.com
            value: redirect.dxw.net.
          - name: esht.prod.govpress.com
            value: d15tqudmnm8frj.cloudfront.net
          - name: _d82f73e41cffdbd334e6943ccc710e7a.govpress.com
            value: _3c0f1cf439ba4fcc9c17c55d2130ee56.njdczhxdjc.acm-validations.aws
          - name: _e765e7b484391dc5cc84f98f49a46337.www.govpress.com
            value: _4d3157cb7368a9836e01844246374d77.njdczhxdjc.acm-validations.aws
          - name: magnus._domainkey.govpress.com
            value: magnus._domainkey.dxw.com
        a_records:
          - name: govpress.com
            value: 54.228.199.127
          - name: lambeth.prod.govpress.com
            value: 46.43.2.234
        txt_records:
          - name: govpress.com
            value:
              - v=spf1 include:spf.dxw.net ~all
          - name: _dmarc.govpress.com
            value:
              - v=DMARC1; p=none; rua=mailto:postmaster-dmarc@dxw.com
          - name: clients.govpress.com
            value:
              - v=spf1 a:gingerbread.dxw.net mx include:spf.dxw.net include:amazonses.com ~all
          - name: _dmarc.clients.govpress.com
            value:
              - v=DMARC1; p=none; rua=mailto:dxw-d@dmarc.report-uri.com
          - name: mailtrap-forward.clients.govpress.com
            value:
              - mailtrap-forward=2eb7461a24c4f29b240c4bec462663ea9b57779c562174b6b42ae1de38003091
        ns_records:
          - name: aws.govpress.com
            value:
              - ns-758.awsdns-30.net.
              - ns-1633.awsdns-12.co.uk.
              - ns-1105.awsdns-10.org.
              - ns-325.awsdns-40.com.
      - domain: cass.independent-review.uk
        cname_records:
          - name: _5e91d9e0e2cc7abbe5a1283046c65871.cass.independent-review.uk
            value: _754633b27559c07c4e645fc5f5be3e25.zjfbrrwmzc.acm-validations.aws.
        a_records:
          - name: cass.independent-review.uk
            value: 54.228.199.127
        txt_records:
          - name: _dmarc.cass.independent-review.uk
            value: v=DMARC1; p=reject;
          - name: cass.independent-review.uk
            value: v=spf1 -all
        mx_records:
          - name: cass.independent-review.uk
            value:
              - 0 .
      - domain: dcmsblog.uk
        cname_records:
          - name: _99f38f14bb860d93ce07d0f8b8a3338b.www.dcmsblog.uk
            value: _f9992e4aa0b8e0100c26211119fb69ca.lblqlwmygg.acm-validations.aws.
          - name: _b2a3eb8c50a5a1c8b27a79f86641235c.dcmsblog.uk
            value: _34d57f1463a0cd62e865532e096afcc7.lblqlwmygg.acm-validations.aws.
          - name: www.dcmsblog.uk
            value: d1qws3mk1m4f0z.cloudfront.net.
        mx_records:
          - name: dcmsblog.uk
            value:
              - 10 mail.dxw.net
        txt_records:
          - name: dcmsblog.uk
            value:
              - v=spf1 mx -all
        alias_records:
          - name: dcmsblog.uk
            value: d1qws3mk1m4f0z.cloudfront.net.
      - domain: younghackney.org
        cname_records:
          - name: _99eff7ccd4566c043c0cf97ddd2e583c.www.younghackney.org
            value: _cefe57a5dfb406a0f85653cdaa16266e.fpktwqqglf.acm-validations.aws.
          - name: _eaafe27852697569cf138410f690d139.younghackney.org
            value: _384b84719b73762d510b218ccd7fe015.fpktwqqglf.acm-validations.aws.
          - name: www.younghackney.org
            value: daadrojmc4wm1.cloudfront.net.
        alias_records:
          - name: younghackney.org
            value: daadrojmc4wm1.cloudfront.net.
      - domain: aws.govpress.com
        cname_records:
          - name: bce.aws.govpress.com
            value: d3fd50518r0hft.cloudfront.net.
      - domain: armedforcescovenant.gov.uk
        cname_records:
          - name: www.armedforcescovenant.gov.uk
            value: d12whp7kmexnih.cloudfront.net.
          - name: _cc4b74431798b39640ed4e3b372efc56.armedforcescovenant.gov.uk
            value: _d5fef69b2cbeaf912b935e513ad7bcf4.fpgkgnzppq.acm-validations.aws.
          - name: _f7f0506aba0082a9dede2ac3279025e5.www.armedforcescovenant.gov.uk
            value: _2f172ba3cfcc8466d5ca50f00687ae49.fpgkgnzppq.acm-validations.aws
        txt_records:
          - name: armedforcescovenant.gov.uk
            value:
              - v=spf1 mx -all
          - name: _dmarc.armedforcescovenant.gov.uk
            value:
              - v=DMARC1; p=reject
        alias_records:
          - name: armedforcescovenant.gov.uk
            value: d12whp7kmexnih.cloudfront.net.
        mx_records:
          - name: armedforcescovenant.gov.uk
            value:
              - 10 mail.dxw.net
    cluster:
      create: true
    rds:
      - identifier: med1
        instance_class:
          staging: db.t3.medium
          prod: db.t3.medium
        engine: mysql
        engine_version: 8.0.42
        db_name: initial_db_name
        sync_sql_backup_to_azure: false
    aurora:
      - identifier: cluster1
        minimum_size:
          staging: 0.5
          prod: 0.5
        maximum_size:
          staging: 6
          prod: 8
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: cluster1
        sync_sql_backup_to_azure: false
      - identifier: cluster2
        minimum_size:
          staging: 0.5
          prod: 0.5
        maximum_size:
          staging: 6
          prod: 16
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: cluster2
        sync_sql_backup_to_azure: false
      - identifier: cluster3
        minimum_size:
          staging: 0.5
          prod: 0.5
        maximum_size:
          staging: 6
          prod: 8
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: cluster3
        sync_sql_backup_to_azure: false
    elasticache_cluster:
      - identifier: rdscache
        in_use_by:
          - af-covenant
          - af-day
          - af-grants
          - advisories
          - analysis
          - arctic
          - bas
          - bas-2025
          - bas-ice-arc
          - bat
          - biot
          - bce
          - bikeshed
          - care-city
          - cognus
          - coretest
          - dcmsblog
          - dfe-eah
          - dft-think
          - dsma
          - dxw-web
          - e-and-e
          - essex-blog
          - esht
          - esht-me
          - fcdo-blog
          - fcdo-lanc
          - fcdo-proto
          - fcdo-stor
          - fleming
          - gosc-test
          - hackneyrec
          - healthy-lon
          - icai
          - itf
          - lamb-cs
          - lamb-love
          - lamb-made
          - lamb-tog
          - ons-careers
          - osdi
          - osteo-cpd
          - osteo-std
          - natcen-scot
          - natcen-uk
          - nhs-england
          - nhs-ltp
          - ons-cop
          - ons-osr
          - ons-uksa
          - ons-www
          - psaa
          - psc
          - refugee
          - saluki-sub
          - saluki-test
          - settle
          - stg
          - stg-aos
          - tke
          - uadta
          - ukaea
          - unialliance
          - unimyths
          - v2c-llanw
          - v-to-c
          - younghack
        node_type: cache.t3.medium
        node_count: 2
        engine: redis
        engine_version: 7.x
        parameters:
          - name: maxmemory-policy
            value: allkeys-lru
    shared_loadbalancer:
      - name: shared-1
        global_accelerator:
          prod: true
        in_use_by:
          - advisories
          - arctic
          - bas
          - bas-2025
          - bce
          - bikeshed
          - care-city
          - cognus
          - dcmsblog
          - dfe-eah
          - dsma
          - dxw-web
          - e-and-e
          - esht
          - esht-me
          - gosc-test
          - hackneyrec
          - healthy-lon
          - icai
          - itf
          - ons-careers
          - osdi
          - osteo-cpd
          - osteo-std
          - psaa
          - psc
          - refugee
          - saluki-sub
          - saluki-test
          - settle
          - stg
          - stg-aos
          - tke
          - uadta
          - ukaea
          - unialliance
          - unimyths
          - v2c-llanw
          - v-to-c
          - younghack
      - name: shared-2
        global_accelerator:
          prod: true
        in_use_by:
          - af-covenant
          - af-day
          - af-grants
          - analysis
          - bas-ice-arc
          - bat
          - biot
          - dft-think
          - essex-blog
          - fcdo-blog
          - fcdo-lanc
          - fcdo-proto
          - fcdo-stor
          - fleming
          - lamb-cs
          - lamb-love
          - lamb-made
          - lamb-tog
          - natcen-scot
          - natcen-uk
          - nhs-england
          - nhs-ltp
          - ons-cop
          - ons-osr
          - ons-uksa
          - ons-www
          - coretest
    waf:
      - name: wordpress-1
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/admin-ajax.php"
              - "/wp-admin/async-upload.php"
              - "/wp-admin/post.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          shared_loadbalancers:
            - shared-1
            - shared-2
    s3:
      - name: analysis-dashboard-staging
        encrypted: true
        acl: private
        service_cloudfront_read_access:
          - analysis-staging
        policy:
          staging:
            rw:
              services:
                - analysis
      - name: analysis-dashboard-prod
        encrypted: true
        acl: private
        service_cloudfront_read_access:
          - analysis-prod
        policy:
          prod:
            rw:
              services:
                - analysis
      - name: settle-reports-staging
        encrypted: true
        acl: private
        service_cloudfront_read_access:
          - settle-staging
        policy:
          staging:
            rw:
              services:
                - settle
      - name: settle-reports-prod
        encrypted: true
        acl: private
        service_cloudfront_read_access:
          - settle-prod
        policy:
          prod:
            rw:
              services:
                - settle
    environments:
      staging:
        track_revision: develop
        instance_type: t3.medium
        min_servers: 11
        max_servers: 16
        docker_storage_size: 80
        logspout_command:
          - syslog+tls://logs4.papertrailapp.com:15689
        enable_efs: 'true'
        encrypt_efs: 'false'
        efs_dirs: []
        syslog_papertrail_endpoint: logs4.papertrailapp.com:15689
      prod:
        track_revision: main
        instance_type: t3.medium
        max_instance_lifetime: 604800
        min_servers: 14
        max_servers: 20
        docker_storage_size: 80
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:20014
        enable_efs: 'true'
        encrypt_efs: 'false'
        efs_dirs: []
        syslog_papertrail_endpoint: logs3.papertrailapp.com:20014
    services:
      - name: advisories
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-advisories-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-advisories-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/advisories
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/advisories.dxw.com"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(3 * * * ? *)
              prod: cron(3 * * * ? *)
        domain_names:
          prod:
            - advisories.dxw.com
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/cdc50525-238e-4898-9795-c23491d59fd0
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/d419dd64-522f-4ad0-8f93-d6e66e1e7154
      - name: af-covenant
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-af-covenant-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-af-covenant-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-af-covenant-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-af-covenant-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-af-covenant-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-af-covenant-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/afc
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/armedforcescovenant.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/armedforcescovenant.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(4 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(4 * * * ? *)
              prod: cron(4 * * * ? *)
        domain_names:
          prod:
            - armedforcescovenant.gov.uk
            - www.armedforcescovenant.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/2a3d4fe0-5b43-4770-ac37-730947cae3e8
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/15cb0373-983a-49ee-a898-98a73984bbbc
      - name: af-day
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-af-day-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-af-day-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-af-day-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                  - gmw_autolocate
                forward_query_strings: true
                associate_viewer_request_function: default
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-af-day-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-af-day-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-af-day-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                  - gmw_autolocate
                forward_query_strings: true
                associate_viewer_request_function: default
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/afd
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/armedforcesday.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/armedforcesday.org.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(5 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(5 * * * ? *)
              prod: cron(5 * * * ? *)
        domain_names:
          prod:
            - armedforcesday.org.uk
            - www.armedforcesday.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/91353c6d-9c86-440e-8f6e-087c190f3b7a
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/a62bbbd4-57d5-43f1-bf0e-f9ab66965dc9
      - name: af-grants
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/afdgrants
        buildspec: dalmatian_core_buildspec_saluki
        serve_from_subdirectory: "/grants"
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/armedforcesday.org.uk-grants"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/armedforcesday.org.uk-grants"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(6 * * * ? *)
              prod: cron(6 * * * ? *)
        domain_names:
          prod:
            - armedforcesday.org.uk
            - www.armedforcesday.org.uk
          staging:
            - af-day.staging.dxw-govpress.dalmatian.dxw.net
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/91353c6d-9c86-440e-8f6e-087c190f3b7a
          staging: arn:aws:acm:eu-west-2:666653442229:certificate/ac236a44-96ec-4224-8881-67f1d16d3252
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/a62bbbd4-57d5-43f1-bf0e-f9ab66965dc9
          staging: arn:aws:acm:us-east-1:666653442229:certificate/6ff33ae4-899a-4aa4-9ccf-60fbf42b502a
      - name: analysis
        cloudfront:
          create: true
          custom_origins:
            staging:
              - origin: analysis-dashboard-staging.s3.amazonaws.com
                id: analysis-dashboard-staging
            prod:
              - origin: analysis-dashboard-prod.s3.amazonaws.com
                id: analysis-dashboard-prod
          viewer_request_functions:
            - name: other
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: false
                prod: false
            - name: default
              redirects:
                - from_hostname_pattern: gss.civilservice.gov.uk
                  from_path_pattern: "/*"
                  to_hostname: analysisfunction.civilservice.gov.uk
                  to_path: "/$${path}"
              associate_with_default_behaviour:
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/dashboard/*"
                target_origin_id: analysis-dashboard-staging
                min_ttl: 1200
                default_ttl: 3600
                max_ttl: 86400
                associate_viewer_request_function: default
                forwarded_headers:
                  - Origin
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-analysis-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: other
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-analysis-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-analysis-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/dashboard/*"
                target_origin_id: analysis-dashboard-prod
                min_ttl: 1200
                default_ttl: 3600
                max_ttl: 86400
                associate_viewer_request_function: default
                forwarded_headers:
                  - Origin
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-analysis-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: other
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-analysis-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-analysis-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/analysis_function
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/analysisfunction.civilservice.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(7 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(7 * * * ? *)
              prod: cron(7 * * * ? *)
        domain_names:
          prod:
            - analysisfunction.civilservice.gov.uk
            - gss.civilservice.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/40a04bd0-e71c-47ee-a5bd-24fa97a1446f
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/fcdbb581-15ab-46c6-a5e5-bff512f45c66
      - name: arctic
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-arctic-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-arctic-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-arctic-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-arctic-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-arctic-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-arctic-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/arcticoffice
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/arctic.ac.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/arctic.ac.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(8 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(8 * * * ? *)
              prod: cron(8 * * * ? *)
        domain_names:
          prod:
            - arctic.ac.uk
            - www.arctic.ac.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/9f7827e8-c484-4fae-b6e9-5d933feaef49
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/a37820f7-f2dd-4ab6-bd01-c9998220f97b
      - name: bas-2025
        launch_on:
          - staging
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bas-2025-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/baspress
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/bas-2025.staging.dxw-govpress.dalmatian.dxw.net"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/bas-2025.staging.dxw-govpress.dalmatian.dxw.net"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression: cron(1/2 * * * ? *)
      - name: bas-ice-arc
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bas-ice-arc-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bas-ice-arc-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/bas-ice-arc
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/ice-arc.eu"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/ice-arc.eu"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(9 * * * ? *)
              prod: cron(9 * * * ? *)
        domain_names:
          prod:
            - ice-arc.eu
            - www.ice-arc.eu
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/0809ff77-1d1b-43e2-8078-725180d53ffd
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/45cd5307-2f70-457e-b5b8-2a0ea3d2d5cc
      - name: bas
        launch_on:
          - staging
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          origin_keepalive_timeout:
            staging: '60'
            prod: '60'
          origin_read_timeout:
            staging: '60'
            prod: '60'
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bas-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-bas-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bas-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bas-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-bas-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bas-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/baspress
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '5'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/bas.ac.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/bas.ac.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(10 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(10 * * * ? *)
              prod: cron(10 * * * ? *)
      - name: bat
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bat-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-bat-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bat-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bat-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-bat-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bat-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/bat2018
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/britishantarcticterritory.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/britishantarcticterritory.org.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(11 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(11 * * * ? *)
              prod: cron(11 * * * ? *)
        domain_names:
          prod:
            - britishantarcticterritory.org.uk
            - www.britishantarcticterritory.org.uk
            - britishantarcticterritory.uk
            - www.britishantarcticterritory.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/4f692397-bf19-4239-9c6e-8760ace1a953
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/cc513da8-7456-416e-bd53-cfce6681aa80
      - name: bce
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: false
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bce-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-bce-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bce-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bce-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-bce-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bce-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/boundary-commission-for-england
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '6'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/boundarycommissionforengland.independent.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(12 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(12 * * * ? *)
              prod: cron(12 * * * ? *)
        domain_names:
          prod:
            - boundarycommissionforengland.independent.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/fd73c019-4f7c-4e58-9916-1b09b45c9c5e
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/fb26f4de-bc06-47e9-93ab-0451ed9f4776
      - name: bikeshed
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bikeshed-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-bikeshed-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/bikeshed
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/bikeshed.dxw.net"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(14 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(14 * * * ? *)
              prod: cron(14 * * * ? *)
        domain_names:
          prod:
            - bikeshed.dxw.com
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/b36ff779-e7a2-42a6-8936-e9a38e84585f
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/2739ff58-7de0-4d14-b4fe-a8d32cc338fb
      - name: biot
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-biot-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-biot-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-biot-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-biot-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-biot-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-biot-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/biotpress
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/biot.gov.io"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/biot.gov.io"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(15 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(15 * * * ? *)
              prod: cron(15 * * * ? *)
        domain_names:
          prod:
            - biot.gov.io
            - www.biot.gov.io
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/cf7b3d86-cbd1-44b4-aa39-f72b206f70c7
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/8d4abb80-1162-4188-a0a8-cad85636000e
      - name: care-city
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-care-city-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-care-city-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-care-city-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-care-city-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-care-city-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-care-city-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/care-city
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/carecity.london"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/carecity.london"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(16 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(16 * * * ? *)
              prod: cron(16 * * * ? *)
        domain_names:
          prod:
            - carecity.org
            - www.carecity.org
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/a4ae7186-2c35-4901-9548-824c7ac93318
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/7fdbb0fa-7cba-45c2-90be-86178b91453d
      - name: cognus
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-cognus-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-cognus-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-cognus-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-cognus-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-cognus-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-cognus-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/cognus
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/cognus.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/cognus.org.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(24 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(24 * * * ? *)
              prod: cron(24 * * * ? *)
        domain_names:
          prod:
            - cognus.org.uk
            - www.cognus.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/68834538-23a9-4e24-aae9-d836e4e4b988
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/15b02b02-dcbd-4585-98ab-16d34c6fa94b
      - name: coretest
        launch_on:
          - staging
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-coretest-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-coretest-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-coretest-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_coretest_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-coretest-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-coretest-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-coretest-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_coretest_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/wordpress-core-test-site
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '1'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/coretest"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/coretest"
            container_path: "/var/www/html/wp-content/cache"
      - name: dcmsblog
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-comments-post.php"
                true_client_ip_header: true
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dcmsblog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dcmsblog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dcmsblog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-comments-post.php"
                true_client_ip_header: true
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dcmsblog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dcmsblog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dcmsblog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/dcmsblog
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/dcmsblog.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/dcmsblog.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(26 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(26 * * * ? *)
              prod: cron(26 * * * ? *)
        domain_names:
          prod:
            - dcmsblog.uk
            - www.dcmsblog.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/d6644e5b-bfba-456b-9d08-5911839bb984
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/84868056-4cb1-408b-b60c-5d5e599f630b
      - name: dfe-eah
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dfe-eah-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-dfe-eah-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dfe-eah-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dfe-eah-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-dfe-eah-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dfe-eah-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/dfe-educateagainsthate
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/educateagainsthate.com"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/educateagainsthate.com"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(27 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(27 * * * ? *)
              prod: cron(27 * * * ? *)
        domain_names:
          prod:
            - www.educateagainsthate.com
            - educateagainsthate.com
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/c5737697-c9f5-41a6-8ad5-0b579945df34
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/7416b369-5ec5-4712-9b25-94c4edce7afc
      - name: dft-think
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dft-think-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-dft-think-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dft-think-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dft-think-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-dft-think-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dft-think-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/ht-think-main
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/think.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/think.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(28 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(28 * * * ? *)
              prod: cron(28 * * * ? *)
        domain_names:
          prod:
            - think.gov.uk
            - www.think.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/84635090-6fc2-43b3-b3a3-85583ce3cf95
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/3bc86bc0-218a-4f44-8a8a-78344086f056
      - name: dsma
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dsma-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-dsma-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dsma-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dsma-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-dsma-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dsma-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/DSMA2018
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/dsma.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/dsma.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(29 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(29 * * * ? *)
              prod: cron(29 * * * ? *)
        domain_names:
          prod:
            - dsma.uk
            - www.dsma.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/aaf36e3f-4a15-4251-ab3c-8fbde86c9306
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/879f6617-6d18-49a4-adcc-70d3bdab1c18
      - name: dxw-web
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dxw-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-dxw-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dxw-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dxw-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-dxw-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-dxw-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/website
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/dxw.com"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(30 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(30 * * * ? *)
              prod: cron(30 * * * ? *)
        domain_names:
          prod:
            - dxw.com
            - www.dxw.com
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/c1536ffc-067d-4512-b115-12247b34b50e
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/613eeb29-c72a-4e39-882c-05ad4108394b
      - name: e-and-e
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-e-and-e-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-e-and-e-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-e-and-e-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-e-and-e-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-e-and-e-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-e-and-e-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/educationandemployers
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/educationandemployers.org"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/educationandemployers.org"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(32 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(32 * * * ? *)
              prod: cron(32 * * * ? *)
        domain_names:
          prod:
            - educationandemployers.org
            - www.educationandemployers.org
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/3ca8eb41-043b-4312-96be-b0652c889296
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/57e4c238-4e79-4319-8bdd-edb1ef6bc2c3
      - name: esht-me
        launch_on:
          - staging
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: false
        serve_from_subdirectory: "/medical-education"
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/esht-meded
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/esht.nhs.uk-medical-education"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/esht.nhs.uk-medical-education"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(33 * * * ? *)
              prod: cron(33 * * * ? *)
        domain_names:
          staging:
            - esht.staging.dxw-govpress.dalmatian.dxw.net
        lb_ssl_certificate:
          staging: arn:aws:acm:eu-west-2:666653442229:certificate/ad2506ab-c825-44d9-a939-b2468fd40d31
        cloudfront_ssl_certificate:
          staging: arn:aws:acm:us-east-1:666653442229:certificate/b91fee58-eec7-45cc-b0e5-deca273c059d
      - name: esht
        launch_on:
          - staging
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-esht-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-esht-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-esht-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-esht-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/esht
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/esht.nhs.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/esht.nhs.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(34 * * * ? *)
              prod: cron(34 * * * ? *)
      - name: essex-blog
        launch_on:
          - staging
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-essex-blog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-essex-blog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-essex-blog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-essex-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-essex-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-essex-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/essex-blogs
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/blog.essex.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/blog.essex.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(35 * * * ? *)
              prod: cron(35 * * * ? *)
        workers:
          - name: dxw-digest
            container_command:
              - "/usr/local/bin/run-wp-worker.sh"
              - "/var/www/html/wp-content/plugins/dxw-digest/bin/cmd.php"
              - "/var/www/html/wp-load.php"
            container_count: '1'
        domain_names:
          prod:
            - blog.essex.gov.uk
            - "*.blog.essex.gov.uk"
          staging:
            - essex-blog.staging.dxw-govpress.dalmatian.dxw.net
            - "*.essex-blog.staging.dxw-govpress.dalmatian.dxw.net"
      - name: fcdo-blog
        launch_on:
          - staging
        cloudfront:
          create: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fcdo-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fcdo-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fcdo-blog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fcdo-blog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/fcoblogs
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/blogs.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/blogs.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(35 * * * ? *)
              prod: cron(35 * * * ? *)
      - name: fcdo-lanc
        launch_on:
          - staging
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/fco-lancasterhouse
        serve_from_subdirectory: "/lancasterhouse"
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/lancaster.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/lancaster.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(36 * * * ? *)
              prod: cron(36 * * * ? *)
        domain_names:
          staging:
            - fcdo-blog.staging.dxw-govpress.dalmatian.dxw.net
        lb_ssl_certificate:
          staging: arn:aws:acm:eu-west-2:666653442229:certificate/ebbf3e54-f90a-4d24-bcc6-9741cd75e60b
        cloudfront_ssl_certificate:
          staging: arn:aws:acm:us-east-1:666653442229:certificate/230739ef-12f2-4dcf-92d4-b7306b801226
      - name: fcdo-proto
        launch_on:
          - staging
        cloudfront:
          create: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fcdo-proto-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fcdo-proto-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fcdo-proto-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fcdo-proto-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/fcodigital
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/protocol.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/protocol.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(37 * * * ? *)
              prod: cron(37 * * * ? *)
      - name: fcdo-stor
        launch_on:
          - staging
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/fcolf2018
        serve_from_subdirectory: "/stories"
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/stories.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/stories.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(38 * * * ? *)
              prod: cron(38 * * * ? *)
        domain_names:
          staging:
            - fcdo-blog.staging.dxw-govpress.dalmatian.dxw.net
        lb_ssl_certificate:
          staging: arn:aws:acm:eu-west-2:666653442229:certificate/ebbf3e54-f90a-4d24-bcc6-9741cd75e60b
        cloudfront_ssl_certificate:
          staging: arn:aws:acm:us-east-1:666653442229:certificate/230739ef-12f2-4dcf-92d4-b7306b801226
      - name: fleming
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fleming-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-fleming-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fleming-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                  - low-bandwidth
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fleming-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-fleming-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-fleming-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                  - low-bandwidth
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/fleming-fund
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/flemingfund.org"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/flemingfund.org"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression: cron(1,31 * * * ? *)
        domain_names:
          prod:
            - flemingfund.org
            - www.flemingfund.org
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/e8e37a57-3c38-48c9-a9c3-dbad3195d094
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/1a260c2d-5a8c-4fc4-93b6-69de1d2f2ab6
      - name: gosc-test
        launch_on: staging
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-gosc-test-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                  - Origin
                  - X-WP-Nonce
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-gosc-test-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-gosc-test-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-gosc-test-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-gosc-test-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                  - Origin
                  - X-WP-Nonce
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-gosc-test-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-gosc-test-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-gosc-test-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/gosc-test
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/gosc-test"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/gosc-test"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression: cron(1,31 * * * ? *)
      - name: hackneyrec
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-hackneyrec-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-hackneyrec-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-hackneyrec-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-hackneyrec-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-hackneyrec-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-hackneyrec-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/fyihackney
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/recruitment.hackney.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/recruitment.hackney.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(40 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(40 * * * ? *)
              prod: cron(40 * * * ? *)
        domain_names:
          prod:
            - recruitment.hackney.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/6af9c927-cfe1-4050-84e4-a2c969b85170
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/3c356254-51bf-464d-89c0-67e73ec99f88
      - name: healthy-lon
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-healthy-lon-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-healthy-lon-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-healthy-lon-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-healthy-lon-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-healthy-lon-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-healthy-lon-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/healthylondon
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/healthylondon.org"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/healthylondon.org"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(42 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(42 * * * ? *)
              prod: cron(42 * * * ? *)
        domain_names:
          prod:
            - www.transformationpartners.nhs.uk
            - transformationpartners.nhs.uk
            - www.transformationpartnersinhealthandcare.nhs.uk
            - transformationpartnersinhealthandcare.nhs.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/dadda147-6c12-4771-8ecb-b171bfaff0ec
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/985898a7-6704-467d-a91b-10416a126b5d
      - name: icai
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-icai-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-icai-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-icai-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-icai-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-icai-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-icai-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/icai
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/icai.independent.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/icai.independent.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(43 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(43 * * * ? *)
              prod: cron(43 * * * ? *)
        domain_names:
          prod:
            - icai.independent.gov.uk
            - www.icai.independent.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/ebc74569-334b-4c61-98dc-9211fd83f370
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/7dddc1be-34ca-45ca-bd0b-89cfd5c542ec
      - name: itf
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-itf-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-itf-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-itf-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-itf-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-itf-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-itf-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/inspiringthefuture
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/inspiringthefuture.org"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/inspiringthefuture.org"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(47 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(47 * * * ? *)
              prod: cron(47 * * * ? *)
        domain_names:
          prod:
            - inspiringthefuture.org
            - www.inspiringthefuture.org
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/2488d218-cc1d-4d11-8616-188f9ac32aba
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/fe941217-034d-41f5-b78e-c4982aa84bc2
      - name: lamb-cs
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-cs-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-lamb-cs-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-cs-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-cs-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-lamb-cs-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-cs-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/countryshow18
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/lambethcountryshow.co.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/lambethcountryshow.co.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(48 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(48 * * * ? *)
              prod: cron(48 * * * ? *)
        domain_names:
          prod:
            - lambethcountryshow.co.uk
            - www.lambethcountryshow.co.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/8526d34a-9b1f-4988-8c67-1db9c567fb90
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/256d5196-b659-4ef5-8000-f21ffdef510a
      - name: lamb-love
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-love-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-lamb-love-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-love-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-love-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-lamb-love-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-love-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/lovelambethaugust2018
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/love.lambeth.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/love.lambeth.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(49 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(49 * * * ? *)
              prod: cron(49 * * * ? *)
        domain_names:
          prod:
            - love.lambeth.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/3005d03f-6fc1-4f22-9d7a-3764b82dfff8
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/f19b919d-e2d2-4e52-bd5b-97fb905e8b76
      - name: lamb-made
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-made-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-lamb-made-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-made-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-made-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-lamb-made-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-made-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/lambethmade
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/lambethmade.org"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/lambethmade.org"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(50 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(50 * * * ? *)
              prod: cron(50 * * * ? *)
        domain_names:
          prod:
            - lambethmade.org.uk
            - www.lambethmade.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/f5721e2d-a7eb-4dc4-8927-0b2c5eaaae4f
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/ad525abe-6ee7-4ba3-80f7-897a1483e0a1
      - name: lamb-tog
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-tog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-lamb-tog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-tog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-tog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-lamb-tog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-lamb-tog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/lambethtogether
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/lambethtogether.net"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/lambethtogether.net"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(51 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(51 * * * ? *)
              prod: cron(51 * * * ? *)
        domain_names:
          prod:
            - lambethtogether.net
            - www.lambethtogether.net
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/b79c3749-356c-4e19-935c-25e9e5276711
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/77dc3f3a-7ab4-4484-9e5f-a55e4313d385
      - name: natcen-scot
        launch_on:
          - staging
        cloudfront:
          create: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-natcen-scot-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-natcen-scot-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-natcen-scot-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-natcen-scot-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/whatscotlandthinks
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/whatscotlandthinks.org"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/whatscotlandthinks.org"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(56 * * * ? *)
              prod: cron(56 * * * ? *)
      - name: natcen-uk
        launch_on:
          - staging
        cloudfront:
          create: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-natcen-uk-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-natcen-uk-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-natcen-uk-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-natcen-uk-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/natcen
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/whatukthinks.org"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/whatukthinks.org"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(57 * * * ? *)
              prod: cron(57 * * * ? *)
      - name: nhs-england
        launch_on:
          - staging
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-admin/*"
                  - "*/wp-login.php"
                  - "*/wp-activate.php"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-nhs-england-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-content/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-nhs-england-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-nhs-england-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-admin/*"
                  - "*/wp-login.php"
                  - "*/wp-activate.php"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-nhs-england-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-content/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-nhs-england-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-nhs-england-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/nhs-england
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/england.nhs.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/england.nhs.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(37 * * * ? *)
              prod: cron(37 * * * ? *)
      - name: nhs-ltp
        launch_on:
          - staging
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-nhs-ltp-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-nhs-ltp-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-nhs-ltp-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-nhs-ltp-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-nhs-ltp-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-nhs-ltp-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/nhs-longtermplan
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/longtermplan.nhs.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/longtermplan.nhs.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(36 * * * ? *)
              prod: cron(36 * * * ? *)
      - name: ons-careers
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-careers-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-careers-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-careers-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-careers-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/ons-careers
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/careers.ons.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/careers.ons.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(58 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(58 * * * ? *)
              prod: cron(58 * * * ? *)
        domain_names:
          prod:
            - careers.ons.gov.uk
            - www.careers.ons.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/7453ab83-b47a-41e9-9b81-dc7390661c2a
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/04bbacba-9486-4c0b-bda4-7c73f581e792
      - name: ons-cop
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-cop-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-ons-cop-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-cop-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-cop-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-ons-cop-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-cop-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/ons-cop
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/code.statisticsauthority.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/code.statisticsauthority.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(59 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(59 * * * ? *)
              prod: cron(59 * * * ? *)
        domain_names:
          prod:
            - code.statisticsauthority.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/97b4a517-70f9-4ebc-be84-b238416994ab
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/504cb279-18c9-41af-992a-1f924d0b7431
      - name: ons-osr
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          origin_keepalive_timeout:
            staging: '60'
            prod: '60'
          origin_read_timeout:
            staging: '60'
            prod: '60'
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-osr-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-ons-osr-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-osr-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-osr-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-ons-osr-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-osr-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/ons-osr
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/osr.statisticsauthority.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/osr.statisticsauthority.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(2 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(2 * * * ? *)
              prod: cron(2 * * * ? *)
        domain_names:
          prod:
            - osr.statisticsauthority.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/97b4a517-70f9-4ebc-be84-b238416994ab
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/504cb279-18c9-41af-992a-1f924d0b7431
      - name: ons-uksa
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-uksa-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-ons-uksa-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-uksa-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-uksa-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-ons-uksa-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-uksa-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/ons-uksa
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/uksa.statisticsauthority.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/uksa.statisticsauthority.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(3 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(3 * * * ? *)
              prod: cron(3 * * * ? *)
        domain_names:
          prod:
            - uksa.statisticsauthority.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/97b4a517-70f9-4ebc-be84-b238416994ab
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/504cb279-18c9-41af-992a-1f924d0b7431
      - name: ons-www
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-www-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-ons-www-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-www-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-www-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-ons-www-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ons-www-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/ons-www
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/statisticsauthority.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/statisticsauthority.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(4 * * * ? *)
              prod: cron(4 * * * ? *)
        domain_names:
          prod:
            - statisticsauthority.gov.uk
            - www.statisticsauthority.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/97b4a517-70f9-4ebc-be84-b238416994ab
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/504cb279-18c9-41af-992a-1f924d0b7431
      - name: osdi
        cloudfront:
          create: false
          offline_page_http_status:
            403: "/index.html"
            404: "/index.html"
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/OSDI
        buildspec: dalmatian_core_buildspec_default
        health_check_path: "/"
        container_port: 4000
        container_command:
          - "./docker-entrypoint.sh"
          - node
          - server.js
        domain_names:
          prod:
            - osdi.safetytechnetwork.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/a3a29e3c-d1ae-4fff-a86f-ca62a0e3ae9c
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/807a90ff-c7f0-47a4-b084-4770e037ed51
      - name: osteo-cpd
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-osteo-cpd-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-osteo-cpd-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-osteo-cpd-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-osteo-cpd-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-osteo-cpd-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-osteo-cpd-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/theme-goc-cpd
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/cpd.osteopathy.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/cpd.osteopathy.org.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(5 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(5 * * * ? *)
              prod: cron(5 * * * ? *)
        domain_names:
          prod:
            - cpd.osteopathy.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/dea9afb1-2a69-4c48-a4ae-9619d13e8c2b
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/789dd48f-da24-45c2-80f0-58736723d9b1
      - name: osteo-std
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-osteo-std-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-osteo-std-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-osteo-std-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-osteo-std-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/theme-goc
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/standards.osteopathy.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/standards.osteopathy.org.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(6 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(6 * * * ? *)
              prod: cron(6 * * * ? *)
        domain_names:
          prod:
            - standards.osteopathy.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/bad5841d-14b2-410d-bf27-ac82aadc03f8
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/d1540f6a-1fc5-4c0f-ac4a-4b28b84fc4a2
      - name: psaa
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-psaa-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-psaa-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-psaa-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-psaa-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-psaa-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-psaa-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/psaa
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/psaa.co.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/psaa.co.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(7 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(7 * * * ? *)
              prod: cron(7 * * * ? *)
        domain_names:
          prod:
            - psaa.co.uk
            - www.psaa.co.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/43a0c057-32e3-4c02-a207-3ba6343a9421
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/fcf67e02-aed9-4c84-b141-ae3156b7344a
      - name: psc
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-psc-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-psc-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-psc-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-psc-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-psc-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-psc-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/patientsafety
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/patientsafetycommissioner.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/patientsafetycommissioner.org.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression: cron(1,31 * * * ? *)
        domain_names:
          prod:
            - patientsafetycommissioner.org.uk
            - www.patientsafetycommissioner.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/17a26551-f435-49ae-9148-bf27f2b8faa7
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/2f0efec8-f05f-4d05-8e8a-614b087146e9
      - name: refugee
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          bypass_protection:
            staging:
              enabled: true
            prod:
              enabled: true
              exclude_domains:
                - refugeecouncil.org.uk
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                  - "/intranet/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-refugee-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-refugee-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-refugee-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                  - "/intranet/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-refugee-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-refugee-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-refugee-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/refugeecouncil
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/refugeecouncil.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/refugeecouncil.org.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(8 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(8 * * * ? *)
              prod: cron(8 * * * ? *)
      - name: saluki-sub
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: false
        serve_from_subdirectory: "/saluki-subdir-test"
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/saluki-test-site
        buildspec: buildspec.yml
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/saluki-sub"
            container_path: "/var/www/html/wp-content/saluki-subdir-test/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(9 * * * ? *)
              prod: cron(9 * * * ? *)
        domain_names:
          prod:
            - saluki-test.prod.dxw-govpress.dalmatian.dxw.net
          staging:
            - saluki-test.staging.dxw-govpress.dalmatian.dxw.net
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/e1f69c83-61c8-4563-a586-946eb2383e57
          staging: arn:aws:acm:eu-west-2:666653442229:certificate/c6a8d832-9bfb-4e6c-a762-815f76e2a42c
      - name: saluki-test
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        blue_green:
          prod:
            enabled: true
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-saluki-test-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-saluki-test-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-saluki-test-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-saluki-test-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/saluki-test-site
        buildspec: buildspec.yml
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/saluki-test"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/saluki-test"
            container_path: "/var/www/html/wp-content/cache"
          - name: clamav-lib
            host_path: "/mnt/efs/clamav/lib"
            container_path: "/var/lib/clamav"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(10 * * * ? *)
              prod: cron(10 * * * ? *)
      - name: settle
        cloudfront:
          create: true
          custom_origins:
            staging:
              - origin: settle-reports-staging.s3.amazonaws.com
                id: settle-reports-staging
            prod:
              - origin: settle-reports-prod.s3.amazonaws.com
                id: settle-reports-prod
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/reports/*"
                target_origin_id: settle-reports-staging
                min_ttl: 1200
                default_ttl: 3600
                max_ttl: 86400
                forwarded_headers:
                  - Origin
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-settle-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-settle-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-settle-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/reports/*"
                target_origin_id: settle-reports-prod
                min_ttl: 1200
                default_ttl: 3600
                max_ttl: 86400
                forwarded_headers:
                  - Origin
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-settle-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-settle-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-settle-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/settle
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/settlegroup.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(11 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(11 * * * ? *)
              prod: cron(11 * * * ? *)
        domain_names:
          prod:
            - settlegroup.org.uk
            - www.settlegroup.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/69f6a461-4ba1-4d0b-97db-400ef88d58b7
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/988bc491-9d56-410b-9633-ae1c8b2489b9
      - name: stg-aos
        launch_on:
          - staging
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/sghaos
        buildspec: dalmatian_core_buildspec_saluki
        serve_from_subdirectory: "/aos"
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/stgeorges.nhs.uk-aos"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/stgeorges.nhs.uk-aos"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(12 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(12 * * * ? *)
              prod: cron(12 * * * ? *)
        domain_names:
          staging:
            - stg.staging.dxw-govpress.dalmatian.dxw.net
        lb_ssl_certificate:
          staging: arn:aws:acm:eu-west-2:666653442229:certificate/f354f2bc-3a32-46d0-8d28-e3294efe8f2e
        cloudfront_ssl_certificate:
          staging: arn:aws:acm:us-east-1:666653442229:certificate/2fb9861d-56e3-4b7f-86aa-1821052ba3f9
      - name: stg
        launch_on:
          - staging
        cloudfront:
          create: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-stg-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-stg-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-stg-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-stg-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/stghpress
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/stgeorges.nhs.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/stgeorges.nhs.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(13 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(13 * * * ? *)
              prod: cron(13 * * * ? *)
      - name: tke
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-tke-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-tke-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-tke-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-tke-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-tke-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-tke-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/trade-knowledge
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/trade-knowledge.net"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/trade-knowledge.net"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(15 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(15 * * * ? *)
              prod: cron(15 * * * ? *)
        domain_names:
          prod:
            - trade-knowledge.net
            - www.trade-knowledge.net
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/87bd0353-503b-4f8a-90e0-85e6463cc850
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/3e5d23ed-2268-4cb5-9a01-642df5bed64d
      - name: ukaea
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ukaea-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-ukaea-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ukaea-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ukaea-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-ukaea-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-ukaea-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/ukaea
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/ukaea.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/ukaea.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression: cron(1,31 * * * ? *)
        domain_names:
          prod:
            - www.ukaea.org
            - ukaea.org
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/394776bf-e26a-45ea-8338-44ddcbd13126
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/4522e14a-be54-41b2-ad61-c0da44d1b0d1
      - name: unialliance
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_origins:
            prod:
              - origin: dta.unialliance.ac.uk
                id: external-dta-endpoint
                origin_read_timeout: '60'
                origin_keepalive_timeout: '60'
            staging:
              - origin: dta.unialliance.ac.uk
                id: external-dta-endpoint
                origin_read_timeout: '60'
                origin_keepalive_timeout: '60'
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/dta/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: external-dta-endpoint
                min_ttl: 0
                default_ttl: 0
                max_ttl: 0
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-admin/*"
                  - "*/wp-login.php"
                  - "*/wp-activate.php"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-unialliance-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-content/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-unialliance-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-unialliance-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/dta/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: external-dta-endpoint
                min_ttl: 0
                default_ttl: 0
                max_ttl: 0
                managed_cache_policy: CachingDisabled
                managed_origin_policy: AllViewerExceptHostHeader
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-admin/*"
                  - "*/wp-login.php"
                  - "*/wp-activate.php"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-unialliance-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-content/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-unialliance-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-unialliance-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/uatheme
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/unialliance.ac.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/unialliance.ac.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(18 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(18 * * * ? *)
              prod: cron(18 * * * ? *)
        domain_names:
          prod:
            - unialliance.ac.uk
            - www.unialliance.ac.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/a3f4d488-fc56-49f6-8cc4-728abc5355c8
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/614c473f-00fa-44bb-9fe1-cc3e5c25455a
      - name: unimyths
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-unimyths-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-unimyths-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-unimyths-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-unimyths-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-unimyths-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-unimyths-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/uatheme
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/unimythsbusted.co.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/unimythsbusted.co.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression: cron(1,31 * * * ? *)
        domain_names:
          prod:
            - unimythsbusted.co.uk
            - unimythsbusted.com
            - www.unimythsbusted.co.uk
            - www.unimythsbusted.com
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/9f777f92-86db-44d6-9a89-a4336a779e6e
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/eae06d0f-cea0-4493-9922-a6a9231e8e9b
      - name: v-to-c
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-v-to-c-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-v-to-c-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-v-to-c-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-v-to-c-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-v-to-c-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-v-to-c-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/valleys-to-coast
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/v2c.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(19 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(19 * * * ? *)
              prod: cron(19 * * * ? *)
        domain_names:
          prod:
            - valleystocoast.wales
            - www.valleystocoast.wales
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/ab2582ed-9b8d-4ace-96c0-3db48ba6d2ec
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/144d0ea2-2972-4db2-a4ad-28d72ba7a7b4
      - name: v2c-llanw
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-v2c-llanw-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-v2c-llanw-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-v2c-llanw-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-v2c-llanw-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-v2c-llanw-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-v2c-llanw-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/v2c-llanw-wales
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/llanw.wales"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/llanw.wales"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(20 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(20 * * * ? *)
              prod: cron(20 * * * ? *)
        domain_names:
          prod:
            - llanw.wales
            - www.llanw.wales
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/06ee2831-6f01-4e46-8900-1bebc6ea2409
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/42ea778c-ccea-4df7-9c12-7548ed6bf482
      - name: younghack
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-younghack-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-younghack-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-younghack-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-younghack-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: dxw-govpress-younghack-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-govpress-younghack-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/younghackney
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/younghackney.org"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/younghackney.org"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(21 1 * * ? *)
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(21 * * * ? *)
              prod: cron(21 * * * ? *)
        domain_names:
          prod:
            - www.younghackney.org
            - younghackney.org
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:666653442229:certificate/bd646a43-c842-4f14-8da0-4d2f42264358
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:666653442229:certificate/27e496aa-1a07-43d1-b8bd-536cc0b704b8
  dxw-pentest:
    account_id: '932446864135'
    cluster:
      create: true
    rds:
      - identifier: pentestvone
        instance_class:
          staging: db.t3.small
          prod: db.t3.small
        engine: mysql
        engine_version: '8.0'
        db_name: saluki
    shared_loadbalancer:
      - name: shared-1
        in_use_by:
          - saluki
    environments:
      staging:
        track_revision: develop
        instance_type: t3.medium
        logspout_command:
          - syslog+tls://logs7.papertrailapp.com:34880
        min_servers: 2
        max_servers: 4
        enable_ecs_vpc_flow_logs: true
    services:
      - name: saluki
        monitoring:
          staging:
            opsgenie_alerts:
              enabled: false
        blue_green:
          staging:
            enabled: true
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-pentest-saluki-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: dxw-pentest-saluki-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/saluki-test-site
        buildspec: buildspec.yml
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/saluki"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/saluki"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(10 * * * ? *)
  esht:
    account_id: '975049938928'
    cluster:
      create: true
    environments:
      prod:
        track_revision: main
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:53372
        enable_efs: 'true'
        encrypt_efs: 'false'
        efs_dirs: []
        syslog_papertrail_endpoint: logs3.papertrailapp.com:53372
    aurora:
      - identifier: sqlcluster
        minimum_size:
          prod: 1
        maximum_size:
          prod: 4
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: sqlcluster
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          shared_loadbalancers:
            - esht-1
    shared_loadbalancer:
      - name: esht-1
        global_accelerator:
          prod: true
        in_use_by:
          - web
          - me
    services:
      - name: me
        launch_on:
          - prod
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: false
        serve_from_subdirectory: "/medical-education"
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/esht-meded
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/esht.nhs.uk-medical-education"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/esht.nhs.uk-medical-education"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - esht.nhs.uk
            - www.esht.nhs.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:975049938928:certificate/b7080462-1309-4dee-acde-6a7f81fee747
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:975049938928:certificate/3e152cda-0aa2-4043-9c4c-b57892ea4dfb
      - name: web
        launch_on:
          - prod
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                prod: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: esht-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: esht-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: esht-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/esht
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/esht.nhs.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/esht.nhs.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - www.esht.nhs.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:975049938928:certificate/b7080462-1309-4dee-acde-6a7f81fee747
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:975049938928:certificate/3e152cda-0aa2-4043-9c4c-b57892ea4dfb
  essex:
    account_id: '891376962999'
    hosted_zones:
      - domain: blog.essex.gov.uk
        alias_records:
          - name: blog.essex.gov.uk
            value: d16gq7a9298jsj.cloudfront.net.
        cname_records:
          - name: "*.blog.essex.gov.uk"
            value: d16gq7a9298jsj.cloudfront.net.
          - name: _3aa03a52a3f52f6af532577306622f9f.blog.essex.gov.uk
            value: _17efa8c2971fb5d6e23282a56346be29.sdgjtdhdhz.acm-validations.aws.
          - name: _82a9e6aa4d5a9993072e29b62b716e99.blog.essex.gov.uk
            value: _dbe414267cdbe380ba4ef1c0801ff718.acm-validations.aws.
    rds:
      - identifier: essex
        instance_class:
          prod: db.t3.medium
        engine: mysql
        engine_version: 8.0.42
        db_name: essex
    cluster:
      create: true
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          shared_loadbalancers:
            - essex-1
    shared_loadbalancer:
      - name: essex-1
        global_accelerator:
          prod: true
        in_use_by:
          - blog
    environments:
      prod:
        track_revision: main
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:18460
        instance_type: t3.medium
        max_instance_lifetime: 604800
        min_servers: 3
        max_servers: 6
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/blog.essex.gov.uk
        syslog_papertrail_endpoint: logs3.papertrailapp.com:18460
    services:
      - name: blog
        launch_on:
          - prod
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                  - "/subscribe/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: essex-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: essex-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: essex-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/essex-blogs
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/blog.essex.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/blog.essex.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              prod: cron(35 * * * ? *)
        workers:
          - name: dxw-digest
            container_command:
              - "/usr/local/bin/run-wp-worker.sh"
              - "/var/www/html/wp-content/plugins/dxw-digest/bin/cmd.php"
              - "/var/www/html/wp-load.php"
            container_count: '1'
        domain_names:
          prod:
            - blog.essex.gov.uk
            - "*.blog.essex.gov.uk"
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:891376962999:certificate/47c96c5b-af17-471e-89fc-bc403a7fbc32
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:891376962999:certificate/d41dd9ff-7041-4c85-8130-02278ccee769
  fcdo:
    account_id: '799898416595'
    cluster:
      create: true
    environments:
      prod:
        track_revision: main
        instance_type: t3.medium
        min_servers: 4
        max_servers: 4
        logspout_command:
          - syslog+tls://logs2.papertrailapp.com:48502
        enable_efs: 'true'
        syslog_papertrail_endpoint: logs2.papertrailapp.com:48502
    aurora:
      - identifier: sqlcluster
        minimum_size:
          staging: 0.5
          prod: 2
        maximum_size:
          staging: 2
          prod: 4
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: sqlcluster
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
              - "/wp-admin/admin-ajax.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          shared_loadbalancers:
            - fcdo-1
    shared_loadbalancer:
      - name: fcdo-1
        global_accelerator:
          prod: true
        in_use_by:
          - blogs
          - lancaster
          - stories
          - protocol
    services:
      - name: blogs
        launch_on:
          - prod
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              redirects:
                - from_hostname_pattern: www.blogs.fcdo.gov.uk
                  from_path_pattern: "/*"
                  to_hostname: blogs.fcdo.gov.uk
                  to_path: "/$${path}"
                - from_hostname_pattern: www.blogs.fco.gov.uk
                  from_path_pattern: "/*"
                  to_hostname: blogs.fcdo.gov.uk
                  to_path: "/$${path}"
                - from_hostname_pattern: blogs.fco.gov.uk
                  from_path_pattern: "/*"
                  to_hostname: blogs.fcdo.gov.uk
                  to_path: "/$${path}"
              associate_with_default_behaviour:
                prod: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: fcdo-blogs-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-content/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: fcdo-blogs-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/fcoblogs
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/blogs.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/blogs.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - blogs.fcdo.gov.uk
            - blogs.fco.gov.uk
            - www.blogs.fco.gov.uk
            - www.blogs.fcdo.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:799898416595:certificate/e3b63a18-032f-4fca-8128-cf3b5ea9fd9e
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:799898416595:certificate/738d15d8-1856-451b-afb8-9c21f6271af1
      - name: lancaster
        launch_on:
          - prod
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/fco-lancasterhouse
        serve_from_subdirectory: "/lancasterhouse"
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/lancaster.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/lancaster.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - blogs.fcdo.gov.uk
            - blogs.fco.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:799898416595:certificate/e3b63a18-032f-4fca-8128-cf3b5ea9fd9e
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:799898416595:certificate/738d15d8-1856-451b-afb8-9c21f6271af1
      - name: protocol
        launch_on:
          - prod
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                prod: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: fcdo-protocol-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/fcodigital
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/protocol.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/protocol.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - protocol.fcdo.gov.uk
            - protocol.fco.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:799898416595:certificate/f7d91ae9-3296-4ee3-9b3a-4f5054b3c6b8
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:799898416595:certificate/e1f6ae8b-0d2b-4869-a097-ee72cbb3030e
      - name: stories
        launch_on:
          - prod
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/fcolf2018
        serve_from_subdirectory: "/stories"
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/stories.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/stories.fcdo.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - blogs.fcdo.gov.uk
            - blogs.fco.gov.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:799898416595:certificate/e3b63a18-032f-4fca-8128-cf3b5ea9fd9e
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:799898416595:certificate/738d15d8-1856-451b-afb8-9c21f6271af1
  gds:
    account_id: '841480728064'
    cluster:
      create: true
    aurora:
      - identifier: cluster1
        minimum_size:
          staging: 0.5
          prod: 2
        maximum_size:
          staging: 2
          prod: 45
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: cluster1
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          shared_loadbalancers:
            - gds-1
    shared_loadbalancer:
      - name: gds-1
        global_accelerator:
          prod: true
        in_use_by:
          - blog
          - campaign
          - blogdev
    environments:
      prod:
        track_revision: main
        logspout_command:
          - syslog+tls://logs6.papertrailapp.com:18341
        instance_type: t3.medium
        max_instance_lifetime: 604800
        min_servers: 6
        max_servers: 12
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/blog.gov.uk
          - wp-cache/blog.gov.uk
          - wp-uploads/campaign.gov.uk
          - wp-cache/campaign.gov.uk
          - wp-uploads/dev.blog.gov.uk
          - wp-cache/dev.blog.gov.uk
        syslog_papertrail_endpoint: logs6.papertrailapp.com:18341
      staging:
        track_revision: develop
        logspout_command:
          - syslog+tls://logs4.papertrailapp.com:16852
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/blog.gov.uk
          - wp-cache/blog.gov.uk
          - wp-uploads/campaign.gov.uk
          - wp-cache/campaign.gov.uk
          - wp-uploads/dev.blog.gov.uk
          - wp-cache/dev.blog.gov.uk
        syslog_papertrail_endpoint: logs4.papertrailapp.com:16852
    services:
      - name: blog
        enable_max_one_container_per_instance: false
        launch_on:
          - staging
          - prod
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: true
              cloudfront_5xx:
                enabled: true
                threshold: '95'
                evaluation_periods: '5'
            ghost_inspector:
              enabled: false
        cloudfront:
          create: false
          origin_keepalive_timeout:
            staging: '60'
            prod: '60'
          origin_read_timeout:
            staging: '60'
            prod: '60'
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-blog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-blog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/gds-blogs
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_count: '6'
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/blog.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/blog.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
          - name: clamav-lib
            host_path: "/mnt/efs/clamav/lib"
            container_path: "/var/lib/clamav"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(21 * * * ? *)
              prod: cron(21 * * * ? *)
        workers:
          - name: dxw-digest
            container_command:
              - "/usr/local/bin/run-wp-worker.sh"
              - "/var/www/html/wp-content/plugins/dxw-digest/bin/cmd.php"
              - "/var/www/html/wp-load.php"
            container_count: 1
          - name: dxw-comment-notifications
            container_command:
              - "/usr/local/bin/run-wp-worker.sh"
              - "/var/www/html/wp-content/plugins/dxw-comment-notifications/bin/cmd.php"
              - "/var/www/html/wp-load.php"
            container_count: 1
        domain_names:
          prod:
            - blog.gov.uk
            - "*.blog.gov.uk"
          staging:
            - blog.staging.gds.dalmatian.dxw.net
            - "*.blog.staging.gds.dalmatian.dxw.net"
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:841480728064:certificate/9c71c86f-12e8-428e-bfea-89738b3c6edd
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:841480728064:certificate/64529a20-300b-4eb2-9e2c-5ef4c64c7a7a
      - name: blogdev
        launch_on:
          - staging
        cloudfront:
          create: true
          origin_keepalive_timeout:
            staging: '60'
            prod: '60'
          origin_read_timeout:
            staging: '60'
            prod: '60'
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-blogdev-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-blogdev-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-blogdev-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-blogdev-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/gds-blogs
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_count: '1'
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/dev.blog.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/dev.blog.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
          - name: clamav-lib
            host_path: "/mnt/efs/clamav/lib"
            container_path: "/var/lib/clamav"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              staging: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(21 * * * ? *)
        workers:
          - name: dxw-virus-scanner
            container_command:
              - "/usr/local/bin/run-wp-worker.sh"
              - "/var/www/html/wp-content/plugins/dxw-virus-scanner/bin/cmd.php"
              - "/var/www/html/wp-load.php"
            container_count: 1
      - name: campaign
        enable_max_one_container_per_instance: false
        launch_on:
          - staging
          - prod
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: true
              cloudfront_5xx:
                enabled: true
                threshold: '95'
                evaluation_periods: '5'
            ghost_inspector:
              enabled: false
        cloudfront:
          create: false
          origin_keepalive_timeout:
            staging: '60'
            prod: '60'
          origin_read_timeout:
            staging: '60'
            prod: '60'
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-campaign-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-campaign-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-campaign-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: gds-campaign-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/gds-campaigns
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '4'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/campaign.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/campaign.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
          - name: clamav-lib
            host_path: "/mnt/efs/clamav/lib"
            container_path: "/var/lib/clamav"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              staging: cron(41 * * * ? *)
              prod: cron(41 * * * ? *)
        domain_names:
          prod:
            - campaign.gov.uk
            - "*.campaign.gov.uk"
          staging:
            - campaign.staging.gds.dalmatian.dxw.net
            - "*.campaign.staging.gds.dalmatian.dxw.net"
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:841480728064:certificate/6320dd93-46e7-41fa-8379-85b4b6a8c4fa
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:841480728064:certificate/59a65658-238c-47ef-b4b1-75c9873c3a28
  judiciary-int:
    account_id: '571543455290'
    cluster:
      create: true
    aurora:
      - identifier: intranet
        minimum_size:
          staging: 0.5
          prod: 4
        maximum_size:
          staging: 3
          prod: 8
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: intranet
    opensearch_cluster:
      - identifier: judiciary-int
        in_use_by:
          - intranet
        version: 3.1
        master_enabled: false
        instance_count: 3
        instance_type: t3.small.elasticsearch
        warm_enabled: false
        volume_size: 20
        parameter_store_path_opensearch_cluster_url_name: ELASTICSEARCH_URL
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          service_loadbalancers:
            - intranet
    environments:
      staging:
        track_revision: develop
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs.papertrailapp.com:26052
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/intranet.judiciary.uk
        syslog_papertrail_endpoint: logs.papertrailapp.com:26052
      prod:
        track_revision: main
        instance_type: t3.medium
        max_instance_lifetime: 604800
        min_servers: 3
        max_servers: 3
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:17321
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/intranet.judiciary.uk
        syslog_papertrail_endpoint: logs3.papertrailapp.com:17321
    services:
      - name: intranet
        enable_max_one_container_per_instance: false
        cloudfront:
          create: true
          origin_keepalive_timeout:
            staging: '60'
            prod: '60'
          origin_read_timeout:
            staging: '60'
            prod: '60'
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-content/plugins/*"
                  - "/wp-content/themes/*"
                  - "/wp-includes/*"
                  - "/wp-admin/css/*"
                  - "/wp-admin/js/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: judiciary-int-intranet-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                  - "/openid-connect-authorize"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: judiciary-int-intranet-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
            prod:
              - path_patterns:
                  - "/wp-content/plugins/*"
                  - "/wp-content/themes/*"
                  - "/wp-includes/*"
                  - "/wp-admin/css/*"
                  - "/wp-admin/js/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: judiciary-int-intranet-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                  - "/openid-connect-authorize"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: judiciary-int-intranet-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/judiciary-intranet
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '4'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/intranet.judiciary.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(2,32 * * * ? *)
              prod: cron(1,21,41 * * * ? *)
        domain_names:
          prod:
            - intranet.judiciary.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:571543455290:certificate/716052c2-b384-48f4-9b01-eba1f67a20f6
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:571543455290:certificate/0a3b8dee-3e50-4cf5-8bdf-89a2060a239b
  judiciary:
    account_id: '571543455290'
    cluster:
      create: true
    rds:
      - identifier: judiciary
        instance_class:
          staging: db.t3.small
          prod: db.t3.large
        engine: mysql
        engine_version: 8.0.42
        db_name: judiciary
    opensearch_cluster:
      - identifier: judiciary
        in_use_by:
          - web
        version: 3.1
        master_enabled: false
        instance_count: 3
        instance_type: t3.small.elasticsearch
        warm_enabled: false
        volume_size: 20
        parameter_store_path_opensearch_cluster_url_name: ELASTICSEARCH_URL
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
              - "/wp-json/"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          service_loadbalancers:
            - web
    environments:
      staging:
        track_revision: develop
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs.papertrailapp.com:26052
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/judiciary.uk
        syslog_papertrail_endpoint: logs.papertrailapp.com:26052
      prod:
        track_revision: main
        instance_type: t3.medium
        max_instance_lifetime: 604800
        min_servers: 3
        max_servers: 3
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:17321
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/judiciary.uk
        syslog_papertrail_endpoint: logs3.papertrailapp.com:17321
    services:
      - name: web
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: true
              cloudfront_5xx:
                enabled: true
                threshold: '95'
                evaluation_periods: '5'
            ghost_inspector:
              enabled: false
        cloudfront:
          create: true
          origin_keepalive_timeout:
            staging: '60'
            prod: '60'
          origin_read_timeout:
            staging: '60'
            prod: '60'
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: judiciary-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: judiciary-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: judiciary-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wp-settings-*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: judiciary-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: judiciary-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: judiciary-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wp-settings-*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/judiciary
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/judiciary.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(2,32 * * * ? *)
              prod: cron(1,20,40 * * * ? *)
        domain_names:
          prod:
            - www.judiciary.uk
            - judiciary.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:571543455290:certificate/bb46bffe-d621-440b-81c3-aaad0a5a250c
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:571543455290:certificate/bc5921b8-bb48-4fb7-a1c6-180f348de4a5
  mettvh:
    account_id: '876401144910'
    cluster:
      create: true
    waf:
      - name: default
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
    rds:
      - identifier: web
        instance_class:
          staging: db.t3.small
          prod: db.t3.small
        engine: postgres
        engine_version: '16.8'
        db_name: web
        force_ssl: true
        in_use_by:
          - web
      - identifier: mid
        instance_class:
          staging: db.t3.small
          prod: db.t3.small
        engine: postgres
        engine_version: '16.8'
        db_name: mid
        force_ssl: true
        in_use_by:
          - mid
    elasticache_cluster:
      - identifier: redis
        node_type: cache.t3.small
        node_count: 2
        engine: redis
        engine_version: 7.1
        parameters:
          - name: databases
            value: '32'
        in_use_by:
          - web
          - mid
    shared_loadbalancer:
      - name: web
        ssl_policy: ELBSecurityPolicy-TLS13-1-2-2021-06
        in_use_by:
          - web
          - web-test-01
          - web-test-02
      - name: mid
        internal: true
        ssl_policy: ELBSecurityPolicy-TLS13-1-2-2021-06
        in_use_by:
          - mid
          - mid-test-01
          - mid-test-02
        subnets_name: extra_private_subnets
        ip_whitelist:
          - name: VPC CIDR
            cidr: 172.24.24.0/21
          - name: VPC CIDR prod
            cidr: 172.24.40.0/21
    environments:
      staging:
        track_revision: develop
        instance_type: t3.medium
        max_instance_lifetime: 2592000
        ecs_instance_refresh_lambda_schedule_expression: cron(0 1 * * ? *)
        min_servers: 2
        max_servers: 4
        ecs_egress_rules:
          - name: HTTPS to extra private subnet 1
            port: '443'
            cidr: 172.24.30.0/24
          - name: HTTPS to extra private subnet 2
            port: '443'
            cidr: 172.24.31.0/24
        extra_ecs_clusters:
          - name: mid
            subnets_name: extra_private_subnets
            min_servers: 2
            max_servers: 4
            instance_type: t3.medium
            max_instance_lifetime: 2592000
            docker_storage_size: 40
            ecs_egress_lockdown: true
            ecs_egress_rules:
              - name: MSSSQL to Peering connection cidr
                port: '1433'
                cidr: 172.24.32.0/21
              - name: MSSSQL to VPN destination cidr
                port: '1433'
                cidr: 172.16.0.0/23
              - name: HTTPS to 172.21.1.12
                port: '443'
                cidr: 172.21.1.12/32
        cidr: 172.24.24.0/21
        vpc_peering_connections:
          tvh:
            account_id: '538863186945'
            vpc_id: vpc-0282f07a0a9fd8b38
            ecs_subnet_routes:
              - extra_private_subnets
              - ecs_private_subnets
            destination_cidr_block: 172.24.32.0/21
        ecs_egress_lockdown: true
        ecs_private_subnets:
          - availability_zone: eu-west-2a
            cidr: 172.24.28.0/24
          - availability_zone: eu-west-2b
            cidr: 172.24.29.0/24
        extra_private_subnets:
          - availability_zone: eu-west-2a
            cidr: 172.24.30.0/24
          - availability_zone: eu-west-2b
            cidr: 172.24.31.0/24
        extra_public_subnets:
          - availability_zone: eu-west-2a
            cidr: 172.24.24.0/24
          - availability_zone: eu-west-2b
            cidr: 172.24.25.0/24
          - availability_zone: eu-west-2c
            cidr: 172.24.27.0/24
        logspout_command:
          - syslog+tls://logs4.papertrailapp.com:43015
        logspout_envars:
          - name: SYSLOG_HOSTNAME
            value: "{{.ContainerName}}"
          - name: SYSLOG_TAG
            value: "{{.Container.Config.Hostname}}"
        tinyproxy:
          create: true
        enable_cognito_auth: true
        syslog_papertrail_endpoint: logs4.papertrailapp.com:43015
      prod:
        track_revision: master
        instance_type: t3.medium
        max_instance_lifetime: 2592000
        ecs_instance_refresh_lambda_schedule_expression: cron(0 1 ? * 1 *)
        min_servers: 3
        max_servers: 5
        ecs_egress_rules:
          - name: HTTPS to extra private subnet 1
            port: '443'
            cidr: 172.24.46.0/24
          - name: HTTPS to extra private subnet 2
            port: '443'
            cidr: 172.24.47.0/24
        extra_ecs_clusters:
          - name: mid
            subnets_name: extra_private_subnets
            min_servers: 3
            max_servers: 5
            instance_type: t3.medium
            max_instance_lifetime: 2592000
            docker_storage_size: 40
            ecs_egress_lockdown: true
            ecs_egress_rules:
              - name: MSSSQL to Peering connection cidr
                port: '1433'
                cidr: 172.24.48.0/21
              - name: MSSSQL to VPN destination cidr
                port: '1433'
                cidr: 172.16.0.0/23
              - name: HTTPS to 172.21.1.12
                port: '443'
                cidr: 172.21.1.12/32
              - name: HTTPS to 172.21.1.10
                port: '443'
                cidr: 172.21.1.10/32
        cidr: 172.24.40.0/21
        vpc_peering_connections:
          tvh:
            account_id: '538863186945'
            vpc_id: vpc-088ee07b7728abef2
            ecs_subnet_routes:
              - extra_private_subnets
            destination_cidr_block: 172.24.48.0/21
        ecs_egress_lockdown: true
        ecs_private_subnets:
          - availability_zone: eu-west-2a
            cidr: 172.24.44.0/24
          - availability_zone: eu-west-2b
            cidr: 172.24.45.0/24
        extra_private_subnets:
          - availability_zone: eu-west-2a
            cidr: 172.24.46.0/24
          - availability_zone: eu-west-2b
            cidr: 172.24.47.0/24
        extra_public_subnets:
          - availability_zone: eu-west-2a
            cidr: 172.24.40.0/24
          - availability_zone: eu-west-2b
            cidr: 172.24.41.0/24
          - availability_zone: eu-west-2c
            cidr: 172.24.43.0/24
        syslog_papertrail_endpoint: logs6.papertrailapp.com:49292
        logspout_command:
          - syslog+tls://logs6.papertrailapp.com:49292
        logspout_envars:
          - name: SYSLOG_HOSTNAME
            value: "{{.ContainerName}}"
          - name: SYSLOG_TAG
            value: "{{.Container.Config.Hostname}}"
        tinyproxy:
          create: true
    services:
      - name: mid-test-01
        monitoring:
          staging:
            ghost_inspector:
              enabled: false
          prod:
            ghost_inspector:
              enabled: false
        launch_on:
          - staging
        launch_on_cluster: mid
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:thames-valley-housing/mytvh-mid
        custom_codestar_connection_arn: arn:aws:codestar-connections:eu-west-2:876401144910:connection/0329878f-0381-44d1-b4c8-3c7acb3c729b
        track_revision:
          staging: test-01
        buildspec: buildspec-dalmatian.yml
        container_port: 8080
        container_command:
          - "./docker-entrypoint.sh"
          - bundle
          - exec
          - puma
        deregistration_delay: 120
        proxy_configuration:
          staging:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
            no_proxy:
              - 172.21.1.12
              - met-prd-vm-db02.metropolitan.org.uk
          prod:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
            no_proxy: []
      - name: mid-test-02
        monitoring:
          staging:
            ghost_inspector:
              enabled: false
          prod:
            ghost_inspector:
              enabled: false
        launch_on:
          - staging
        launch_on_cluster: mid
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:thames-valley-housing/mytvh-mid
        custom_codestar_connection_arn: arn:aws:codestar-connections:eu-west-2:876401144910:connection/0329878f-0381-44d1-b4c8-3c7acb3c729b
        track_revision:
          staging: test-02
        buildspec: buildspec-dalmatian.yml
        container_port: 8080
        container_command:
          - "./docker-entrypoint.sh"
          - bundle
          - exec
          - puma
        deregistration_delay: 120
        proxy_configuration:
          staging:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
            no_proxy:
              - 172.21.1.12
              - met-prd-vm-db02.metropolitan.org.uk
          prod:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
            no_proxy: []
      - name: mid
        monitoring:
          staging:
            ghost_inspector:
              enabled: false
          prod:
            ghost_inspector:
              enabled: false
        launch_on_cluster: mid
        cloudfront:
          create: false
        image_source: build_from_github_repo
        image_location: git@github.com:thames-valley-housing/mytvh-mid
        custom_codestar_connection_arn: arn:aws:codestar-connections:eu-west-2:876401144910:connection/0329878f-0381-44d1-b4c8-3c7acb3c729b
        buildspec: buildspec-dalmatian.yml
        container_extra_hosts:
          - hostname: met-prd-vm-db02.metropolitan.org.uk
            ipAddress: 172.21.1.12
          - hostname: met-prd-vm-db01.metropolitan.org.uk
            ipAddress: 172.21.1.10
        container_port: 8080
        container_command:
          - "./docker-entrypoint.sh"
          - bundle
          - exec
          - puma
        container_count: 3
        deregistration_delay: 120
        proxy_configuration:
          staging:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
            no_proxy:
              - 172.21.1.12
              - met-prd-vm-db02.metropolitan.org.uk
          prod:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
            no_proxy:
              - 172.21.1.10
      - name: web-test-01
        monitoring:
          staging:
            ghost_inspector:
              enabled: false
          prod:
            ghost_inspector:
              enabled: false
        cloudfront:
          create: true
          basic_auth:
            staging: true
          basic_auth_users_extra:
            tvh: 30256d88799fb775d2067abfb8a7ef9413795e62dc4ed589b439ac3cebf3bad48b70993df66df45b246044caebbd7898a73b6aa0b2ac510333df119c50673d0163e28d888da62893a34c2197c27772504f00e07297021ce9e85afe1b61f75a51
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/api/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: mettvh-web-test-01-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                basic_auth_bypass: true
        launch_on:
          - staging
        image_source: build_from_github_repo
        image_location: git@github.com:thames-valley-housing/mytvh-web
        custom_codestar_connection_arn: arn:aws:codestar-connections:eu-west-2:876401144910:connection/0329878f-0381-44d1-b4c8-3c7acb3c729b
        track_revision:
          staging: test-01
        buildspec: buildspec-dalmatian.yml
        container_port: 3000
        container_command:
          - "./docker-entrypoint.sh"
          - bundle
          - exec
          - puma
        deregistration_delay: 120
        proxy_configuration:
          staging:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
          prod:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
        workers:
          - name: sidekiq
            container_command:
              - "./docker-entrypoint.sh"
              - bundle
              - exec
              - sidekiq
      - name: web-test-02
        monitoring:
          staging:
            ghost_inspector:
              enabled: false
          prod:
            ghost_inspector:
              enabled: false
        cloudfront:
          create: true
          basic_auth:
            staging: true
          basic_auth_users_extra:
            tvh: 30256d88799fb775d2067abfb8a7ef9413795e62dc4ed589b439ac3cebf3bad48b70993df66df45b246044caebbd7898a73b6aa0b2ac510333df119c50673d0163e28d888da62893a34c2197c27772504f00e07297021ce9e85afe1b61f75a51
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/api/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: mettvh-web-test-02-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                basic_auth_bypass: true
        launch_on:
          - staging
        image_source: build_from_github_repo
        image_location: git@github.com:thames-valley-housing/mytvh-web
        custom_codestar_connection_arn: arn:aws:codestar-connections:eu-west-2:876401144910:connection/0329878f-0381-44d1-b4c8-3c7acb3c729b
        track_revision:
          staging: test-02
        buildspec: buildspec-dalmatian.yml
        container_port: 3000
        container_command:
          - "./docker-entrypoint.sh"
          - bundle
          - exec
          - puma
        deregistration_delay: 120
        proxy_configuration:
          staging:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
          prod:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
        workers:
          - name: sidekiq
            container_command:
              - "./docker-entrypoint.sh"
              - bundle
              - exec
              - sidekiq
      - name: web
        monitoring:
          staging:
            ghost_inspector:
              enabled: false
          prod:
            ghost_inspector:
              enabled: false
        cloudfront:
          create: true
          basic_auth:
            staging: true
          basic_auth_users_extra:
            tvh: 30256d88799fb775d2067abfb8a7ef9413795e62dc4ed589b439ac3cebf3bad48b70993df66df45b246044caebbd7898a73b6aa0b2ac510333df119c50673d0163e28d888da62893a34c2197c27772504f00e07297021ce9e85afe1b61f75a51
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/api/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: mettvh-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                basic_auth_bypass: true
        image_source: build_from_github_repo
        image_location: git@github.com:thames-valley-housing/mytvh-web
        custom_codestar_connection_arn: arn:aws:codestar-connections:eu-west-2:876401144910:connection/0329878f-0381-44d1-b4c8-3c7acb3c729b
        buildspec: buildspec-dalmatian.yml
        container_port: 3000
        container_command:
          - "./docker-entrypoint.sh"
          - bundle
          - exec
          - puma
        container_count: 3
        deregistration_delay: 120
        domain_names:
          prod:
            - mtvh.online
            - www.mtvh.online
            - my.tvha.co.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:876401144910:certificate/28e5c533-eed8-4239-9c54-c09741fcb10b
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:876401144910:certificate/029ad607-cc3d-4863-910d-1a77b168c88c
        proxy_configuration:
          staging:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
          prod:
            https_proxy: dalmatian_tinyproxy
            http_proxy: dalmatian_tinyproxy
        workers:
          - name: sidekiq
            container_command:
              - "./docker-entrypoint.sh"
              - bundle
              - exec
              - sidekiq
  mtvh-gp:
    account_id: '966086556319'
    cluster:
      create: true
    aurora:
      - identifier: mtvhgp
        minimum_size:
          staging: 0.5
          prod: 2
        maximum_size:
          staging: 1
          prod: 4
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: mtvhgp
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          service_loadbalancers:
            - web
    environments:
      prod:
        track_revision: master
        instance_type: t3.medium
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:33211,syslog+tls://logs4.papertrailapp.com:34954
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/mtvh.co.uk
        syslog_papertrail_endpoint: logs3.papertrailapp.com:33211
      staging:
        track_revision: develop
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs5.papertrailapp.com:12793,syslog+tls://logs2.papertrailapp.com:13428
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/mtvh.co.uk
        syslog_papertrail_endpoint: logs5.papertrailapp.com:12793
    services:
      - name: web
        global_accelerator:
          prod: true
          staging: false
        cloudfront:
          create: true
          origin_keepalive_timeout:
            staging: '60'
            prod: '60'
          origin_read_timeout:
            staging: '60'
            prod: '60'
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: mtvh-gp-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: mtvh-gp-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: mtvh-gp-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: mtvh-gp-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: mtvh-gp-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: mtvh-gp-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:thames-valley-housing/mtvh-website
        custom_codestar_connection_arn: arn:aws:codestar-connections:eu-west-2:966086556319:connection/eab73dca-18e0-4f8f-ba17-d942979eb73c
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/mtvh.co.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - www.mtvh.co.uk
            - mtvh.co.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:966086556319:certificate/aa833601-9e32-45ef-855d-0ebade9e2047
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:966086556319:certificate/286eeb4a-dcdd-4143-ae65-80e2bfb99cdc
  nao:
    account_id: '984225123583'
    cluster:
      create: true
    rds:
      - identifier: nao
        instance_class:
          prod: db.t3.large
          staging: db.t3.small
        engine: mysql
        engine_version: 8.0.42
        db_name: nao
    opensearch_cluster:
      - identifier: nao
        in_use_by:
          - web
        version: 3.3
        master_enabled: false
        instance_count: 3
        instance_type: t3.medium.elasticsearch
        warm_enabled: false
        volume_size: 20
        parameter_store_path_opensearch_cluster_url_name: ELASTICSEARCH_URL
    elasticache_cluster:
      - identifier: rdscache
        in_use_by:
          - web
        node_type: cache.t3.medium
        node_count: 1
        engine: redis
        engine_version: 7.1
        parameters:
          - name: maxmemory-policy
            value: allkeys-lru
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          service_loadbalancers:
            - web
            - paf
    environments:
      prod:
        track_revision: main
        instance_type: t3.medium
        min_servers: 3
        max_servers: 3
        logspout_command:
          - syslog+tls://logs3.papertrailapp.com:12011
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/nao.org.uk
        syslog_papertrail_endpoint: logs3.papertrailapp.com:12011
      staging:
        track_revision: develop
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs2.papertrailapp.com:29069
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/nao.org.uk
        syslog_papertrail_endpoint: logs2.papertrailapp.com:29069
    services:
      - name: paf
        enable_max_one_container_per_instance: false
        global_accelerator:
          prod: true
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nao-paf-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: nao-paf-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nao-paf-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nao-paf-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: nao-paf-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nao-paf-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/nao-paf
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/public-audit-forum.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/public-audit-forum.org.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(2,32 * * * ? *)
              prod: cron(1,21,41 * * * ? *)
        domain_names:
          prod:
            - www.public-audit-forum.org.uk
            - public-audit-forum.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:984225123583:certificate/892f9ad9-e6db-42e7-8ae5-745c87a936ac
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:984225123583:certificate/fb31e844-daf4-4de8-8248-132136283a29
      - name: web
        enable_max_one_container_per_instance: false
        global_accelerator:
          prod: true
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nao-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: nao-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nao-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            staging:
              - path_patterns:
                  - "/wp-json/*"
                  - "*/wp-json/*"
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nao-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: nao-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nao-web-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/nao
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/nao.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/nao.org.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(2,32 * * * ? *)
              prod: cron(1,21,41 * * * ? *)
        domain_names:
          prod:
            - www.nao.org.uk
            - nao.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:984225123583:certificate/00caa030-91a6-40be-ad5d-0a8de6907b46
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:984225123583:certificate/e67a7a02-d0dd-49c8-a703-193c7a06145e
  natcen:
    account_id: '429334471753'
    cluster:
      create: true
    environments:
      prod:
        track_revision: main
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs4.papertrailapp.com:24094
        enable_efs: 'true'
        encrypt_efs: 'false'
        efs_dirs: []
        syslog_papertrail_endpoint: logs4.papertrailapp.com:24094
    rds:
      - identifier: natcenuk
        instance_class:
          prod: db.t3.small
        engine: mysql
        engine_version: 8.0.42
        storage_encrypted: false
        db_name: natcenuk
      - identifier: natcenscot
        instance_class:
          prod: db.t3.small
        engine: mysql
        engine_version: 8.0.42
        storage_encrypted: false
        db_name: natcenscot
    elasticache_cluster:
      - identifier: rdscache
        in_use_by:
          - natcen-uk
          - natcen-scot
        node_type: cache.t3.small
        node_count: 1
        engine: redis
        engine_version: 7.x
        parameters:
          - name: maxmemory-policy
            value: allkeys-lru
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          shared_loadbalancers:
            - natcen-1
    shared_loadbalancer:
      - name: natcen-1
        global_accelerator:
          prod: true
        in_use_by:
          - natcen-uk
          - natcen-scot
    services:
      - name: natcen-scot
        launch_on:
          - prod
        cloudfront:
          create: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: natcen-natcen-scot-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/whatscotlandthinks
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/whatscotlandthinks.org"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/whatscotlandthinks.org"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - whatscotlandthinks.org
            - www.whatscotlandthinks.org
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:429334471753:certificate/fac4a190-69db-41b7-bcbc-9294541d8e33
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:429334471753:certificate/cf420223-8548-431e-bde3-36519c9f6f10
      - name: natcen-uk
        launch_on:
          - prod
        cloudfront:
          create: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: natcen-natcen-uk-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/natcen
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/whatukthinks.org"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/whatukthinks.org"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - whatukthinks.org
            - www.whatukthinks.org
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:429334471753:certificate/579a577e-cb6e-4406-b48e-9297c3b07675
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:429334471753:certificate/3f2e339c-a51f-4bc5-b13b-8678adb4f204
  nhs-england:
    account_id: '661178850043'
    cluster:
      create: true
    environments:
      prod:
        track_revision: main
        logspout_command:
          - syslog+tls://logs5.papertrailapp.com:36829
        instance_type: t3.medium
        max_instance_lifetime: 604800
        min_servers: 6
        max_servers: 12
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/england.nhs.uk
          - wp-uploads/longtermplan.nhs.uk
        syslog_papertrail_endpoint: logs5.papertrailapp.com:36829
    aurora:
      - identifier: cluster1
        minimum_size:
          staging: 0.5
          prod: 2
        maximum_size:
          staging: 2
          prod: 20
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: cluster1
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          shared_loadbalancers:
            - nhs-england-1
    shared_loadbalancer:
      - name: nhs-england-1
        global_accelerator:
          prod: true
        in_use_by:
          - web
          - longterm
    opensearch_cluster:
      - identifier: nhsengland
        in_use_by:
          - web
        version: 3.1
        master_enabled: false
        instance_count: 3
        instance_type: t3.medium.elasticsearch
        warm_enabled: false
        volume_size: 20
        parameter_store_path_opensearch_cluster_url_name: ELASTICSEARCH_URL
    services:
      - name: longterm
        launch_on:
          - prod
        enable_max_one_container_per_instance: false
        cloudfront:
          create: false
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                prod: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nhs-england-longterm-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: nhs-england-longterm-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nhs-england-longterm-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/nhs-longtermplan
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/longtermplan.nhs.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/longtermplan.nhs.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              prod: cron(36 * * * ? *)
        domain_names:
          prod:
            - www.longtermplan.nhs.uk
            - longtermplan.nhs.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:661178850043:certificate/91c7be31-4693-45bf-9bb4-38d1b9791669
      - name: web
        launch_on:
          - prod
        enable_max_one_container_per_instance: false
        cloudfront:
          create: false
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                prod: true
          origin_keepalive_timeout:
            prod: '60'
          origin_read_timeout:
            prod: '60'
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nhs-england-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: nhs-england-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: nhs-england-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/nhs-england
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_count: '3'
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/england.nhs.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/england.nhs.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron-publish
            command:
              - "/usr/local/bin/wp-cron.sh -p"
            schedule_expression:
              prod: cron(1,31 * * * ? *)
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh -s 8"
            schedule_expression:
              prod: cron(37 * * * ? *)
        domain_names:
          prod:
            - england.nhs.uk
            - www.england.nhs.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:661178850043:certificate/f9baa46b-34ea-4202-bedf-d22af1d76638
  nhsx-website:
    account_id: '052666621102'
    cluster:
      create: true
    environments:
      staging:
        track_revision: dev
        instance_type: t3.medium
        logspout_command:
          - syslog+tls://logs4.papertrailapp.com:13977
        syslog_papertrail_endpoint: logs4.papertrailapp.com:13977
      prod:
        min_servers: 4
        max_servers: 6
        track_revision: master
        instance_type: t3.medium
        logspout_command:
          - syslog+tls://logs6.papertrailapp.com:29476
        syslog_papertrail_endpoint: logs6.papertrailapp.com:29476
    waf:
      - name: waf
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
        associations:
          service_loadbalancers:
            - web
    rds:
      - identifier: nhsxweb
        in_use_by:
          - web
        instance_class:
          staging: db.t3.small
          prod: db.t3.small
        engine: postgres
        engine_version: 11.22-rds.20250508
        allocated_storage: 20
        storage_encrypted: false
        db_name: nhsxweb
        port: 5432
        maintenance_window: mon:19:00-mon:19:30
        backup_window: '09:00-10:00'
        parameter_store_path_db_url_name: DATABASE_URL
    elasticache_cluster:
      - identifier: nhsxweb
        in_use_by:
          - web
        node_type: cache.t3.small
        node_count: 1
        engine: redis
        engine_version: 6.x
        parameters:
          - name: maxmemory-policy
            value: allkeys-lru
    services:
      - name: web
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_origins:
            staging:
              - origin: nhsx-website-staging-media.s3.amazonaws.com
                id: S3-nhsx-website-staging-media
            prod:
              - origin: nhsx-website-prod-media.s3.amazonaws.com
                id: S3-nhsx-website-prod-media
          viewer_request_functions:
            - name: default
              redirects:
                - from_hostname_pattern: www.nhsx.nhs.uk
                  from_path_pattern: "/*"
                  to_hostname: transform.england.nhs.uk
                  to_path: "/$${path}"
                - from_hostname_pattern: transform.england.nhs.uk
                  from_path_pattern: "/key-tools-and-info/procurement-frameworks/procurement-framework-strategy-recommendations/"
                  to_hostname: www.england.nhs.uk
                  to_path: "/nhs-commercial/central-commercial-function-ccf/procurement-framework-strategy-recommendations/"
                - from_hostname_pattern: transform.england.nhs.uk
                  from_path_pattern: "/improvement/focusondiagnostics/"
                  to_hostname: transform.england.nhs.uk
                  to_path: "/focusondiagnostics/"
                - from_hostname_pattern: transform.england.nhs.uk
                  from_path_pattern: "/key-tools-and-info/get-started-with-nhsx-digital-and-technology-assurance/"
                  to_hostname: transform.england.nhs.uk
                  to_path: "/key-tools-and-info/get-started-with-digital-and-technology-assurance/"
              associate_with_default_behaviour:
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/media/*"
                target_origin_id: S3-nhsx-website-staging-media
                min_ttl: 1200
                default_ttl: 21600
                max_ttl: 86400
                associate_viewer_request_function: ''
            prod:
              - path_patterns:
                  - "/media/*"
                target_origin_id: S3-nhsx-website-prod-media
                min_ttl: 1200
                default_ttl: 21600
                max_ttl: 86400
                associate_viewer_request_function: default
        image_source: build_from_github_repo
        image_location: git@github.com:nhsx/nhsx-website
        codepipeline_use_github_v1: true
        container_port: 8000
        health_check_path: "/"
        container_command:
          - "./docker-entrypoint.sh"
          - uwsgi
          - "--static-map"
          - "/static=/usr/srv/app/static"
          - "--ini"
          - "/etc/uwsgi.ini"
        scheduled_tasks:
          - name: publish_scheduled_pages
            command:
              - python /usr/srv/app/manage.py publish_scheduled_pages
            schedule_expression:
              staging: cron(1,31 * * * ? *)
              prod: cron(1,31 * * * ? *)
        domain_names:
          prod:
            - transform.england.nhs.uk
            - nhsx.nhs.uk
            - www.nhsx.nhs.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:052666621102:certificate/faf79347-a0e5-4892-98c2-786dc88c4287
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:052666621102:certificate/95c46f8d-35f9-4445-8048-89529c9fb119
  ons:
    account_id: '225709814079'
    cluster:
      create: true
    rds:
      - identifier: ons
        instance_class:
          staging: db.t3.small
          prod: db.t3.small
        engine: mysql
        engine_version: 8.0.42
        db_name: ons
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          service_loadbalancers:
            - blog
    environments:
      staging:
        track_revision: develop
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs6.papertrailapp.com:16591
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/blog.ons.gov.uk
        syslog_papertrail_endpoint: logs6.papertrailapp.com:16591
      prod:
        track_revision: main
        instance_type: t3.small
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs2.papertrailapp.com:46793
        enable_efs: 'true'
        efs_dirs:
          - wp-uploads/blog.ons.gov.uk
        syslog_papertrail_endpoint: logs2.papertrailapp.com:46793
    services:
      - name: blog
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: true
              cloudfront_5xx:
                enabled: true
                threshold: '95'
                evaluation_periods: '5'
            ghost_inspector:
              enabled: false
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: ons-blog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: ons-blog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: ons-blog-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: ons-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: ons-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: ons-blog-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/ons-blog
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/blog.ons.gov.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/blog.ons.gov.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - blog.ons.gov.uk
            - digitalblog.ons.gov.uk
            - statsdiscovery.ons.gov.uk
            - datasciencecampus.ons.gov.uk
            - style.ons.gov.uk
            - backup.ons.gov.uk
            - wordpress.onsdigital.co.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:225709814079:certificate/515cd44f-df9d-4e8f-b797-13fa9e73d79a
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:225709814079:certificate/c69bd0dc-a8f4-449b-86cd-3c19a94de1f6
  rwm:
    account_id: '302222309765'
    cluster:
      create: true
    rds:
      - identifier: shared1
        instance_class:
          staging: db.t3.small
          prod: db.t3.small
        engine: mysql
        engine_version: 8.0.42
        db_name: initial_db
    shared_loadbalancer:
      - name: shared-1
        global_accelerator:
          prod: true
        in_use_by:
          - wip
          - copeland
          - wg3
          - explore
          - nws
          - nws-wip
          - cumbria
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            exclude_rules:
              - SQLi_BODY
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
        associations:
          shared_loadbalancers:
            - shared-1
    environments:
      staging:
        track_revision: develop
        instance_type: t3.small
        min_servers: 3
        max_servers: 3
        syslog_papertrail_endpoint: logs.papertrailapp.com:30404
        logspout_command:
          - syslog+tls://logs.papertrailapp.com:30404,syslog://20.77.41.194:514
        enable_efs: 'true'
        encrypt_efs: 'false'
        efs_dirs:
          - wp-uploads/workinginpartnership.org.uk
          - wp-uploads/copeland.workinginpartnership.org.uk
      prod:
        track_revision: main
        instance_type: t3.medium
        min_servers: 3
        max_servers: 5
        syslog_papertrail_endpoint: logs6.papertrailapp.com:52396
        logspout_command:
          - syslog+tls://logs6.papertrailapp.com:52396,syslog://20.77.41.194:514
        enable_efs: 'true'
        encrypt_efs: 'false'
        efs_dirs:
          - wp-uploads/workinginpartnership.org.uk
          - wp-uploads/copeland.workinginpartnership.org.uk
    services:
      - name: copeland
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-copeland-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-copeland-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-copeland-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-copeland-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-copeland-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-copeland-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/wip-copeland
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/copeland.workinginpartnership.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - copeland.workinginpartnership.org.uk
            - www.copeland.workinginpartnership.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:302222309765:certificate/3414a485-7f1a-48e2-bb53-5bf112ba9c4a
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:302222309765:certificate/86e23fa6-b14b-455f-8547-d5986dc959b5
      - name: cumbria
        monitoring:
          prod:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-cumbria-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-cumbria-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-cumbria-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-cumbria-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-cumbria-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-cumbria-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/nws
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/cumbria.workinginpartnership.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/cumbria.workinginpartnership.org.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression: cron(1,31 * * * ? *)
        domain_names:
          prod:
            - cumbria.workinginpartnership.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:302222309765:certificate/b8c4e2fa-2ce0-4b8c-9f58-fbf38952722c
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:302222309765:certificate/6ed1a784-b985-4051-a3f5-697fa91c0027
      - name: explore
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-explore-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-explore-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-explore-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-explore-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-explore-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-explore-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/wip-explore
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/explore.workinginpartnership.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - explore.workinginpartnership.org.uk
            - www.explore.workinginpartnership.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:302222309765:certificate/d9fba2f1-6902-4cea-8656-f358caa0bbdc
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:302222309765:certificate/55b6a711-272f-4dd3-92b8-c3c85a6f3d79
      - name: nws-wip
        launch_on:
          - staging
          - prod
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-nws-wip-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-nws-wip-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-nws-wip-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-nws-wip-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-nws-wip-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-nws-wip-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/nws-wip
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/multisite.workinginpartnership.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(2,32 * * * ? *)
              prod: cron(1,21,41 * * * ? *)
        domain_names:
          prod:
            - "*.workinginpartnership.org.uk"
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:302222309765:certificate/ff35e592-9e68-472e-9aef-e629b973920a
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:302222309765:certificate/7f2141d6-9f1d-4d44-bf78-9e6188a4f185
      - name: nws
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-nws-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-nws-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-nws-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-nws-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-nws-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-nws-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/nws
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/nuclearwasteservices.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - nuclearwasteservices.uk
            - www.nuclearwasteservices.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:302222309765:certificate/0ae4a9de-638e-4b2b-9b55-d5e067d1e099
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:302222309765:certificate/771a5353-707e-4cb7-ac75-33eee52a7f1a
      - name: wg3
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-wg3-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-wg3-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-wg3-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-wg3-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-wg3-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-wg3-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/workinggroup3
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/wg3"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
      - name: wip
        cloudfront:
          create: true
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-wip-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-wip-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-wip-staging-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "/wp-login.php"
                  - "/wp-activate.php"
                  - "/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-wip-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
              - path_patterns:
                  - "/wp-content/*"
                  - "/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: rwm-wip-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: rwm-wip-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/wip
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/workinginpartnership.org.uk"
            container_path: "/var/www/html/wp-content/uploads"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - workinginpartnership.org.uk
            - www.workinginpartnership.org.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:302222309765:certificate/e887f171-62bd-4f86-aaa2-a694b18387e7
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:302222309765:certificate/f788659d-a985-4378-8ead-6aa4b9ad6127
  stgeorges:
    account_id: '149524467025'
    cluster:
      create: true
    environments:
      prod:
        track_revision: main
        instance_type: t3.medium
        min_servers: 2
        max_servers: 2
        logspout_command:
          - syslog+tls://logs4.papertrailapp.com:30503
        enable_efs: 'true'
        syslog_papertrail_endpoint: logs4.papertrailapp.com:30503
    aurora:
      - identifier: sqlcluster
        minimum_size:
          staging: 0.5
          prod: 1
        maximum_size:
          staging: 2
          prod: 6
        engine: aurora-mysql
        engine_version: '8.0'
        db_name: sqlcluster
    waf:
      - name: wordpress
        action: block
        aws_managed_rules:
          - name: AWSManagedRulesAmazonIpReputationList
          - name: AWSManagedRulesPHPRuleSet
            exclude_rules:
              - PHPHighRiskMethodsVariables_BODY
          - name: AWSManagedRulesSQLiRuleSet
            excluded_path_patterns:
              - "/wp-admin/async-upload.php"
          - name: AWSManagedRulesWordPressRuleSet
          - name: AWSManagedRulesCommonRuleSet
            exclude_rules:
              - SizeRestrictions_BODY
              - SizeRestrictions_QUERYSTRING
              - GenericLFI_BODY
              - GenericRFI_BODY
              - CrossSiteScripting_BODY
              - GenericRFI_QUERYARGUMENTS
              - EC2MetaDataSSRF_BODY
        associations:
          shared_loadbalancers:
            - stgeorges-1
    shared_loadbalancer:
      - name: stgeorges-1
        global_accelerator:
          prod: true
        in_use_by:
          - web
          - aos
    services:
      - name: aos
        launch_on:
          - prod
        cloudfront:
          create: false
        serve_from_subdirectory: "/aos"
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/sghaos
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/stgeorges.nhs.uk.aos"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/stgeorges.nhs.uk.aos"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - www.stgeorges.nhs.uk
            - stgeorges.nhs.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:149524467025:certificate/3bbd1e85-b7f8-431d-a1af-c9e552f8f4bb
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:149524467025:certificate/c727a06e-a61a-4541-ba12-eb9777a34155
      - name: web
        launch_on:
          - prod
        cloudfront:
          create: true
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              associate_with_default_behaviour:
                staging: true
                prod: true
          custom_behaviors:
            prod:
              - path_patterns:
                  - "/wp-admin/*"
                  - "*/wp-admin/*"
                  - "/wp-login.php"
                  - "*/wp-login.php"
                  - "/wp-activate.php"
                  - "*/wp-activate.php"
                  - "/wp-json/*"
                  - "*/wp-json/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: stgeorges-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - "*"
                forwarded_cookies: all
                forward_query_strings: true
                associate_viewer_request_function: default
              - path_patterns:
                  - "/wp-content/*"
                  - "*/wp-content/*"
                  - "/wp-includes/*"
                  - "*/wp-includes/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                target_origin_id: stgeorges-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Host
                forwarded_cookies: none
                forward_query_strings: false
              - path_patterns:
                  - "/*"
                allowed_methods:
                  - GET
                  - HEAD
                  - OPTIONS
                  - PUT
                  - POST
                  - PATCH
                  - DELETE
                target_origin_id: stgeorges-web-prod-default-origin
                min_ttl: 0
                default_ttl: 86400
                max_ttl: 31536000
                forwarded_headers:
                  - Authorization
                  - Accept-Charset
                  - Accept
                  - CloudFront-Forwarded-Proto
                  - Referer
                  - Host
                  - Accept-Language
                  - Accept-Encoding
                  - Accept-Datetime
                forwarded_cookies: whitelist
                whitelisted_names:
                  - wordpress_logged_in_*
                  - wp-postpass_*
                  - wordpress_test_cookie
                  - comment_author_*
                forward_query_strings: true
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/stghpress
        buildspec: dalmatian_core_buildspec_saluki
        container_command:
          - "./docker-entrypoint.sh"
        container_port: 80
        container_volumes:
          - name: wp-uploads
            host_path: "/mnt/efs/wp-uploads/stgeorges.nhs.uk"
            container_path: "/var/www/html/wp-content/uploads"
          - name: wp-cache
            host_path: "/mnt/efs/wp-cache/stgeorges.nhs.uk"
            container_path: "/var/www/html/wp-content/cache"
        scheduled_tasks:
          - name: wp-cron
            command:
              - "/usr/local/bin/wp-cron.sh"
            schedule_expression:
              staging: cron(1/2 * * * ? *)
              prod: cron(1/2 * * * ? *)
        domain_names:
          prod:
            - www.stgeorges.nhs.uk
            - stgeorges.nhs.uk
        lb_ssl_certificate:
          prod: arn:aws:acm:eu-west-2:149524467025:certificate/3bbd1e85-b7f8-431d-a1af-c9e552f8f4bb
        cloudfront_ssl_certificate:
          prod: arn:aws:acm:us-east-1:149524467025:certificate/c727a06e-a61a-4541-ba12-eb9777a34155
  test-app:
    account_id: '511700466171'
    cluster:
      create: true
    rds:
      - identifier: bikeshed
        instance_class:
          staging: db.t3.small
          prod: db.t3.small
        engine: mysql
        engine_version: 5.7.44
        storage_encrypted: false
        db_name: bikeshed
        codebuild_access:
          - test-service
    elasticache_cluster:
      - identifier: testredis
        in_use_by:
          - test-service
        engine: redis
        node_type: cache.t2.micro
        node_count: 1
        engine_version: 6.x
        port: 6379
        maintenance_window: mon:19:00-mon:22:00
        snapshot_window: '09:00-10:00'
        parameter_store_path_elasticache_cluster_url_name: REDIS_URL
    shared_loadbalancer:
      - name: test-shared
        in_use_by:
          - test-service
    s3:
      - name: test-app-bucket-staging
        encrypted: true
        acl: private
        service_cloudfront_read_access:
          - test-service-staging
        policy:
          staging:
            rw:
              services:
                - test-service
    environments:
      staging:
        track_revision: master
        instance_type: t3.medium
        logspout_command:
          - syslog+tls://logs7.papertrailapp.com:34880
        min_servers: 2
        max_servers: 4
        enable_ecs_vpc_flow_logs: true
    services:
      - name: test-service
        blue_green:
          staging:
            enabled: true
        enable_max_one_container_per_instance: false
        monitoring:
          production:
            opsgenie_alerts:
              enabled: false
        cloudfront:
          create: true
          basic_auth:
            staging: true
          basic_auth_users_extra:
            test-user: 621138553c8384db4fd7b71e22ffe7e0d049230346e99412d29a249f7bf90e2403d26386bf5288a86ee7174ca007723490f0bcf19c6e1375f1edf25345f0611490221256f5edda8df0e8b16db80d33a38602982f5a4c22e4a1a1566162e9bd1a
          viewer_request_functions:
            - name: default
              true_client_ip_header: true
              ip_subnet_allow_list:
                - 54.76.254.148/32
            - name: redirects
              true_client_ip_header: true
              redirects:
                - from_hostname_pattern: dalmatian-test-app.dxw.net
                  from_path_pattern: "/dxw-redirect"
                  to_hostname: dxw.com
                  to_path: "/$${path}"
              associate_with_default_behaviour:
                staging: true
          custom_origins:
            staging:
              - origin: test-media-staging.s3.amazonaws.com
                id: test-media-staging-s3
              - origin: test-app-bucket-staging.s3.amazonaws.com
                id: test-app-bucket-staging
            production:
              - origin: test-media-production.s3.amazonaws.com
                id: test-media-production-s3
          custom_behaviors:
            staging:
              - path_patterns:
                  - "/media/*"
                target_origin_id: test-media-staging-s3
                min_ttl: 1200
                default_ttl: 3600
                max_ttl: 86400
                associate_viewer_request_function: default
              - path_patterns:
                  - "/test/*"
                target_origin_id: test-app-bucket-staging
                forwarded_headers:
                  - Authorization
                min_ttl: 1200
                default_ttl: 3600
                max_ttl: 86400
                associate_viewer_request_function: default
        serve_from_subdirectory: "/test-subdir"
        domain_names:
          staging:
            - dalmatian-test-app.dxw.net
        image_source: build_from_github_repo
        image_location: git@github.com:dxw/dalmatian-test-app
        codepipeline_use_github_v1: true
        codepipeline_codebuild_run_in_vpc: true
        buildspec: buildspec.yml
        container_port: 3100
        container_command:
          - "/docker-entrypoint.sh"
          - rails
          - server
        container_volumes:
          - name: test
            host_path: "/mnt/test"
            container_path: "/test"
        scheduled_tasks:
          - name: test-scheduled-task
            command:
              - echo
              - hello
            schedule_expression:
              staging: cron(0/15 * * * ? *)
              prod: cron(0/15 * * * ? *)
parameter-store-path-prefix: "/dalmatian-variables/"
Process Group PGID: 66553