Release Summary
This minor release adds a use_deprecated_tags option to the aws_ec2 inventory plugin and replaces the deprecated ansible.module_utils.six compatibility shims with Python standard library equivalents. It also includes bug fixes for the aws_sqs_queue event source plugin, aws_ssm connection plugin, ec2_spot_instance, rds_cluster, and Python 3.14 compatibility.
Minor Changes
- Replace the deprecated
ansible.module_utils.sixcompatibility shims with their Python standard library equivalents.ansible.module_utils.sixis deprecated in ansible-core 2.21 and is scheduled for removal in 2.24 (#3039). - aws_ec2 inventory plugin - Added a
use_deprecated_tagsoption to allow disabling the deprecatedtagshost variable and its associated deprecation and reserved-name warnings independently of global deprecation warning settings (#3028).
Bugfixes
- aws_sqs_queue - Fix UUID generation in the EDA event source plugin to set
meta.uuidas a flat key readable by ansible-rulebook, validate the SQSMessageIdas a proper RFC 4122 UUID, and fall back to a deterministic UUID5 when invalid (#3034). - aws_ssm - Apply the transfer bucket's server-side encryption settings when uploading files from the controller to the managed node (
put_file), matching the existingfetch_filebehavior. This fixes transfers to buckets whose policies deny unencryptedPutObjectrequests (#3018). - aws_ssm connection plugin - Fix a hang on reboot by handling
ValidationExceptionwhen terminating already-disconnected sessions (#3044). - ec2_spot_instance - Fix the
network_interfaces.ipv6_addressessuboption name. It was defined asipv6addressand serialized to the invalid boto3 keyIpv6address; it is now serialized asIpv6Address(#2557, #3110). - module_utils - Fix
fail_json_aws()on Python 3.14 and ansible-core 2.19+ by detecting support for theexceptionparameter without callingtraceback.format_exc()outside an exception context (#3103). - rds_cluster - Fix
final_snapshot_identifierbeing dropped when deleting a DB cluster withskip_final_snapshot=false. The option is nowfinal_db_snapshot_identifier, matchingrds_instanceand theFinalDBSnapshotIdentifierAPI parameter;final_snapshot_identifierremains an alias (#3084). - aws_ssm connection plugin - Fix timeouts for Ubuntu clients by sending oneline commands without newline characters, as required by the dash shell (#3036).