From 6c1f4d94854b5d34f2273e806c3f6e2d31e55617 Mon Sep 17 00:00:00 2001 From: Alina Buzachis Date: Wed, 23 Oct 2024 21:33:39 +0200 Subject: [PATCH] Apply isort Signed-off-by: Alina Buzachis --- plugins/modules/ec2_vpc_vgw.py | 3 +-- plugins/modules/ec2_vpc_vgw_info.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/modules/ec2_vpc_vgw.py b/plugins/modules/ec2_vpc_vgw.py index bbdb7581eb3..07ad7e4b2aa 100644 --- a/plugins/modules/ec2_vpc_vgw.py +++ b/plugins/modules/ec2_vpc_vgw.py @@ -164,14 +164,13 @@ from ansible_collections.amazon.aws.plugins.module_utils.ec2 import describe_vpn_gateways from ansible_collections.amazon.aws.plugins.module_utils.ec2 import detach_vpn_gateway from ansible_collections.amazon.aws.plugins.module_utils.ec2 import ensure_ec2_tags +from ansible_collections.amazon.aws.plugins.module_utils.modules import AnsibleAWSModule from ansible_collections.amazon.aws.plugins.module_utils.retries import AWSRetry from ansible_collections.amazon.aws.plugins.module_utils.tagging import boto3_tag_list_to_ansible_dict from ansible_collections.amazon.aws.plugins.module_utils.tagging import boto3_tag_specifications from ansible_collections.amazon.aws.plugins.module_utils.waiters import get_waiter from ansible_collections.amazon.aws.plugins.module_utils.waiters import wait_for_resource_state -from ansible_collections.amazon.aws.plugins.module_utils.modules import AnsibleAWSModule - # AWS uses VpnGatewayLimitExceeded for both 'Too many VGWs' and 'Too many concurrent changes' # we need to look at the mesage to tell the difference. diff --git a/plugins/modules/ec2_vpc_vgw_info.py b/plugins/modules/ec2_vpc_vgw_info.py index 3fef43718df..2218c2bccef 100644 --- a/plugins/modules/ec2_vpc_vgw_info.py +++ b/plugins/modules/ec2_vpc_vgw_info.py @@ -124,11 +124,10 @@ from ansible_collections.amazon.aws.plugins.module_utils.ec2 import AnsibleEC2Error from ansible_collections.amazon.aws.plugins.module_utils.ec2 import describe_vpn_gateways +from ansible_collections.amazon.aws.plugins.module_utils.modules import AnsibleAWSModule from ansible_collections.amazon.aws.plugins.module_utils.tagging import boto3_tag_list_to_ansible_dict from ansible_collections.amazon.aws.plugins.module_utils.transformation import ansible_dict_to_boto3_filter_list -from ansible_collections.amazon.aws.plugins.module_utils.modules import AnsibleAWSModule - def get_virtual_gateway_info(virtual_gateway): tags = virtual_gateway.get("Tags", [])