1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
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
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
integration EC2_group module refactor (formerly pr/37255) (#38678) 2018-05-24 11:53:21 -04:00
legacy Add OpenNebula one_service module (#37829) 2018-05-24 13:32:45 +02:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Add plugins to ansible-doc test and fix issues. 2018-05-23 13:10:09 -07:00
sanity EC2_group module refactor (formerly pr/37255) (#38678) 2018-05-24 11:53:21 -04:00
units EC2_group module refactor (formerly pr/37255) (#38678) 2018-05-24 11:53:21 -04:00
utils Make docs-build sanity test disabled by default. 2018-05-09 17:55:00 -07:00