Skip to content

Commit

Permalink
[promoted]Merge pull request ansible-collections#569 from tremble/doc…
Browse files Browse the repository at this point in the history
…s/require-boto3

Update the default module requirements from python 2.6/boto to python 3.6/boto3

SUMMARY
The vast bulk of modules are now boto3 based, but some even list python2.6/boto as their requirements because they've picked the default from the aws docs fragment.
Switch the defaults over to reduce the copy&paste and reflect that

boto v2 is deprecated
python 2.6 is no longer supported by the AWS collections

ISSUE TYPE

Docs Pull Request

COMPONENT NAME
lots of them
ADDITIONAL INFORMATION
Depends-On: ansible-collections/amazon.aws#298

Reviewed-by: Jill R <None>
Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@f186c9a
  • Loading branch information
ansible-zuul[bot] authored Jul 5, 2021
2 parents 6e47a23 + 5206097 commit c890777
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
- Creates AWS VPC endpoints.
- Deletes AWS VPC endpoints.
- This module supports check mode.
requirements: [ boto3 ]
options:
vpc_id:
description:
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_endpoint_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
description:
- Gets various details related to AWS VPC endpoints.
- This module was called C(ec2_vpc_endpoint_facts) before Ansible 2.9. The usage did not change.
requirements: [ boto3 ]
options:
query:
description:
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_endpoint_service_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
version_added: 1.5.0
description:
- Gets details related to AWS VPC Endpoint Services.
requirements: [ boto3 ]
options:
filters:
description:
Expand Down
4 changes: 0 additions & 4 deletions plugins/modules/ec2_vpc_igw.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
extends_documentation_fragment:
- amazon.aws.aws
- amazon.aws.ec2
requirements:
- botocore
- boto3
'''

EXAMPLES = '''
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_igw_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
description:
- Gather information about internet gateways in AWS.
- This module was called C(ec2_vpc_igw_facts) before Ansible 2.9. The usage did not change.
requirements: [ boto3 ]
author: "Nick Aslanidis (@naslanidis)"
options:
filters:
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/ec2_vpc_nacl.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@
extends_documentation_fragment:
- amazon.aws.aws
- amazon.aws.ec2
requirements: [ botocore, boto3, json ]
'''

EXAMPLES = r'''
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_nacl_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
- Gather information about Network ACLs in an AWS VPC
- This module was called C(ec2_vpc_nacl_facts) before Ansible 2.9. The usage did not change.
author: "Brad Davidson (@brandond)"
requirements: [ boto3 ]
options:
nacl_ids:
description:
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_nat_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
short_description: Manage AWS VPC NAT Gateways.
description:
- Ensure the state of AWS VPC NAT Gateways based on their id, allocation and subnet ids.
requirements: [boto3, botocore]
options:
state:
description:
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_nat_gateway_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
description:
- Gets various details related to AWS VPC Managed Nat Gateways
- This module was called C(ec2_vpc_nat_gateway_facts) before Ansible 2.9. The usage did not change.
requirements: [ boto3 ]
options:
nat_gateway_ids:
description:
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/ec2_vpc_peer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@
extends_documentation_fragment:
- amazon.aws.aws
- amazon.aws.ec2
requirements: [ botocore, boto3, json ]
'''

EXAMPLES = '''
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_peering_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
description:
- Gets various details related to AWS VPC Peers
- This module was called C(ec2_vpc_peering_facts) before Ansible 2.9. The usage did not change.
requirements: [ boto3 ]
options:
peer_connection_ids:
description:
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_vgw.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
- Deletes AWS VPN Virtual Gateways
- Attaches Virtual Gateways to VPCs
- Detaches Virtual Gateways from VPCs
requirements: [ boto3 ]
options:
state:
description:
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_vgw_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
description:
- Gather information about virtual gateways in AWS.
- This module was called C(ec2_vpc_vgw_facts) before Ansible 2.9. The usage did not change.
requirements: [ boto3 ]
options:
filters:
description:
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/ec2_vpc_vpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
extends_documentation_fragment:
- amazon.aws.ec2
- amazon.aws.aws
requirements: ['boto3', 'botocore']
author: "Sloane Hertel (@s-hertel)"
options:
state:
Expand Down
1 change: 0 additions & 1 deletion plugins/modules/ec2_vpc_vpn_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
description:
- Gather information about VPN Connections in AWS.
- This module was called C(ec2_vpc_vpn_facts) before Ansible 2.9. The usage did not change.
requirements: [ boto3 ]
author: Madhura Naniwadekar (@Madhura-CSI)
options:
filters:
Expand Down

0 comments on commit c890777

Please sign in to comment.