From ebff9a03fecfcec327f8f8a362785c8897fefc3e Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Wed, 12 Aug 2020 13:06:35 +0200 Subject: [PATCH] Bulk migration to AnsibleAWSModule (#173) * Update comments to reference AnsibleAWSModule rather than AnsibleModule * Bulk re-order imports and split onto one from import per-line. * Add AnsibleAWSModule imports * Migrate boto 2 based modules to AnsibleAWSModule * Move boto3-only modules over to AnsibleAWSModule * Remove extra ec2_argument_spec calls - not needed now we're using AnsibleAWSModule * Remove most HAS_BOTO3 code, it's handled by AnsibleAWSModule * Handle missing Boto 2 consistently (HAS_BOTO) * Remove AnsibleModule imports * Changelog fragment This commit was initially merged in https://github.com/ansible-collections/community.aws See: https://github.com/ansible-collections/community.aws/commit/818c6d2faa046974a9bdfa9346122d11e5bef3b1 --- plugins/modules/ec2_vpc_egress_igw.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/modules/ec2_vpc_egress_igw.py b/plugins/modules/ec2_vpc_egress_igw.py index b2f481b86dd..d462696d0af 100644 --- a/plugins/modules/ec2_vpc_egress_igw.py +++ b/plugins/modules/ec2_vpc_egress_igw.py @@ -71,7 +71,7 @@ def delete_eigw(module, conn, eigw_id): """ Delete EIGW. - module : AnsibleModule object + module : AnsibleAWSModule object conn : boto3 client connection object eigw_id : ID of the EIGW to delete """ @@ -99,7 +99,7 @@ def create_eigw(module, conn, vpc_id): """ Create EIGW. - module : AnsibleModule object + module : AnsibleAWSModule object conn : boto3 client connection object vpc_id : ID of the VPC we are operating on """ @@ -139,7 +139,7 @@ def describe_eigws(module, conn, vpc_id): """ Describe EIGWs. - module : AnsibleModule object + module : AnsibleAWSModule object conn : boto3 client connection object vpc_id : ID of the VPC we are operating on """