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
Sloane Hertel 29ab182537 elasticache_parameter_group: fix KeyError bug #24475 (#24509)
* Fix KeyError bug by appending None if key doesn't exist

ensure value is the expected type; if if expecting something parsed as truthy try to turn it back into the desired value - fixes result showing always changed since bool compared to str

use to_text

* use string_types instead of str, remove inline conditionals, abbreviate boolean logic
2017-08-18 15:23:38 -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 Update metadata to 1.1 2017-08-15 23:12:08 -07:00
_ec2_elb.py Rename classic elb modules to match new names applied to application LB modules (#25745) 2017-07-24 16:28:02 -04:00
_ec2_elb_facts.py Rename classic elb modules to match new names applied to application LB modules (#25745) 2017-07-24 16:28:02 -04:00
_ec2_elb_lb.py Rename classic elb modules to match new names applied to application LB modules (#25745) 2017-07-24 16:28:02 -04:00
_ec2_facts.py [cloud] Rename ec2_facts to ec2_metadata_facts (#26293) 2017-07-18 16:11:09 -04:00
_ec2_remote_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
_ec2_vpc.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
_ec2_vpc_dhcp_options.py Rename modules from plural to singular (#27185) 2017-08-14 16:35:15 -04:00
_ec2_vpc_dhcp_options_facts.py Rename modules from plural to singular (#27185) 2017-08-14 16:35:15 -04:00
_iam_cert_facts.py iam certificate facts (duplicate): add iam_cert_facts as alias for iam_server_certificate_facts (#25387) 2017-08-12 01:44:39 -07:00
aws_api_gateway.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
aws_kms.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
aws_s3_bucket_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
cloudformation.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
cloudformation_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
cloudfront_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
cloudtrail.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
cloudwatchevent_rule.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
data_pipeline.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
dynamodb_table.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
dynamodb_ttl.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2.py ec2.py: filter by client-token if id is specified (#26114) 2017-08-17 15:17:13 -04:00
ec2_ami.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_ami_copy.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_ami_find.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_asg.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_asg_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_customer_gateway.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_eip.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_eni.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_eni_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_group_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_instance_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_key.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_lc.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_lc_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_lc_find.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_metadata_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_metric_alarm.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_scaling_policy.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_snapshot.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_snapshot_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_tag.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vol.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vol_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_dhcp_option.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_dhcp_option_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_endpoint.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_endpoint_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_igw.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_igw_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_nacl.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_nacl_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_nat_gateway.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_nat_gateway_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_net.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_net_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_peer.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_peering_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_route_table.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_route_table_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_subnet.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_subnet_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_vgw.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_vpc_vgw_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ec2_win_password.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ecs_attribute.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ecs_cluster.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ecs_ecr.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ecs_service.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ecs_service_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ecs_task.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ecs_taskdefinition.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
efs.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
efs_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
elasticache.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
elasticache_parameter_group.py elasticache_parameter_group: fix KeyError bug #24475 (#24509) 2017-08-18 15:23:38 -04:00
elasticache_snapshot.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
elasticache_subnet_group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
elb_application_lb.py [cloud] Cast port to an integer in elb_application_lb listener spec (#28341) 2017-08-17 15:13:58 -04:00
elb_application_lb_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
elb_classic_lb.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
elb_classic_lb_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
elb_instance.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
elb_target_group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
elb_target_group_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
execute_lambda.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
GUIDELINES.md [cloud] fix exception examples in AWS guidelines to be compatible with python3 (#26948) 2017-07-18 09:35:19 -04:00
iam.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
iam_cert.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
iam_group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
iam_managed_policy.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
iam_mfa_device_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
iam_policy.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
iam_role.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
iam_server_certificate_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
kinesis_stream.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lambda.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lambda_alias.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lambda_event.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lambda_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lightsail.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
rds.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
rds_param_group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
rds_subnet_group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
redshift.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
redshift_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
redshift_subnet_group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
route53.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
route53_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
route53_health_check.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
route53_zone.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
s3.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
s3_bucket.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
s3_lifecycle.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
s3_logging.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
s3_sync.py s3_sync was setting HAS_BOTO3 by the existence of botocore alone. Fixes #28023 (#28339) 2017-08-18 13:21:10 -04:00
s3_website.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
sns.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
sns_topic.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
sqs_queue.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
sts_assume_role.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
sts_session_token.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00