community.general/lib/ansible/modules/cloud/amazon
Alex Lo ac74520b6f ec2_group: description property is immutable (#19790)
* update integration tests for updated boto exception message

* integration tests fail on both "test credential" test cases

exception bubbles out of module.  instead catch and wrap

* ec2_group does not support updating a security group's description

AWS security group descriptions are immutable.
if ec2_group finds a group that matches by name, but the descriptions do not match, the module does not support this case
previously it would check if the group was used, but would not do anything if it was

old behavior was erroneous because it could make a user expect that the description change of a group was fine when in fact it did not occur
also, it made an expensive check against all ec2 instances for no good reason

* comments not doc strings

* else must have pass w/o doc-string statement

* Catch specific BotoServerException, give context around error when fetching SGs

* python3 compatible exception blocks

* add traceback to fail_json

* two blank lines before first function
2017-03-26 09:33:29 -04:00
..
GUIDELINES.md include traceback in exception handling (#22807) 2017-03-23 14:08:02 -04:00
__init__.py
_ec2_ami_search.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
_ec2_vpc.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
aws_kms.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
cloudformation.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
cloudformation_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
cloudfront_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
cloudtrail.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
cloudwatchevent_rule.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
dynamodb_table.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2.py [cloud] make ec2 module pep8 (#22421) 2017-03-15 13:13:25 -04:00
ec2_ami.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_ami_copy.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_ami_find.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_asg.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_asg_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_customer_gateway.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_eip.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_elb.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_elb_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_elb_lb.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_eni.py [cloud] ec2_eni: don't modify a network interface without eni_id - fixes #22401 (#22689) 2017-03-17 16:26:49 -04:00
ec2_eni_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_group.py ec2_group: description property is immutable (#19790) 2017-03-26 09:33:29 -04:00
ec2_group_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_key.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_lc.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_lc_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_lc_find.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_metric_alarm.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_remote_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_scaling_policy.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_snapshot.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_snapshot_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_tag.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_vol.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vol_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_vpc_dhcp_options.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vpc_dhcp_options_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_vpc_igw.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vpc_igw_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vpc_nacl.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vpc_nacl_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vpc_nat_gateway.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vpc_nat_gateway_facts.py Import camel_dict_to_snake_dict method to fix error when executing get_nat_gateways() method 2017-03-22 16:30:59 -07:00
ec2_vpc_net.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_vpc_net_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_vpc_peer.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vpc_route_table.py Missing purge_subnets parameter on function call 2017-03-22 16:22:54 -07:00
ec2_vpc_route_table_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_vpc_subnet.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vpc_subnet_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_vpc_vgw.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vpc_vgw_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_win_password.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ecs_cluster.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ecs_ecr.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ecs_service.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ecs_service_facts.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ecs_task.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ecs_taskdefinition.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
efs.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
efs_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
elasticache.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
elasticache_parameter_group.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
elasticache_snapshot.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
elasticache_subnet_group.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
execute_lambda.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
iam.py allow groups parameter to be noticed as an empty list (#22707) 2017-03-17 16:11:48 -04:00
iam_cert.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
iam_mfa_device_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
iam_policy.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
iam_role.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
iam_server_certificate_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
kinesis_stream.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
lambda.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
lambda_alias.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
lambda_event.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
lambda_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
rds.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
rds_param_group.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
rds_subnet_group.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
redshift.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
redshift_subnet_group.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
route53.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
route53_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
route53_health_check.py [cloud][route53_health_check] Consider port in identity test (#22762) 2017-03-22 12:49:39 -04:00
route53_zone.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
s3.py [cloud] Add support for running s3 module in check mode (#22188) 2017-03-24 16:05:19 -04:00
s3_bucket.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
s3_lifecycle.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
s3_logging.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
s3_sync.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
s3_website.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
sns_topic.py E1 legacy pep8 fixes (#21933) 2017-03-21 21:19:40 -05:00
sqs_queue.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
sts_assume_role.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
sts_session_token.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00