community.general/lib/ansible/modules/cloud/amazon
Will Thames df321e8579 [cloud] change iam_managed_policy return to snake_case (#26219)
* Change iam_managed_policy to return snake case

Import module_utils.ec2 methods explicitly

* iam_managed_policy: tidy argument spec

Remove unnecessary specifications (`default=None`, `required=False`)
Use `required_if` to check for `policy` when `state` is `present`

* Provide exception handling in iam_managed_policy

Pretty much all AWS API calls can go wrong, and we should handle them.

Update line wrapping to improve readability of method calls

* Improve error handling when policy version limit exceeded

Better document policy version limit exceeded, and check
the error code to see that that's actually what happened
(rather than e.g. no permissions to add a new version)

* iam_managed_policy: better handle pagination and retry
2017-07-13 21:30:41 -04: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 New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
_ec2_remote_facts.py Upgrade ec2_remote_facts to use boto3 (#22937) 2017-06-30 14:19:08 +10:00
_ec2_vpc.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
aws_api_gateway.py [cloud] New module: AWS API Gageway module (#20230) 2017-06-05 10:25:56 -04:00
aws_kms.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
cloudformation.py [cloud] Stop CloudFormation module from always making changesets (#26619) 2017-07-10 16:57:37 -04:00
cloudformation_facts.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
cloudfront_facts.py Rectify traceback.format_exc() call (#25773) 2017-06-16 11:38:36 -04:00
cloudtrail.py [cloud] Update AWS CloudTrail module to use boto3 and updated/new CT parameters (#22884) 2017-05-16 16:45:03 -04:00
cloudwatchevent_rule.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
dynamodb_table.py Fix hash_key_name to be optional for delete (#25009) 2017-06-12 10:25:43 -04:00
dynamodb_ttl.py [cloud] fix dynamodb_ttl exception handling for ParamValidationError (#25870) 2017-06-19 15:29:14 -04:00
ec2.py [cloud] Update ec2.py default for public IP assignment (#25896) 2017-06-21 14:58:26 -04:00
ec2_ami.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
ec2_ami_copy.py spelling fixes (non-trivial, changing messages) (#25094) 2017-06-01 10:45:19 +01:00
ec2_ami_find.py Tiny Typo Fix (#24828) 2017-05-19 14:31:02 +01:00
ec2_asg.py ec2_asg and ec2_asg_facts module improvements (#25166) 2017-06-12 07:15:04 -04:00
ec2_asg_facts.py [cloud] Return target_group_names where sensible in ec2_asg_facts module (#26078) 2017-06-27 17:04:15 -04: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 use proper pagination variable (#25838) 2017-06-21 12:00:41 +10:00
ec2_elb_lb.py [cloud] ec2_elb_lb module Python 3 fix for string types (#24925) 2017-06-02 07:40:56 -04:00
ec2_eni.py [cloud] ec2_eni module - allow attaching a new instance - fixes #19452 (#22377) 2017-06-09 11:31:42 -04:00
ec2_eni_facts.py Feature/aws helper function for tags (#23387) 2017-05-11 07:39:51 +01:00
ec2_facts.py Add support for EC2 dynamic data in ec2_facts (#21532) 2017-06-30 16:27:49 +10:00
ec2_group.py ec2_group fix TypeError bug #26291 2017-07-03 16:59:43 -04:00
ec2_group_facts.py boto only returns tags in the described security group if they exist (#26053) 2017-06-28 09:14:38 +10:00
ec2_instance_facts.py Upgrade ec2_remote_facts to use boto3 (#22937) 2017-06-30 14:19:08 +10:00
ec2_key.py [cloud][python3] bytes fix to make ec2_key work on python 3 (#23051) 2017-03-28 17:00:26 -04:00
ec2_lc.py [cloud] Add vpc_id option for ec2_lc security group lookups by name (#24459) 2017-05-16 16:46:28 -04:00
ec2_lc_facts.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
ec2_lc_find.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
ec2_metric_alarm.py Fix alarm action comparison (#23523) 2017-04-13 11:27:48 -07: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 Feature/aws helper function for tags (#23387) 2017-05-11 07:39:51 +01:00
ec2_tag.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
ec2_vol.py [cloud] ec2_vol module snapshot and volume_size are not mutually exclusive (#26764) 2017-07-13 15:08:03 -04: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 ec2_vpc_dhcp_options_facts: if tags don't exist set them to default list instead of crashing - fixes #23825 (#23967) 2017-06-29 22:47:05 +10:00
ec2_vpc_endpoint.py Os port fix (#24913) 2017-05-23 09:40:56 -07:00
ec2_vpc_endpoint_facts.py [cloud] New module ec2_vpc_endpoint_facts for AWS EC2 VPC Endpoints (#20211) 2017-06-20 08:31:31 -04:00
ec2_vpc_igw.py fix return value (#25611) 2017-06-13 09:18:58 -04:00
ec2_vpc_igw_facts.py Correct link to DescribeInternetGateway docs (#25622) 2017-06-12 20:30:30 -04:00
ec2_vpc_nacl.py amazon: allow NACL to be removed by its id (#25925) 2017-06-22 16:46:46 +10:00
ec2_vpc_nacl_facts.py Support check_mode in ec2_vpc_nacl (#23112) 2017-06-02 13:15:38 -04:00
ec2_vpc_nat_gateway.py [cloud] Make ec2_vpc_nat_gateway results consistent (#24042) 2017-05-16 11:14:05 -04:00
ec2_vpc_nat_gateway_facts.py [cloud] Support check_mode for ec2_vpc_nat_gateway_facts (#23114) 2017-04-04 08:31:01 -04: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_peering_facts.py New facts module for AWS VPC Peering (#19910) 2017-06-06 14:42:58 -04:00
ec2_vpc_route_table.py ec2_vpc_route_table doc fix: 'subnets' isn't required (#26656) 2017-07-12 10:39:11 +10:00
ec2_vpc_route_table_facts.py [cloud] Support check_mode for ec2_vpc_route_table_facts (#23116) 2017-04-04 08:31:26 -04:00
ec2_vpc_subnet.py Improve ec2_vpc_subnet check mode (#23108) 2017-06-30 08:04:48 -04:00
ec2_vpc_subnet_facts.py [cloud] Support check_mode for ec2_vpc_subnet_facts (#23111) 2017-04-04 08:34:49 -04:00
ec2_vpc_vgw.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ec2_vpc_vgw_facts.py fixed missing "import traceback" (#23427) 2017-05-02 11:42:43 -04:00
ec2_win_password.py Cyptography pr 20566 rebase (#25560) 2017-06-27 06:00:15 -07:00
ecs_cluster.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
ecs_ecr.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
ecs_service.py ecs_service: add tasks placement constraints and strategy. (#20503) 2017-04-27 08:33:23 +01:00
ecs_service_facts.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
ecs_task.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ecs_taskdefinition.py ecs_taskdefinition module: containers.environment convert to string (fix #23297) (#23681) 2017-07-13 20:10:31 -04:00
efs.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
efs_facts.py Support check mode for efs_facts (#26273) 2017-07-05 15:06:08 +02:00
elasticache.py [cloud] Use boto connect_to_region so Elasticache works in AWS China (#24250) 2017-05-16 11:09:54 -04:00
elasticache_parameter_group.py elasticache: add requirements to parameter_group and snapshot (#24904) 2017-06-02 00:18:02 +02:00
elasticache_snapshot.py elasticache: add requirements to parameter_group and snapshot (#24904) 2017-06-02 00:18:02 +02:00
elasticache_subnet_group.py [cloud] Add support for AWS China to elasticache_subnet_group role (#24286) 2017-05-16 11:10:15 -04:00
elb_application_lb.py [cloud] Python3 fixes: use string_types instead of basestring (#26102) 2017-06-26 15:06:53 -04:00
elb_target_group.py [cloud] New module to support ALB/ELBv2 elb_target_group (#19492) 2017-05-31 10:09:20 -04:00
elb_target_group_facts.py [cloud] elb_target_group_facts.pyFix tags being snaked (#25742) 2017-06-15 13:19:28 -04:00
execute_lambda.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
GUIDELINES.md module_utils/ec2: fix boto3 tags to remove (#25277) 2017-06-06 11:02:15 -04:00
iam.py Fixed the exception handling logic for the delete_group function. (#26109) 2017-06-30 14:12:50 -04:00
iam_cert.py Fixing bug introduced in 20622 2017-06-26 11:38:47 -04:00
iam_cert_facts.py Add new aws module - iam_cert_facts (#24451) 2017-05-16 09:31:39 -04:00
iam_group.py Further iam_group improvements 2017-06-29 11:38:49 +10:00
iam_managed_policy.py [cloud] change iam_managed_policy return to snake_case (#26219) 2017-07-13 21:30:41 -04: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 Allow iam_role to work with friendly policy names (#22630) 2017-05-31 10:15:13 -04: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 [cloud] Update VPC configuration for existing lambda (#24368) 2017-05-16 11:08:21 -04:00
lambda_alias.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
lambda_event.py verify arns differently than function names (#23966) 2017-05-03 12:01:42 -04:00
lambda_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
lightsail.py [cloud] New module: AWS lightsail (#19846) 2017-03-27 15:10:52 -04:00
rds.py ensure port is an int (#25310) 2017-06-02 15:15:47 -04: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 Use wait_timeout as integer in redshift module (#24279) 2017-05-08 10:07:04 -04:00
redshift_subnet_group.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
route53.py Handle rate limits on every iteration (#23726) 2017-06-20 16:49:05 -04:00
route53_facts.py route53_facts: add example for how to use next_marker option - fixes #23625 (#23802) 2017-04-20 16:34:43 -04:00
route53_health_check.py [cloud] Fix logical flaw in route53_health_check, use string ports everywhere (#25706) 2017-06-27 15:58:21 -04:00
route53_zone.py [cloud] route53_zone: allow split horizon for route53_zone and refactor - fixes #22939 (#23190) 2017-04-11 16:02:14 -04:00
s3.py [cloud] s3: deleting a nonexistent bucket should not give a traceback Fixes #25445 (#25487) 2017-06-12 13:52:25 -04:00
s3_bucket.py Convert basestring to string_types (#25228) 2017-06-01 10:24:33 -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 s3_sync: removing irrelevant s3.list_buckets() call - fixes #23409 (#23492) 2017-04-18 16:49:10 -04:00
s3_website.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
sns.py Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
sns_topic.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
sqs_queue.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01: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