ansible/test/units/modules/cloud/amazon
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
..
fixtures
placebo_recordings [ec2_vpc_vgw] [ec2_vpc_vpn] stabilize modules for PR 35983 (#38666) 2018-05-03 14:19:19 -04:00
__init__.py
test_api_gateway.py Port some tests away from nose as examples (#33437) 2017-11-30 14:04:09 -08:00
test_aws_direct_connect_connection.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 2018-03-22 14:57:59 -04:00
test_aws_direct_connect_link_aggregation_group.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 2018-03-22 14:57:59 -04:00
test_cloudformation.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 2018-03-22 14:57:59 -04:00
test_data_pipeline.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 2018-03-22 14:57:59 -04:00
test_ec2_group.py EC2_group module refactor (formerly pr/37255) (#38678) 2018-05-24 11:53:21 -04:00
test_ec2_utils.py
test_ec2_vpc_nat_gateway.py
test_ec2_vpc_vpn.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 2018-03-22 14:57:59 -04:00
test_kinesis_stream.py [cloud] kinesis stream server side encryption - fixes #30269 (#30689) 2018-01-17 13:23:27 -05:00
test_lambda.py
test_lambda_policy.py Remove botocore from top-level execution in lambda_policy tests 2017-12-04 10:14:32 -05:00
test_s3.py Port some tests away from nose as examples (#33437) 2017-11-30 14:04:09 -08:00
test_s3_bucket.py