Release Summary
This major release introduces new support with the aws_ssm
connection plugin, which has been promoted from community.aws
, several bugfixes, minor changes and deprecated features.
Additionally, this release increases the minimum required versions of boto3
and botocore
to 1.34.0 to align with updated AWS SDK support and support for ansible-core < 2.17 has been dropped.
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 was deprecated in 9.0.0 release and is removed in this 10.0.0 release.
Major Changes
- amazon.aws collection - The amazon.aws collection has dropped support for
botocore<1.34.0
andboto3<1.34.0
. 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 (#2426). - amazon.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 was deprecated in release 6.0.0 and removed in release 10.0.0. (#2426).
- connection/aws_ssm - 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_ssm
.
Minor Changes
- module_utils.s3 - added "501" to the list of error codes thrown by S3 replacements (#2447).
- module_utils/s3 - add initial ErrorHandler for S3 modules (#2060).
- s3_bucket - migrated to use updated error handlers for better handling of non-AWS errors (#2478).
Breaking Changes / Porting Guide
- amazon.aws collection - Support for ansible-core < 2.17 has been dropped (#2601).
- amazon.aws collection - Support for the
EC2_ACCESS_KEY
environment variable was deprecated in release6.0.0
and has now been removed. Please use theaccess_key
parameter orAWS_ACCESS_KEY_ID
environment variable instead (#2527). - amazon.aws collection - Support for the
EC2_REGION
environment variable was deprecated in release6.0.0
and has now been removed. Please use theregion
parameter orAWS_REGION
environment variable instead (#2527). - amazon.aws collection - Support for the
EC2_SECRET_KEY
environment variable was deprecated in release6.0.0
and has now been removed. Please use thesecret_key
parameter orAWS_SECRET_ACCESS_KEY
environment variable instead (#2527). - amazon.aws collection - Support for the
EC2_SECURITY_TOKEN
andAWS_SECURITY_TOKEN
environment variables were deprecated in release6.0.0
and have now been removed. Please use thesession_token
parameter orAWS_SESSION_TOKEN
environment variable instead (#2527). - amazon.aws collection - Support for the
EC2_URL
andS3_URL
environment variables were deprecated in release6.0.0
and have now been removed. Please use theendpoint_url
parameter orAWS_URL
environment variable instead (#2527). - amazon.aws collection - The
access_token
,aws_security_token
andsecurity_token
aliases for thesession_token
parameter were deprecated in release6.0.0
and have now been removed. Please use thesession_token
name instead (#2527). - amazon.aws collection - The
boto_profile
alias for theprofile
parameter was deprecated in release6.0.0
and has now been removed. Please use theprofile
name instead (#2527). - amazon.aws collection - The
ec2_access_key
alias for theaccess_key
parameter was deprecated in release6.0.0
and has now been removed. Please use theaccess_key
name instead (#2527). - amazon.aws collection - The
ec2_region
alias for theregion
parameter was deprecated in release6.0.0
and has now been removed. Please use theregion
name instead (#2527). - amazon.aws collection - The
ec2_secret_key
alias for thesecret_key
parameter was deprecated in release6.0.0
and has now been removed. Please use thesecret_key
name instead (#2527). - amazon.aws collection - The
endpoint
,ec2_url
ands3_url
aliases for theendpoint_url
parameter were deprecated in release6.0.0
and have now been removed. Please use theregion
name instead (#2527). - docs_fragments - The previously deprecated
amazon.aws.aws_credentials
docs fragment has been removed please useamazon.aws.common.plugins
instead (#2527). - docs_fragments - The previously deprecated
amazon.aws.aws_region
docs fragment has been removed please useamazon.aws.region.plugins
instead (#2527). - docs_fragments - The previously deprecated
amazon.aws.aws
docs fragment has been removed please useamazon.aws.common.modules
instead (#2527). - docs_fragments - The previously deprecated
amazon.aws.ec2
docs fragment has been removed please useamazon.aws.region.modules
instead (#2527). - ec2_vpc_peering_info - the
result
key has been removed from the return value.vpc_peering_connections
should be used instead (#2618). - module_utils.botocore - drop deprecated
boto3
parameter forget_aws_region()
andget_aws_connection_info()
, this parameter has had no effect since release 4.0.0 (#2443). - module_utils.ec2 - drop deprecated
boto3
parameter forget_ec2_security_group_ids_from_names()
andget_aws_connection_info()
, this parameter has had no effect since release 4.0.0 (#2603). - rds_param_group - the redirect has been removed and playbooks should be updated to use rds_instance_param_group (#2618).