From 2b985137d77f35fccd1c0433d93f256a6e37e793 Mon Sep 17 00:00:00 2001 From: Will Thames Date: Thu, 19 Apr 2018 23:24:17 +1000 Subject: [PATCH] [AWS cloudfront_distribution] Update minimum protocol versions (#38644) (#38990) As per docs, the current set of values is ``` 'SSLv3'|'TLSv1'|'TLSv1_2016'|'TLSv1.1_2016'|'TLSv1.2_2018' ``` Fixes #38642 (cherry picked from commit 6b970348b15d3c8fba93d307a9bfd3bbf1aa0e0c) --- lib/ansible/modules/cloud/amazon/cloudfront_distribution.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py b/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py index ad082736a42..ea0bb4a6bdd 100644 --- a/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py +++ b/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py @@ -1319,7 +1319,10 @@ class CloudFrontValidationManager(object): ]) self.__valid_viewer_certificate_minimum_protocol_versions = set([ 'SSLv3', - 'TLSv1' + 'TLSv1', + 'TLSv1_2016', + 'TLSv1.1_2016', + 'TLSv1.2_2018' ]) self.__valid_viewer_certificate_certificate_sources = set([ 'cloudfront',