Release Summary
This major release brings a new set of supported modules that have been promoted from community.aws, several bugfixes, minor changes and deprecated features. We also dropped support for botocore<1.29.0
and boto3<1.26.0
. Due to the AWS SDKs announcing the end of support for Python less than 3.7 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/), support for Python less than 3.7 by this collection was deprecated in release 6.0.0 and removed in this release.
Major Changes
- aws_region_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.aws_region_info
. - aws_s3_bucket_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.aws_s3_bucket_info
. - iam_access_key - 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.iam_access_key
. - iam_access_key_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.iam_access_key_info
. - iam_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.iam_group
(#1755). - iam_managed_policy - 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.iam_managed_policy
(#1762). - iam_mfa_device_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.iam_mfa_device_info
(#1761). - iam_password_policy - 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.iam_password_policy
. - iam_role - 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.iam_role
(#1760). - iam_role_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.iam_role_info
(#1760). - s3_bucket_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.s3_bucket_info
. - sts_assume_role - 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.sts_assume_role
.
Minor Changes
- amazon.aws collection - apply isort code formatting to ensure consistent formatting of code (#1771).
- ec2_instance - add support for additional
placement
options andlicense_specifications
in run instance spec (#1824). - ec2_instance_info - add new parameter
include_attributes
to describe instance attributes (#1577). - ec2_metadata_facts - use fstrings where appropriate (#1802).
- ec2_vpc_igw - Add ability to attach/detach VPC to/from internet gateway (#1786).
- ec2_vpc_igw - Add ability to change VPC attached to internet gateway (#1786).
- ec2_vpc_igw - Add ability to create an internet gateway without attaching a VPC (#1786).
- ec2_vpc_igw - Add ability to delete a vpc internet gateway using the id of the gateway (#1786).
- elb_application_lb_info - add new parameters
include_attributes
,include_listeners
andinclude_listener_rules
to optionally speed up module by fetching less information (#1778). - module_utils.botocore - migrate from vendored copy of LooseVersion to packaging.version.Version (#1587).
- rds_cluster - Add support for removing cluster from global db (#1705).
- rds_cluster - add support for another
state
choice calledstarted
. This starts the rds cluster (https://github.com/ansible-collections/amazon.aws/pull/1647/files). - rds_cluster - add support for another
state
choice calledstopped
. This stops the rds cluster (https://github.com/ansible-collections/amazon.aws/pull/1647/files). - route53 - add a
wait_id
return value when a change is done (#1683). - route53_health_check - add support for a string list parameter called
child_health_checks
to specify health checks that must be healthy for the calculated health check (#1631). - route53_health_check - add support for an integer parameter called
health_threshold
to specify the minimum number of healthy child health checks that must be healthy for the calculated health check (#1631). - route53_health_check - add support for another
type
choice calledCALCULATED
(#1631). - s3_object - Allow recursive copy of objects in S3 bucket (#1379).
- s3_object - use fstrings where appropriate (#1802).
Breaking Changes / Porting Guide
- The amazon.aws collection has dropped support for
botocore<1.29.0
andboto3<1.26.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 (#1763). - amazon.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.7 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.7 by this collection wss been deprecated in release 6.0.0 and removed in release 7.0.0. (#1763).
- module_utils -
module_utils.urls
was previously deprecated and has been removed (#1540). - module_utils._version - vendored copy of distutils.version has been dropped (#1587).
Deprecated Features
- ec2_instance - deprecation of
tenancy
andplacement_group
in favor ofplacement
attribute (#1825).
Bugfixes
- aws_ec2 inventory plugin - fix
NoRegionError
when no regions are provided and region isn't specified (#1551). - ec2_instance - retry API call if we get
InvalidInstanceID.NotFound
error (#1650). - ec2_vpc_route_table_info - default filters to empty dictionary (#1668).
- s3_bucket - fixes issue when deleting a bucket with unversioned objects (#1533).
- s3_object - fixed
NoSuchTagSet
error when S3 endpoint doesn't support tags (#1607). - s3_object - fixes regression related to objects with a leading
/
(#1548).
New Modules
- ec2_import_image - Manage AWS EC2 import image tasks
- ec2_import_image_info - Gather information about import virtual machine tasks
- rds_global_cluster_info - Obtain information about Aurora global database clusters