You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
6 years ago
..
fixtures
placebo_recordings [ec2_vpc_vgw] [ec2_vpc_vpn] stabilize modules for PR 35983 (#38666) 7 years ago
__init__.py
test_api_gateway.py
test_aws_direct_connect_connection.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 7 years ago
test_aws_direct_connect_link_aggregation_group.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 7 years ago
test_cloudformation.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 7 years ago
test_data_pipeline.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 7 years ago
test_ec2_group.py EC2_group module refactor (formerly pr/37255) (#38678) 6 years ago
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) 7 years ago
test_kinesis_stream.py
test_lambda.py
test_lambda_policy.py
test_s3.py
test_s3_bucket.py