community.general/lib/ansible/module_utils/aws
Ryan Brown 858a1b09bb EC2_group module refactor (formerly pr/37255) (#38678)
* Refactor ec2_group

Replace nested for loops with list comprehensions

Purge rules before adding new ones in case sg has maximum permitted rules

* Add check mode tests for ec2_group

* add tests

* Remove dead code

* Fix integration test assertions for old boto versions

* Add waiter for security group that is autocreated

* Add support for in-account group rules

* Add common util to get AWS account ID

Fixes #31383

* Fix protocol number and add separate tests for egress rule handling

* Return egress rule treatment to be backwards compatible

* Remove functions that were obsoleted by `Rule` namedtuple

* IP tests

* Move description updates to a function

* Fix string formatting missing index

* Add tests for auto-creation of the same group in quick succession

* Resolve use of brand-new group in a rule without a description

* Clean up duplicated get-security-group function

* Add reverse cleanup in case of dependency issues

* Add crossaccount ELB group support

* Deal with non-STS calls to account API

* Add filtering of owner IDs that match the current account
2018-05-24 11:53:21 -04:00
..
__init__.py aws.core in new aws dir in module utils - module with AnsibleAWSModule class and fail_json_aws (#25780) 2017-07-11 14:01:35 -07:00
batch.py [cloud] new module aws_batch_job_queue: support for AWS Batch Job Queues (#26701) 2018-01-30 17:22:06 -05:00
cloudfront_facts.py [cloud] New module cloudfront_distribution (#31284) 2018-01-17 11:03:23 -05:00
core.py [ec2_vpc_net] Add retries to describe_vpc_attribute call (#39256) 2018-04-30 15:27:22 -04:00
direct_connect.py [cloud] new module - AWS Direct Connect virtual interface (#33211) 2018-01-29 17:23:03 -05:00
elb_utils.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
elbv2.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
iam.py EC2_group module refactor (formerly pr/37255) (#38678) 2018-05-24 11:53:21 -04:00
waf.py AWS WAF module custom waiter (#37026) 2018-04-05 11:30:57 +10:00
waiters.py EC2_group module refactor (formerly pr/37255) (#38678) 2018-05-24 11:53:21 -04:00