Skip to content

Commit

Permalink
Bulk migration to AnsibleAWSModule (ansible-collections#173)
Browse files Browse the repository at this point in the history
* 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: ansible-collections/community.aws@818c6d2
  • Loading branch information
tremble authored and abikouo committed Oct 15, 2024
1 parent 0e9961a commit ebff9a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/modules/ec2_vpc_egress_igw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down Expand Up @@ -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
"""
Expand Down Expand Up @@ -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
"""
Expand Down

0 comments on commit ebff9a0

Please sign in to comment.