2018-03-21 13:16:42 +01:00
|
|
|
cloudfront_hostname: "{{ resource_prefix }}01"
|
2020-02-19 21:42:46 +01:00
|
|
|
|
2018-01-17 17:03:23 +01:00
|
|
|
# Use a domain that has a wildcard DNS
|
2020-02-19 21:42:46 +01:00
|
|
|
# Using an alias requires also having an SSL cert...
|
|
|
|
#cloudfront_alias: "{{ cloudfront_hostname }}.github.io"
|
|
|
|
#cloudfront_viewer_cert:
|
|
|
|
# acm_certificate_arn: ...
|
|
|
|
# certificate: ...
|
|
|
|
# certificate_source: ...
|
|
|
|
# minimum_protocol_version: ...
|
|
|
|
# ssl_support_method: ...
|
2018-01-17 17:03:23 +01:00
|
|
|
|
|
|
|
cloudfront_test_cache_behaviors:
|
|
|
|
- path_pattern: /test/path
|
|
|
|
forwarded_values:
|
|
|
|
headers:
|
|
|
|
- Host
|
2018-03-21 13:16:42 +01:00
|
|
|
- X-HTTP-Forwarded-For
|
|
|
|
- CloudFront-Forwarded-Proto
|
|
|
|
- Origin
|
|
|
|
- Referer
|
2018-01-17 17:03:23 +01:00
|
|
|
allowed_methods:
|
|
|
|
items:
|
|
|
|
- GET
|
|
|
|
- HEAD
|
|
|
|
- POST
|
|
|
|
- PATCH
|
|
|
|
- PUT
|
|
|
|
- OPTIONS
|
|
|
|
- DELETE
|
|
|
|
cached_methods:
|
|
|
|
- GET
|
|
|
|
- HEAD
|
|
|
|
- path_pattern: /another/path
|
|
|
|
forwarded_values:
|
|
|
|
cookies:
|
|
|
|
forward: whitelist
|
|
|
|
whitelisted_names:
|
|
|
|
- my_header
|
|
|
|
query_string: yes
|
|
|
|
query_string_cache_keys:
|
|
|
|
- whatever
|
|
|
|
allowed_methods:
|
|
|
|
items:
|
|
|
|
- GET
|
|
|
|
- HEAD
|
|
|
|
cached_methods:
|
|
|
|
- GET
|
|
|
|
- HEAD
|