Skip to content

amazon.aws 8.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 May 17:26
· 554 commits to main since this release
f139aa4

Release Summary

This major release brings several new features, bug fixes, and deprecated features. It also includes the removal of some functionality for iam_role, iam_role_info and module_utils.policy that were previously deprecated. We have also removed support for ansible-core<2.15.

Minor Changes

  • autoscaling_group - removed unused code (#1996).
  • cloudformation - apply automatic retries when paginating through stack events without a filter (#2049).
  • cloudtrail - removed unused code (#1996).
  • ec2_instance - removed unused code (#1996).
  • ec2_vol - Ensure volume state is not one of deleted or deleting when trying to delete volume, to guaranty idempotency (#2052).
  • ec2_vol - removed unused code (#1996).
  • elb_classic_lb - removed unused code (#1996).
  • kms_key - removed unused code (#1996).
  • lambda_event - Add support for setting the maximum_batching_window_in_seconds option (#2025).
  • module_uils/botocore - support sets and tuples of errors as well as lists (#1829).
  • module_utils/elbv2 - Add support for adding listener with multiple certificates during ALB creation. Allows elb_application_elb module to handle mentioned use case. (#1950).
  • module_utils/elbv2 - Add the possibility to update SslPolicy, Certificates and AlpnPolicy for TLS listeners (#1198).
  • rds_instance - Allow passing empty list to enable_cloudwatch_logs_exports in order to remove all existing exports (#1917).
  • s3_bucket - refactor s3_bucket module code for improved readability and maintainability (#2057).
  • s3_object - removed unused code (#1996).

Breaking Changes / Porting Guide

  • amazon.aws collection - Support for ansible-core < 2.15 has been dropped (#2093).
  • iam_role - iam_role.assume_role_policy_document is no longer converted from CamelCase to snake_case (#2040).
  • iam_role_info - iam_role.assume_role_policy_document is no longer converted from CamelCase to snake_case (#2040).
  • kms_key - the policies return value has been renamed to key_policies the contents has not been changed (#2040).
  • kms_key_info - the policies return value has been renamed to key_policies the contents has not been changed (#2040).
  • lambda_event - | batch_size no longer defaults to 100. According to the boto3 API (https://boto3.amazonaws.com/v1/documentation/api/1.26.78/reference/services/lambda.html#Lambda.Client.create_event_source_mapping), batch_size defaults to 10 for sqs sources and to 100 for stream sources (#2025).

Deprecated Features

  • aws_ec2 inventory plugin - removal of the previously deprecated include_extra_api_calls option has been assigned to release 9.0.0 (#2040).
  • cloudformation - the template parameter has been deprecated and will be removed in a release after 2026-05-01. The template_body parameter can be used in conjungtion with the lookup plugin (#2048).
  • iam_policy - removal of the previously deprecated policies return key has been assigned to release 9.0.0. Use the policy_names return key instead (#2040).
  • module_utils.botocore - the boto3 parameter for get_aws_connection_info() will be removed in a release after 2025-05-01. The boto3 parameter has been ignored since release 4.0.0 (#2047).
  • module_utils.botocore - the boto3 parameter for get_aws_region() will be removed in a release after 2025-05-01. The boto3 parameter has been ignored since release 4.0.0 (#2047).
  • module_utils.ec2 - the boto3 parameter for get_ec2_security_group_ids_from_names() will be removed in a release after 2025-05-01. The boto3 parameter has been ignored since release 4.0.0 (#2047).
  • rds_param_group - the rds_param_group module has been renamed to rds_instance_param_group. The usage of the module has not changed. The rds_param_group alias will be removed in version 10.0.0 (#2058).

Removed Features (previously deprecated)

  • iam_role - the iam_role.assume_role_policy_document_raw return value has been deprecated. iam_role.assume_role_policy_document now returns the same format as iam_role.assume_role_policy_document_raw (#2040).
  • iam_role_info - the iam_role.assume_role_policy_document_raw return value has been deprecated. iam_role.assume_role_policy_document now returns the same format as iam_role.assume_role_policy_document_raw (#2040).
  • module_utils.policy - the previously deprecated sort_json_policy_dict() function has been removed, consider using compare_policies() instead (#2052).

Bugfixes

  • elb_classic_lb - fixes bug where proxy_protocol not being set or being set to None may result in unexpected behaviour or errors (#2049).
  • lambda_event - Fix when batch_size is greater than 10, by enabling support for setting maximum_batching_window_in_seconds (#2025).
  • lambda_event - Retrieve function ARN using AWS API (get_function) instead of building it with AWS account information (#1859).