chore(deps): update dependency amazon.aws to v8
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
amazon.aws | galaxy-collection | major |
5.2.0 -> 8.2.1
|
⚠ ️ WarningSome dependencies could not be looked up. Check the warning logs for more information.
Release Notes
ansible-collections/amazon.aws (amazon.aws)
v8.2.1
======
Release Summary
This is a bugfix release for the iam_role
module that resolves the issue where IAM instance profiles were being created when create_instance_profile
was set to false
and addresses the EntityAlreadyExists
exception when the instance profile already existed.
Bugfixes
- iam_role - fixes
EntityAlreadyExists
exception whencreate_instance_profile
was set tofalse
and the instance profile already existed (https://github.com/ansible-collections/amazon.aws/issues/2102). - iam_role - fixes issue where IAM instance profiles were created when
create_instance_profile
was set tofalse
(https://github.com/ansible-collections/amazon.aws/issues/2281).
v8.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 (https://github.com/ansible-collections/amazon.aws/pull/2196).
- ec2_ami - Add support for uefi-preferred boot mode (https://github.com/ansible-collections/amazon.aws/pull/2253).
- ec2_instance - Add support for
network_interfaces
andnetwork_interfaces_ids
options replacing deprecated optionnetwork
(https://github.com/ansible-collections/amazon.aws/pull/2123). - ec2_instance -
network.source_dest_check
option has been deprecated and replaced by new optionsource_dest_check
(https://github.com/ansible-collections/amazon.aws/pull/2123). - ec2_instance - add the possibility to create instance with multiple network interfaces (https://github.com/ansible-collections/amazon.aws/pull/2123).
- ec2_metadata_facts - Add parameter
metadata_token_ttl_seconds
(https://github.com/ansible-collections/amazon.aws/pull/2209). - rds_cluster - Add support for I/O-Optimized storage configuration for aurora clusters (https://github.com/ansible-collections/amazon.aws/pull/2063).
- rds_instance - snake case for parameter
performance_insights_kms_key_id
was incorrect according to boto documentation (https://github.com/ansible-collections/amazon.aws/pull/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_owner
option (https://github.com/ansible-collections/amazon.aws/issues/2114). - ssm parameter lookup - add new option
droppath
to drop the hierarchical search path from ssm parameter lookup results (https://github.com/ansible-collections/amazon.aws/pull/1756).
Deprecated Features
- iam_role - support for creating and deleting IAM instance profiles using the
create_instance_profile
anddelete_instance_profile
options has been deprecated and will be removed in a release after 2026-05-01. To manage IAM instance profiles theamazon.aws.iam_instance_profile
module can be used instead (https://github.com/ansible-collections/amazon.aws/pull/2221).
Bugfixes
- cloudwatch_metric_alarm - Fix idempotency when creating cloudwatch metric alarm without dimensions (https://github.com/ansible-collections/amazon.aws/pull/1865).
- ec2_instance - fix state processing when exact_count is used (https://github.com/ansible-collections/amazon.aws/pull/1659).
- rds_cluster - Limit params sent to api call to DBClusterIdentifier when using state started or stopped (https://github.com/ansible-collections/amazon.aws/issues/2197).
- route53 - modify the return value to return diff only when
module._diff
is set to true (https://github.com/ansible-collections/amazon.aws/pull/2136). - s3_bucket - catch
UnsupportedArgument
when calling APIGetBucketAccelerationConfig
on region where it is not supported (https://github.com/ansible-collections/amazon.aws/issues/2180). - s3_bucket - change the default behaviour of the new
accelerate_enabled
option to only update the configuration if explicitly passed (https://github.com/ansible-collections/amazon.aws/issues/2220). - s3_bucket - fixes
MethodNotAllowed
exceptions caused by fetching transfer acceleration state in regions that don't support it (https://github.com/ansible-collections/amazon.aws/issues/2266). - s3_bucket - fixes
TypeError: cannot unpack non-iterable NoneType object
errors related to bucket versioning, policies, tags or encryption (https://github.com/ansible-collections/amazon.aws/pull/2228).
v8.1.0
======
Release Summary
This release includes several documentation improvements and two new features for the s3_bucket
module.
Minor Changes
- s3_bucket - Add
object_lock_default_retention
to set Object Lock default retention configuration for S3 buckets (https://github.com/ansible-collections/amazon.aws/pull/2062). - s3_bucket - Add support for enabling Amazon S3 Transfer Acceleration by setting the
accelerate_enabled
option (https://github.com/ansible-collections/amazon.aws/pull/2046).
v8.0.1
======
Release Summary
This release includes some bug fixes for the s3_object
, ec2_instance
and backup_plan_info
modules.
Bugfixes
- backup_plan_info - Bugfix to enable getting info of all backup plans (https://github.com/ansible-collections/amazon.aws/pull/2083).
- ec2_instance - do not ignore IPv6 addresses when a single network interface is specified (https://github.com/ansible-collections/amazon.aws/pull/1979).
- s3_object - fixed issue which was causing
MemoryError
exceptions when downloading large files (https://github.com/ansible-collections/amazon.aws/issues/2107).
v8.0.0
======
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 (https://github.com/ansible-collections/amazon.aws/pull/1996).
- cloudformation - apply automatic retries when paginating through stack events without a filter (https://github.com/ansible-collections/amazon.aws/pull/2049).
- cloudtrail - removed unused code (https://github.com/ansible-collections/amazon.aws/pull/1996).
- ec2_instance - removed unused code (https://github.com/ansible-collections/amazon.aws/pull/1996).
- ec2_vol - Ensure volume state is not one of
deleted
ordeleting
when trying to delete volume, to guaranty idempotency (https://github.com/ansible-collections/amazon.aws/pull/2052). - ec2_vol - removed unused code (https://github.com/ansible-collections/amazon.aws/pull/1996).
- elb_classic_lb - removed unused code (https://github.com/ansible-collections/amazon.aws/pull/1996).
- kms_key - removed unused code (https://github.com/ansible-collections/amazon.aws/pull/1996).
- lambda_event - Add support for setting the
maximum_batching_window_in_seconds
option (https://github.com/ansible-collections/amazon.aws/pull/2025). - module_uils/botocore - support sets and tuples of errors as well as lists (https://github.com/ansible-collections/amazon.aws/pull/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. (https://github.com/ansible-collections/amazon.aws/pull/1950).
- module_utils/elbv2 - Add the possibility to update
SslPolicy
,Certificates
andAlpnPolicy
for TLS listeners (https://github.com/ansible-collections/amazon.aws/issues/1198). - rds_instance - Allow passing empty list to
enable_cloudwatch_logs_exports
in order to remove all existing exports (https://github.com/ansible-collections/amazon.aws/pull/1917). - s3_bucket - refactor s3_bucket module code for improved readability and maintainability (https://github.com/ansible-collections/amazon.aws/pull/2057).
- s3_object - removed unused code (https://github.com/ansible-collections/amazon.aws/pull/1996).
Breaking Changes / Porting Guide
- amazon.aws collection - Support for ansible-core < 2.15 has been dropped (https://github.com/ansible-collections/amazon.aws/pull/2093).
- iam_role -
iam_role.assume_role_policy_document
is no longer converted from CamelCase to snake_case (https://github.com/ansible-collections/amazon.aws/pull/2040). - iam_role_info -
iam_role.assume_role_policy_document
is no longer converted from CamelCase to snake_case (https://github.com/ansible-collections/amazon.aws/pull/2040). - kms_key - the
policies
return value has been renamed tokey_policies
the contents has not been changed (https://github.com/ansible-collections/amazon.aws/pull/2040). - kms_key_info - the
policies
return value has been renamed tokey_policies
the contents has not been changed (https://github.com/ansible-collections/amazon.aws/pull/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 (https://github.com/ansible-collections/amazon.aws/pull/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 (https://github.com/ansible-collections/amazon.aws/pull/2040). - cloudformation - the
template
parameter has been deprecated and will be removed in a release after 2026-05-01. Thetemplate_body
parameter can be used in conjungtion with the lookup plugin (https://github.com/ansible-collections/amazon.aws/pull/2048). - iam_policy - removal of the previously deprecated
policies
return key has been assigned to release 9.0.0. Use thepolicy_names
return key instead (https://github.com/ansible-collections/amazon.aws/pull/2040). - module_utils.botocore - the
boto3
parameter forget_aws_connection_info()
will be removed in a release after 2025-05-01. Theboto3
parameter has been ignored since release 4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2047). - module_utils.botocore - the
boto3
parameter forget_aws_region()
will be removed in a release after 2025-05-01. Theboto3
parameter has been ignored since release 4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2047). - module_utils.ec2 - the
boto3
parameter forget_ec2_security_group_ids_from_names()
will be removed in a release after 2025-05-01. Theboto3
parameter has been ignored since release 4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2047). - rds_param_group - the
rds_param_group
module has been renamed tords_instance_param_group
. The usage of the module has not changed. The rds_param_group alias will be removed in version 10.0.0 (https://github.com/ansible-collections/amazon.aws/pull/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 asiam_role.assume_role_policy_document_raw
(https://github.com/ansible-collections/amazon.aws/pull/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 asiam_role.assume_role_policy_document_raw
(https://github.com/ansible-collections/amazon.aws/pull/2040). - module_utils.policy - the previously deprecated
sort_json_policy_dict()
function has been removed, consider usingcompare_policies()
instead (https://github.com/ansible-collections/amazon.aws/pull/2052).
Bugfixes
- elb_classic_lb - fixes bug where
proxy_protocol
not being set or being set toNone
may result in unexpected behaviour or errors (https://github.com/ansible-collections/amazon.aws/pull/2049). - lambda_event - Fix when
batch_size
is greater than 10, by enabling support for settingmaximum_batching_window_in_seconds
(https://github.com/ansible-collections/amazon.aws/pull/2025). - lambda_event - Retrieve function ARN using AWS API (get_function) instead of building it with AWS account information (https://github.com/ansible-collections/amazon.aws/issues/1859).
v7.6.1
======
Release Summary
This release includes some bug fixes for the ec2_instance
and backup_plan_info
modules.
Bugfixes
- backup_plan_info - Bugfix to enable getting info of all backup plans (https://github.com/ansible-collections/amazon.aws/pull/2083).
- ec2_instance - do not ignore IPv6 addresses when a single network interface is specified (https://github.com/ansible-collections/amazon.aws/pull/1979).
v7.6.0
======
Release Summary
This release brings several bugfixes, minor changes and some new rds modules (rds_cluster_param_group
, rds_cluster_param_group_info
and rds_engine_versions_info
). It also introduces a deprecation for the cloudformation
module.
Minor Changes
- ec2_instance - add support for
host
option in placement.tenancy (https://github.com/ansible-collections/amazon.aws/pull/2026). - ec2_vol - Ensure volume state is not one of
deleted
ordeleting
when trying to delete volume, to guaranty idempotency (https://github.com/ansible-collections/amazon.aws/pull/2052).
Deprecated Features
- cloudformation - the
template
parameter has been deprecated and will be removed in a release after 2026-05-01. Thetemplate_body
parameter can be used in conjungtion with the lookup plugin (https://github.com/ansible-collections/amazon.aws/pull/2048). - module_utils.botocore - the
boto3
parameter forget_aws_connection_info()
will be removed in a release after 2025-05-01. Theboto3
parameter has been ignored since release 4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2047). - module_utils.botocore - the
boto3
parameter forget_aws_region()
will be removed in a release after 2025-05-01. Theboto3
parameter has been ignored since release 4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2047). - module_utils.ec2 - the
boto3
parameter forget_ec2_security_group_ids_from_names()
will be removed in a release after 2025-05-01. Theboto3
parameter has been ignored since release 4.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2047).
Bugfixes
- iam_managed_policy - fixes bug that causes
ParamValidationError
when attempting to delete a policy that's attached to a role or a user (https://github.com/ansible-collections/amazon.aws/issues/2067). - iam_role_info - fixes bug in handling paths missing the
/
prefix and/or suffix (https://github.com/ansible-collections/amazon.aws/issues/2065). - s3_object - fix idempotency issue when copying object uploaded using multipart upload (https://github.com/ansible-collections/amazon.aws/issues/2016).
New Modules
- rds_cluster_param_group - Manage RDS cluster parameter groups
- rds_cluster_param_group_info - Describes the properties of specific RDS cluster parameter group.
- rds_engine_versions_info - Describes the properties of specific versions of DB engines.
v7.5.0
======
Release Summary
This release includes a new feature for the iam_user_info
module, bugfixes for the cloudwatchlogs_log_group_info
and s3_object
modules and the inventory plugins, and some internal refactoring of module_utils
.
Minor Changes
- iam_user_info - Add
login_profile
to return info that is get from a user, to know if they can login from AWS console (https://github.com/ansible-collections/amazon.aws/pull/2012). - module_utils.iam - refactored normalization functions to use
boto3_resource_to_ansible_dict()
andboto3_resource_list_to_ansible_dict()
(https://github.com/ansible-collections/amazon.aws/pull/2006). - module_utils.transformations - add
boto3_resource_to_ansible_dict()
andboto3_resource_list_to_ansible_dict()
helpers (https://github.com/ansible-collections/amazon.aws/pull/2006).
Bugfixes
- cloudwatchlogs_log_group_info - Implement exponential backoff when making API calls to prevent throttling exceptions (https://github.com/ansible-collections/amazon.aws/issues/2011).
- plugin_utils.inventory - Ensure templated options in lookup plugins are converted (https://github.com/ansible-collections/amazon.aws/issues/1955).
- s3_object - Fix the issue when copying an object with overriding metadata. (https://github.com/ansible-collections/amazon.aws/issues/1991).
v6.5.4
======
Release Summary
This release includes bugfixes for the cloudwatchlogs_log_group_info
module and the inventory plugins.
Bugfixes
- cloudwatchlogs_log_group_info - Implement exponential backoff when making API calls to prevent throttling exceptions (https://github.com/ansible-collections/amazon.aws/issues/2011).
- plugin_utils.inventory - Ensure templated options in lookup plugins are converted (https://github.com/ansible-collections/amazon.aws/issues/1955).
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.