[cloud][aws] New module: cloudfront_invalidation (#35601)

* Remove redundant default for target_paths

* Make invalidation requests idempotent

* Remove redundant exception handling around boto3_conn

* Add cloudfront_invalidation to the changelog
This commit is contained in:
Willem van Ketwich 2018-02-03 07:09:55 +11:00 committed by Ryan Brown
parent 36bd24f121
commit 4faad64579
3 changed files with 279 additions and 0 deletions

View file

@ -142,3 +142,6 @@ class AnsibleAWSModule(object):
else:
self._module.fail_json(msg=message, exception=last_traceback,
**camel_dict_to_snake_dict(response))
def warn(self, msg):
self._module.warn(msg)