From 7dcaef8115580ec38b2311b98e06eb07a4d7cb40 Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Tue, 19 Jun 2018 08:48:46 -0400 Subject: [PATCH] Fix aws_config_aggregator argument count error (#41686) --- lib/ansible/modules/cloud/amazon/aws_config_aggregator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/aws_config_aggregator.py b/lib/ansible/modules/cloud/amazon/aws_config_aggregator.py index 311a5b71de..2255f1a61d 100644 --- a/lib/ansible/modules/cloud/amazon/aws_config_aggregator.py +++ b/lib/ansible/modules/cloud/amazon/aws_config_aggregator.py @@ -90,7 +90,7 @@ from ansible.module_utils.ec2 import boto3_conn, get_aws_connection_info, AWSRet from ansible.module_utils.ec2 import camel_dict_to_snake_dict, boto3_tag_list_to_ansible_dict -def resource_exists(client, module, resource_type, params): +def resource_exists(client, module, params): try: aggregator = client.describe_configuration_aggregators( ConfigurationAggregatorNames=[params['name']]