ansible/test/units/modules/cloud
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
..
amazon EC2_group module refactor (formerly pr/37255) (#38678) 2018-05-24 11:53:21 -04:00
google test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
openstack Add a module_utils OpenStack Cloud constructor (#20974) 2018-02-15 15:20:49 +01:00
__init__.py Relocate module unit tests. (#18812) 2016-12-08 11:35:20 -05:00