Handle FieldLevelEncryptionId in cloudfront_distribution (#41770)

Ensure that FieldLevelEncryptionId is properly handled - passing it if
set, and keeping it if returned by GetDistribution

Update cloudfront_distribution tests to remove references to
test_identifier so test suite actually works

Fixes #40724
This commit is contained in:
Will Thames 2018-07-19 22:27:13 +10:00 committed by ansibot
commit 786613f426
3 changed files with 13 additions and 5 deletions

View file

@ -1,3 +1 @@
dependencies:
- prepare_tests
- setup_ec2
dependencies: []

View file

@ -124,7 +124,6 @@
custom_origin_config:
http_port: 8080
- domain_name: "{{ resource_prefix }}2.example.com"
- domain_name: "{{ test_identifier }}2.example.com"
default_root_object: index.html
wait: yes
state: present
@ -178,7 +177,7 @@
cloudfront_distribution:
alias: "{{ cloudfront_alias }}"
origins:
- domain_name: "{{ test_identifier }}2.example.com"
- domain_name: "{{ resource_prefix }}2.example.com"
default_root_object: index.php
state: present
<<: *aws_connection_info