Skip to content

community.aws 2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Aug 18:31
· 713 commits to main since this release
ee984b2

Major Changes

  • community.aws collection - The community.aws collection has dropped support for botocore<1.18.0 and boto3<1.15.0 (#711). Most modules will continue to work with older versions of the AWS SDK, however compatibility with older versions of the SDK is not guaranteed and will not be tested. When using older versions of the SDK a warning will be emitted by Ansible (ansible-collections/amazon.aws#442).

Minor Changes

  • aws_eks_cluster - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • aws_kms_info - use a generator rather than list comprehension (#688).
  • aws_s3_bucket_info - added test for botocore>=1.18.11 when attempting to fetch bucket ownership controls (#682)
  • aws_ses_rule_set - use a generator rather than list comprehension (#688).
  • aws_sgw_info - ensure module runs in check_mode (#659).
  • cloudformation_exports_info - ensure module runs in check_mode (#659).
  • cloudformation_stack_set - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • cloudfront_info - ensure module runs in check_mode (#659).
  • cloudwatchevent_rule - use a generator rather than list comprehension (#688).
  • dynamodb_table - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • dynamodb_ttl - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • ec2_ami_copy - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • ec2_asg - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • ec2_asg_info - ensure module runs in check_mode (#659).
  • ec2_launch_template - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • ec2_lc_info - ensure module runs in check_mode (#659).
  • ec2_transit_gateway - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • ec2_transit_gateway_info - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • ec2_vpc_peer - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • ec2_vpc_peer - use shared code for tagging peering connections (#614).
  • ec2_vpc_route_table - use shared code for tagging route tables (#616).
  • ec2_vpc_vgw - fix arguments-renamed pylint issue (#686).
  • ec2_vpc_vpn - fix arguments-renamed pylint issue (#686).
  • ecs_ecr - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • ecs_service - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • ecs_task - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • ecs_task - remove unused import (#686).
  • ecs_taskdefinition - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • efs - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • efs_info - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • elasticache_subnet_group - add return values (#723).
  • elasticache_subnet_group - add support for check_mode (#723).
  • elasticache_subnet_group - module migrated to boto3 AWS SDK (#723).
  • elb_application_lb - added ip_address_type parameter to support changing application load balancer configuration (#499).
  • elb_application_lb_info - added ip_address_type in output when gathering application load balancer parameters (#499).
  • elb_instance - make elb_instance idempotent when deregistering instances. Merged from ec2_elb U(ansible/ansible#31660).
  • elb_network_lb - added ip_address_type parameter to support changing network load balancer configuration (#499).
  • elb_target_group - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • elb_target_group - use a generator rather than list comprehension (#688).
  • iam - use a generator rather than list comprehension (#688).
  • iam_group - use a generator rather than list comprehension (#688).
  • iam_mfa_device_info - ensure module runs in check_mode (#659).
  • iam_role - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • iam_role - use a generator rather than list comprehension (#688).
  • iam_server_certificate_info - ensure module runs in check_mode (#659).
  • iam_user - use a generator rather than list comprehension (#688).
  • kms_info - added a new keys_attr parameter to continue returning the key details in the keys attribute as well as the kms_keys attribute (#648).
  • lambda - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • rds_instance - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • rds_instance - convert preferred_maintenance_window days into lowercase so changed returns properly (#516).
  • rds_instance - use a generator rather than list comprehension (#688).
  • route53 - add rate-limiting retries while waiting for changes to propagate (#564).
  • route53 - add retries on PriorRequestNotComplete errors (#564).
  • route53 - update retry max_delay setting so that it can be set above 60 seconds (#564).
  • sns_topic - Added topic_type parameter to select type of SNS topic (either FIFO or Standard) (#599).
  • sqs_queue - Tests for compatibility with older versions of the AWS SDKs have been removed (#675).
  • various community.aws modules - remove unused imports (#629)
  • wafv2_resources_info - ensure module runs in check_mode (#659).
  • wafv2_web_acl_info - ensure module runs in check_mode (#659).

Breaking Changes / Porting Guide

  • ec2_instance - The module has been migrated to the amazon.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_instance.
  • ec2_instance_info - The module has been migrated to the amazon.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_instance_info.
  • ec2_vpc_endpoint - The module has been migrated from the community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_endpoint.
  • ec2_vpc_endpoint_facts - The module has been migrated from the community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_endpoint_info.
  • ec2_vpc_endpoint_info - The module has been migrated from the community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_endpoint_info.
  • ec2_vpc_endpoint_service_info - The module has been migrated from the community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_endpoint_service_info.
  • ec2_vpc_igw - The module has been migrated from the community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_igw.
  • ec2_vpc_igw_facts - The module has been migrated from the community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_igw_info.
  • ec2_vpc_igw_info - The module has been migrated from the community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_igw_info.
  • ec2_vpc_nat_gateway - The module has been migrated from the community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_nat_gateway.
  • ec2_vpc_nat_gateway_facts - The module has been migrated from the community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_nat_gateway_info.
  • ec2_vpc_nat_gateway_info - The module has been migrated from the community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_nat_gateway_info.
  • kms_info - key details are now returned in the kms_keys attribute rather than the keys attribute (#648).

Deprecated Features

  • ec2_elb - the ec2_elb module has been removed and redirected to the elb_instance module which functions identically. The original ec2_elb name is now deprecated and will be removed in release 3.0.0 (#586).
  • ec2_elb_info - the boto based ec2_elb_info module has been deprecated in favour of the boto3 based elb_classic_lb_info module. The ec2_elb_info module will be removed in release 3.0.0 (#586).
  • elb_classic_lb - the elb_classic_lb module has been removed and redirected to the amazon.aws.ec2_elb_lb module which functions identically.
  • iam - the boto based iam module has been deprecated in favour of the boto3 based iam_user, iam_group and iam_role modules. The iam module will be removed in release 3.0.0 (#664).
  • rds - the boto based rds module has been deprecated in favour of the boto3 based rds_instance module. The rds module will be removed in release 3.0.0 (#663).
  • script_inventory_ec2 - The ec2.py inventory script is being moved to a new repository. The script can now be downloaded from https://github.com/ansible-community/contrib-scripts/blob/main/inventory/ec2.py and will be removed from this collection in the 3.0 release. We recommend migrating from the script to the amazon.aws.ec2 inventory plugin.

Bugfixes

  • aws_secret - fix deletion idempotency when not using instant deletion (#681).
  • aws_ssm - rename retries to reconnection_retries to avoid conflict with task retries
  • ec2_vpc_peer - automatically retry when attempting to tag freshly created peering connections (#614).
  • ec2_vpc_route_table - automatically retry when attempting to modify freshly created route tables (#616).
  • ecs_taskdefinition - ensure cast to integer (#574).
  • ecs_taskdefinition - fix idempotency (#574).
  • ecs_taskdefinition - fix typo in ecs task defination for env file validations (#600).
  • iam_role - Modified iam_role internal code to replace update_role_description with update_role (#697).
  • route53 - fix typo in waiter configuration that prevented management of the delays (#564).
  • s3_sync - fix handling individual file path to upload a individual file to s3 bucket (#692).
  • sqs_queue - fix queue attribute comparison to make module idempotent (#592).

New Modules

  • aws_msk_cluster - Manage Amazon MSK clusters.
  • aws_msk_config - Manage Amazon MSK cluster configurations.
  • efs_tag - create and remove tags on Amazon EFS resources