amazon.aws 8.2.0
Release Summary
The amazon.aws 8.2.0 release includes a number of bugfixes, some new features and improvements. This releases also introduces a deprecation for the amazon.aws.iam_role module, where support for creating and deleting IAM instance profiles using the create_instance_profile and delete_instance_profile options has been deprecated and will be removed in a release after 2026-05-01.
Minor Changes
- cloudwatch_metric_alarm - add support for
evaluate_low_sample_count_percentile`parameter. - cloudwatch_metric_alarm - support DatapointsToAlarm config (#2196).
- ec2_ami - Add support for uefi-preferred boot mode (#2253).
- ec2_instance - Add support for
network_interfacesandnetwork_interfaces_idsoptions replacing deprecated optionnetwork(#2123). - ec2_instance -
network.source_dest_checkoption has been deprecated and replaced by new optionsource_dest_check(#2123). - ec2_instance - add the possibility to create instance with multiple network interfaces (#2123).
- ec2_metadata_facts - Add parameter
metadata_token_ttl_seconds(#2209). - rds_cluster - Add support for I/O-Optimized storage configuration for aurora clusters (#2063).
- rds_instance - snake case for parameter
performance_insights_kms_key_idwas incorrect according to boto documentation (#2163). - s3_bucket - Add support for bucket inventories (https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-inventory.html)
- s3_object - Add support for
expected_bucket_owneroption (#2114). - ssm parameter lookup - add new option
droppathto drop the hierarchical search path from ssm parameter lookup results (#1756).
Deprecated Features
- iam_role - support for creating and deleting IAM instance profiles using the
create_instance_profileanddelete_instance_profileoptions has been deprecated and will be removed in a release after 2026-05-01. To manage IAM instance profiles theamazon.aws.iam_instance_profilemodule can be used instead (#2221).
Bugfixes
- cloudwatch_metric_alarm - Fix idempotency when creating cloudwatch metric alarm without dimensions (#1865).
- ec2_instance - fix state processing when exact_count is used (#1659).
- rds_cluster - Limit params sent to api call to DBClusterIdentifier when using state started or stopped (#2197).
- route53 - modify the return value to return diff only when
module._diffis set to true (#2136). - s3_bucket - catch
UnsupportedArgumentwhen calling APIGetBucketAccelerationConfigon region where it is not supported (#2180). - s3_bucket - change the default behaviour of the new
accelerate_enabledoption to only update the configuration if explicitly passed (#2220). - s3_bucket - fixes
MethodNotAllowedexceptions caused by fetching transfer acceleration state in regions that don't support it (#2266). - s3_bucket - fixes
TypeError: cannot unpack non-iterable NoneType objecterrors related to bucket versioning, policies, tags or encryption (#2228).