diff --git a/changelogs/fragments/860-elb_classic_lb-create-https-listeners.yml b/changelogs/fragments/860-elb_classic_lb-create-https-listeners.yml new file mode 100644 index 00000000000..5d2ba07a30a --- /dev/null +++ b/changelogs/fragments/860-elb_classic_lb-create-https-listeners.yml @@ -0,0 +1,2 @@ +bugfixes: +- elb_classic_lb - modify the return value of _format_listeners method to resolve a failure creating https listeners (https://github.com/ansible-collections/amazon.aws/pull/860). diff --git a/plugins/modules/elb_classic_lb.py b/plugins/modules/elb_classic_lb.py index 44f697ab89a..20ba0c36f12 100644 --- a/plugins/modules/elb_classic_lb.py +++ b/plugins/modules/elb_classic_lb.py @@ -890,7 +890,7 @@ def _format_listener(self, listener, inject_protocol=False): if ssl_id: formatted_listener['SSLCertificateId'] = ssl_id - return snake_dict_to_camel_dict(listener, True) + return formatted_listener def _format_healthcheck_target(self): """Compose target string from healthcheck parameters"""