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/lib/ansible/modules/cloud/amazon
Shaun Brady 04199140c5 Make group_name resolution VPC aware
EC2 Security Group names are unique given a VPC.  When a group_name
value is specified in a rule, if the group_name does not exist in the
provided vpc_id it should create the group as per the documentation.

The groups dictionary uses group_names as keys, so it is possible to
find a group in another VPC with the name that is desired.  This causes
an error as the security group being acted on, and the security group
referenced in the rule are in two different VPCs.

To prevent this issue, we check to see if vpc_id is defined and if so
check that VPCs match, else we treat the group as new.
2016-12-08 11:24:46 -05:00
..
__init__.py added __init__.py to new cloud subcategories so builds work again 2016-12-08 11:22:25 -05:00
_ec2_ami_search.py Fix for #16518 - added missing regions 2016-12-08 11:24:40 -05:00
cloudformation.py Add CAPABILITY_NAMED_IAM to cloudformation capabilities 2016-12-08 11:24:45 -05:00
ec2.py Remove double-assignment of EC2 parameters (#4081) 2016-12-08 11:24:40 -05:00
ec2_ami.py added missing colons to documentation (#3913) 2016-12-08 11:24:36 -05:00
ec2_ami_find.py Allow us to sort by all available datatypes 2016-12-08 11:24:11 -05:00
ec2_asg.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
ec2_eip.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
ec2_elb.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
ec2_elb_lb.py Fixes incorrect key name protocols -> protocol (#3963) 2016-12-08 11:24:38 -05:00
ec2_facts.py Fix for #16518 - added missing regions 2016-12-08 11:24:40 -05:00
ec2_group.py Make group_name resolution VPC aware 2016-12-08 11:24:46 -05:00
ec2_key.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
ec2_lc.py Improve documentation on security_groups-option 2016-12-08 11:24:44 -05:00
ec2_metric_alarm.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
ec2_scaling_policy.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
ec2_snapshot.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
ec2_tag.py Add more example on how to use module ec2_tags to list tags on an ins… (#3530) 2016-12-08 11:24:24 -05:00
ec2_vol.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
ec2_vpc.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
ec2_vpc_net.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
elasticache.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
elasticache_subnet_group.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
iam.py IAM group modules need module passed 2016-12-08 11:24:39 -05:00
iam_cert.py Enforce boolean type for dup_ok 2016-12-08 11:24:45 -05:00
iam_policy.py fixes issues where iam_policy incorrected reported changed 2016-12-08 11:24:45 -05:00
rds.py Add default port for aurora (#4102) 2016-12-08 11:24:42 -05:00
rds_param_group.py Add support for PostgreSQL 9.5 in rds_param_group (fix for #3846) 2016-12-08 11:24:35 -05:00
rds_subnet_group.py Fixing error exception handling for python3. Does not need to be compa… (#3840) 2016-12-08 11:24:34 -05:00
route53.py Add an example to delete Route53 alias record set (#3834) 2016-12-08 11:24:35 -05:00
s3.py Add s3_url requirement in doc when rgw support is enabled in s3.py 2016-12-08 11:24:38 -05:00