Release Summary
This release includes some new features, bugfixes and breaking changes. Several modules have been migrated to amazon.aws and the Fully Qualified Collection Name for these modules needs to be updated. The community.aws collection has dropped support for botocore<1.31.0 and boto3<1.28.0. Due to the AWS SDKs announcing Python less than 3.8 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/), support for Python less than 3.8 by this collection was deprecated in this release and will be removed in release 10.0.0 (#2194).
Minor Changes
- autoscaling_instance_refresh - Add support for
skip_matching
andmax_healthy_percentage
inpreference
(#2150). - autoscaling_instance_refresh - refactor module to use shared code from
ansible_collections.amazon.aws.plugins.module_utils.autoscaling
and add type hinting (#2150). - autoscaling_instance_refresh_info - refactor module to use shared code from
ansible_collections.amazon.aws.plugins.module_utils.autoscaling
and add type hinting (#2150). - ec2_launch_template - Add option
tag_specifications
to define tags to be applied to the resources created with the launch template (#176). - ec2_launch_template - Add suboption
throughput
toblock_device_mappings
argument (#1944). - ec2_launch_template - Add support
purge_tags
parameter (#176). - ec2_launch_template - Add the possibility to delete specific versions of a launch template using
versions_to_delete
(#2164). - ec2_launch_template - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2164). - ec2_placement_group - Added support for creating with
tags
(#2081). - ec2_placement_group - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2167). - ec2_transit_gateway - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2158). - ec2_transit_gateway - Support for enable multicast on Transit Gateway (#2063).
- ec2_transit_gateway_info - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2158). - ec2_transit_gateway_vpc_attachment - Modify doumentation and refactor to adhere to coding guidelines (#2157).
- ec2_vpc_egress_igw - Add the possibility to update/add tags on Egress only internet gateway (#2152).
- ec2_vpc_egress_igw - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
util (#2152). - ec2_vpc_nacl - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2159). - ec2_vpc_nacl_info - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2159). - ec2_vpc_peer - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2153). - ec2_vpc_peering_info - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2153). - ec2_vpc_vgw - Fix call to parent static method in class
VGWRetry
(#2140). - ec2_vpc_vgw - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2171). - ec2_vpc_vgw_info - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2171). - ec2_vpc_vpn - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2160). - ec2_vpc_vpn_info - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2160). - elb_classic_lb_info - Refactor elb_classic_lb_info module (#2139).
Breaking Changes / Porting Guide
- The community.aws collection has dropped support for
botocore<1.31.0
andboto3<1.28.0
. Most modules will continue to work with older versions of the AWS SDK. However, compatability 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 (#2195). - autoscaling_instance_refresh - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_instance_refresh
(#2177). - autoscaling_instance_refresh_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 useamazon.aws.autoscaling_instance_refresh_info
(#2177). - ec2_launch_template - Tags defined using option
tags
are now applied to the launch template resources not the resource created using this launch template (#176). - ec2_launch_template - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_launch_template
(#2185). - ec2_placement_group - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_placement_group
. - ec2_placement_group_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 useamazon.aws.ec2_placement_group_info
. - ec2_transit_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 useamazon.aws.ec2_transit_gateway
. - ec2_transit_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 useamazon.aws.ec2_transit_gateway_info
. - ec2_transit_gateway_vpc_attachment - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_vpc_attachment
. - ec2_transit_gateway_vpc_attachment_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 useamazon.aws.ec2_transit_gateway_vpc_attachment_info
. - ec2_vpc_egress_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 useamazon.aws.ec2_vpc_egress_igw
(https://api.github.com/repos/ansible-collections/community.aws/pulls/2169). - ec2_vpc_nacl - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_nacl
(#2178). - ec2_vpc_nacl_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 useamazon.aws.ec2_vpc_nacl_info
(#2178). - ec2_vpc_peer - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_peer
. - ec2_vpc_peering_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 useamazon.aws.ec2_vpc_peering_info
. - ec2_vpc_vgw - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vgw
. - ec2_vpc_vgw_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 useamazon.aws.ec2_vpc_vgw_info
. - ec2_vpc_vpn - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vpn
. - ec2_vpc_vpn_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 useamazon.aws.ec2_vpc_vpn_info
. - ecs_cluster - the parameter
purge_capacity_providers
defaults to true. (#2165). - elb_classic_lb_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 useamazon.aws.elb_classic_lb_info
. - iam_policy - the
connection_properties
return key was previously deprecated and has been removed, please useraw_connection_properties
instead (#2165).
Deprecated Features
- community.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.8 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.8 by this collection has been deprecated and will removed in release 10.0.0 (#2195).