Remove unused imports from aws_config_aggregator (#41803)
This commit is contained in:
parent
8f144976df
commit
5abb63ea56
1 changed files with 2 additions and 4 deletions
|
@ -81,13 +81,11 @@ RETURN = r'''#'''
|
|||
|
||||
try:
|
||||
import botocore
|
||||
from botocore.exceptions import BotoCoreError, ClientError
|
||||
except ImportError:
|
||||
pass # handled by AnsibleAWSModule
|
||||
|
||||
from ansible.module_utils.aws.core import AnsibleAWSModule, is_boto3_error_code
|
||||
from ansible.module_utils.ec2 import boto3_conn, get_aws_connection_info, AWSRetry
|
||||
from ansible.module_utils.ec2 import camel_dict_to_snake_dict, boto3_tag_list_to_ansible_dict
|
||||
from ansible.module_utils.ec2 import AWSRetry, camel_dict_to_snake_dict
|
||||
|
||||
|
||||
def resource_exists(client, module, params):
|
||||
|
@ -104,7 +102,7 @@ def resource_exists(client, module, params):
|
|||
|
||||
def create_resource(client, module, params, result):
|
||||
try:
|
||||
response = client.put_configuration_aggregator(
|
||||
client.put_configuration_aggregator(
|
||||
ConfigurationAggregatorName=params['ConfigurationAggregatorName'],
|
||||
AccountAggregationSources=params['AccountAggregationSources'],
|
||||
OrganizationAggregationSource=params['OrganizationAggregationSource']
|
||||
|
|
Loading…
Reference in a new issue