community.general/lib/ansible/modules/cloud/amazon
Daniel Shepherd 56da2c13d6 [cloud] Add ipv6 support to ec2_vpc_nacl_facts (#30581)
* wrap boto3 connection in try/except and handle exception, add traceback import

* params dont need to be mutually exclusive and support check mode

* add check to set nacl_ids to empty list instead of None for boto3 func

* standard exception handling using traceback

* update current RETURN documentation which is incorrect.

* update logic to check for and return ipv6 cidr instead of ipv4 cidr in a NACL

* ignore default and reserved rule numbers - greater than 32766

* was breaking on non-standard protocol numbers - AWS nacls now support full list -1 to 254

* update port range and icmp type/code handling

* add some more detail to returned nacl entries

* Update exception handling to account for BotoCoreError

Remove exception handling from the boto connection creation since it does nothing

* rules numbers from 32767 to 65535 are reserved for internal AWS use so we ignore here
2018-01-08 16:24:40 -05:00
..
GUIDELINES.md
__init__.py
_ec2_ami_find.py
_ec2_ami_search.py
_ec2_facts.py
_ec2_remote_facts.py
_ec2_vpc.py
_ec2_vpc_dhcp_options.py
_ec2_vpc_dhcp_options_facts.py
_iam_cert_facts.py
_s3.py
aws_acm_facts.py
aws_api_gateway.py
aws_application_scaling_policy.py
aws_direct_connect_connection.py
aws_direct_connect_gateway.py
aws_direct_connect_link_aggregation_group.py
aws_kms.py
aws_kms_facts.py
aws_s3.py
aws_s3_bucket_facts.py
aws_s3_cors.py
aws_ssm_parameter_store.py
aws_waf_facts.py
cloudformation.py
cloudformation_facts.py
cloudfront_facts.py
cloudtrail.py
cloudwatchevent_rule.py
data_pipeline.py
dynamodb_table.py
dynamodb_ttl.py
ec2.py
ec2_ami.py
ec2_ami_copy.py
ec2_ami_facts.py
ec2_asg.py
ec2_asg_facts.py
ec2_asg_lifecycle_hook.py
ec2_customer_gateway.py
ec2_eip.py
ec2_elb.py
ec2_elb_facts.py
ec2_elb_lb.py
ec2_eni.py
ec2_eni_facts.py
ec2_group.py
ec2_group_facts.py
ec2_instance_facts.py
ec2_key.py
ec2_lc.py
ec2_lc_facts.py
ec2_lc_find.py
ec2_metadata_facts.py
ec2_metric_alarm.py
ec2_placement_group.py
ec2_placement_group_facts.py
ec2_scaling_policy.py
ec2_snapshot.py
ec2_snapshot_copy.py
ec2_snapshot_facts.py
ec2_tag.py
ec2_vol.py
ec2_vol_facts.py
ec2_vpc_dhcp_option.py
ec2_vpc_dhcp_option_facts.py
ec2_vpc_endpoint.py
ec2_vpc_endpoint_facts.py
ec2_vpc_igw.py
ec2_vpc_igw_facts.py
ec2_vpc_nacl.py
ec2_vpc_nacl_facts.py
ec2_vpc_nat_gateway.py
ec2_vpc_nat_gateway_facts.py
ec2_vpc_net.py
ec2_vpc_net_facts.py
ec2_vpc_peer.py
ec2_vpc_peering_facts.py
ec2_vpc_route_table.py
ec2_vpc_route_table_facts.py
ec2_vpc_subnet.py
ec2_vpc_subnet_facts.py
ec2_vpc_vgw.py
ec2_vpc_vgw_facts.py
ec2_vpc_vpn.py
ec2_win_password.py
ecs_attribute.py
ecs_cluster.py
ecs_ecr.py
ecs_service.py
ecs_service_facts.py
ecs_task.py
ecs_taskdefinition.py
ecs_taskdefinition_facts.py
efs.py
efs_facts.py
elasticache.py
elasticache_facts.py
elasticache_parameter_group.py
elasticache_snapshot.py
elasticache_subnet_group.py
elb_application_lb.py
elb_application_lb_facts.py
elb_classic_lb.py
elb_classic_lb_facts.py
elb_instance.py
elb_target_group.py
elb_target_group_facts.py
execute_lambda.py
iam.py
iam_cert.py
iam_group.py
iam_managed_policy.py
iam_mfa_device_facts.py
iam_policy.py
iam_role.py
iam_role_facts.py
iam_server_certificate_facts.py
kinesis_stream.py
lambda.py
lambda_alias.py
lambda_event.py
lambda_facts.py
lambda_policy.py
lightsail.py
rds.py
rds_param_group.py
rds_subnet_group.py
redshift.py
redshift_facts.py
redshift_subnet_group.py
route53.py
route53_facts.py
route53_health_check.py
route53_zone.py
s3_bucket.py
s3_lifecycle.py
s3_logging.py
s3_sync.py
s3_website.py
sns.py
sns_topic.py
sqs_queue.py
sts_assume_role.py
sts_session_token.py