diff --git a/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py b/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py index 51e7d167618..ad082736a42 100644 --- a/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py +++ b/lib/ansible/modules/cloud/amazon/cloudfront_distribution.py @@ -26,6 +26,10 @@ author: - Willem van Ketwich (@wilvk) - Will Thames (@willthames) +extends_documentation_fragment: + - aws + - ec2 + options: state: @@ -76,6 +80,13 @@ options: - A I(list[]) of domain name aliases (CNAMEs) as strings to be used for the distribution. Each alias must be unique across all distribution for the AWS account. + purge_aliases: + description: + - Specifies whether existing aliases will be removed before adding new aliases. When I(purge_aliases=yes), existing aliases are removed and I(aliases) + are added. + default: 'no' + choices: ['yes', 'no'] + default_root_object: description: - A config element that specifies the path to request when the user requests the origin. e.g. if specified as 'index.html', this maps to