mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 14:41:23 -07:00
[cloud] New module cloudfront_distribution (#31284)
* added cloudfont.py, modified cloudfront_facts.py class name and fixed a minor bug * Improvements to cloudfront_distribution * Reduce the scope of the cloudfront_distribution module * Remove presigning * Remove streaming distribution functionality * Add full test suite for cloudfront distribution * Meet Ansible AWS guidelines * Make requested changes Fix tests Use built-in waiter Update copyright
This commit is contained in:
parent
53266e31df
commit
8d733dbdf0
9 changed files with 2663 additions and 0 deletions
|
@ -0,0 +1,37 @@
|
|||
cloudfront_hostname: "{{ resource_prefix | lower }}01"
|
||||
# Use a domain that has a wildcard DNS
|
||||
cloudfront_alias: "{{ cloudfront_hostname | lower }}.github.io"
|
||||
|
||||
cloudfront_test_cache_behaviors:
|
||||
- path_pattern: /test/path
|
||||
forwarded_values:
|
||||
headers:
|
||||
- Host
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue