Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.2.0
->9.1.0
Release Notes
ansible-collections/amazon.aws (amazon.aws)
v9.1.0
Compare Source
======
Release Summary
This release brings several bugfixes, minor changes, a new
rds_instance_param_group_info
module, and some deprecations for theautoscaling_group
module.Minor Changes
group_name
as an alias for thename
parameter (https://github.com/ansible-collections/amazon.aws/pull/2396).group_name
as an alias for thename
parameter (https://github.com/ansible-collections/amazon.aws/pull/2396).group_name
as an alias for thename
parameter (https://github.com/ansible-collections/amazon.aws/pull/2396).group_name
as an alias for thename
parameter (https://github.com/ansible-collections/amazon.aws/pull/2396).ansible_ec2_instance_tags
to return values (https://github.com/ansible-collections/amazon.aws/pull/2398).Deprecated Features
decrement_desired_capacity
parameter has been deprecated and will be removed in release 14.0.0 of this collection. Management of instances attached an autoscaling group can be performed using theamazon.aws.autoscaling_instance
module (https://github.com/ansible-collections/amazon.aws/pull/2396).replace_batch_size
,lc_check
andlt_check
parameters have been deprecated and will be removed in release 14.0.0 of this collection. Rolling replacement of instances in an autoscaling group can be performed using theamazon.aws.autoscaling_instance_refresh
module (https://github.com/ansible-collections/amazon.aws/pull/2396).detach_instances
parameter has been deprecated and will be removed in release 14.0.0 of this collection. Management of instances attached an autoscaling group can be performed using theamazon.aws.autoscaling_instance
module (https://github.com/ansible-collections/amazon.aws/pull/2396).replace_all_instances
parameter has been deprecated and will be removed in release 14.0.0 of this collection. Rolling replacement of instances in an autoscaling group can be performed using theamazon.aws.autoscaling_instance_refresh
module (https://github.com/ansible-collections/amazon.aws/pull/2396).replace_instances
parameter has been deprecated and will be removed in release 14.0.0 of this collection. Management of instances attached an autoscaling group can be performed using theamazon.aws.autoscaling_instance
module (https://github.com/ansible-collections/amazon.aws/pull/2396).Bugfixes
New Modules
v9.0.0
Compare Source
======
Release Summary
This major release brings a new set of supported modules that have been promoted from community.aws, several bugfixes, minor changes and deprecated features. We also dropped support for botocore<1.31.0 and boto3<1.28.0. 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 this release and will be removed in release 10.0.0.
Major Changes
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_instance_refresh
(https://github.com/ansible-collections/amazon.aws/pull/2338).community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_instance_refresh_info
(https://github.com/ansible-collections/amazon.aws/pull/2338).community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_launch_template
(https://github.com/ansible-collections/amazon.aws/pull/2348).community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_placement_group
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_placement_group_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_vpc_attachment
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_vpc_attachment_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_egress_igw
(https://api.github.com/repos/ansible-collections/amazon.aws/pulls/2327).community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_nacl
(https://github.com/ansible-collections/amazon.aws/pull/2339).community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_nacl_info
(https://github.com/ansible-collections/amazon.aws/pull/2339).community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_peer
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_peering_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vgw
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vgw_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vpn
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vpn_info
.community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.elb_classic_lb_info
.Minor Changes
determine_iam_role
from moduleec2_instance
to module_utils/ec2 so that it can be used bycommunity.aws.ec2_launch_template
module (https://github.com/ansible-collections/amazon.aws/pull/2319).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2163). - aws_region_info - refactored code to useAnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2163).unit
anddimensions
options (https://github.com/ansible-collections/amazon.aws/pull/2286)AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2164).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2164).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2165). - ec2_eip_info - refactored code to useAnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2165).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2166).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2166).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2167).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2167).client
andmodule
as function arguments instead of global variables (https://github.com/ansible-collections/amazon.aws/pull/2192).AnsibleEC2Error
and shared code from module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2192).datetime.utcnow()
bydatetime.now(timezone.utc)
(https://github.com/ansible-collections/amazon.aws/pull/2192).AnsibleEC2Error
and shared code from module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2192).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2168).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2168).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2169).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2169).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2099).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2099).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2099).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2099).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2170).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2170).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2097).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2097).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2097).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2097).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2097).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2099).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2099).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2099).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2099).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2158).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2158).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2159).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2159).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2160).AnsibleEC2Error
as well as moving shared code into module_utils.ec2 (https://github.com/ansible-collections/amazon.aws/pull/2160).botocore.Session
withboto3.Session
for consistency (https://github.com/ansible-collections/amazon.aws/pull/2157).boto3_conn
method now catchesBotoCoreError
rather than an incomplete list of subclasses (https://github.com/ansible-collections/amazon.aws/pull/2157).autoscaling
client (https://github.com/ansible-collections/amazon.aws/pull/2301).boto3_conn
method now catchesBotoCoreError
rather than an incomplete list of subclasses (https://github.com/ansible-collections/amazon.aws/pull/2157).max_keys
andmarker
parameter (https://github.com/ansible-collections/amazon.aws/pull/2328).Breaking Changes / Porting Guide
botocore<1.31.0
andboto3<1.28.0
. Most modules will continue to work with older versions of the AWS SDK. However, compatability 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 (https://github.com/ansible-collections/amazon.aws/pull/2161).include_extra_api_calls
was previously deprecated and has been removed (https://github.com/ansible-collections/amazon.aws/pull/2320).policies
return key was previously deprecated and has been removed, please usepolicy_names
instead (https://github.com/ansible-collections/amazon.aws/pull/2320).boto3_conn
'sconn_type
parameter is now mandatory (https://github.com/ansible-collections/amazon.aws/pull/2157).Deprecated Features
ec2_vpc_peer
module has been renamed toec2_vpc_peering
. The usage of the module has not changed. The ec2_vpc_peer alias will be removed in version 13.0.0 https://github.com/ansible-collections/amazon.aws/pull/23566).result
return key has been deprecated and will be removed in release 11.0.0. Use thevpc_peering_connections
return key instead (https://github.com/ansible-collections/amazon.aws/pull/2359).mode=list
has been deprecated.amazon.aws.s3_object_info
should be used instead (https://github.com/ansible-collections/amazon.aws/pull/2328).Bugfixes
max_keys
was not respected (https://github.com/ansible-collections/amazon.aws/pull/2328).New Modules
v8.2.1
Compare Source
======
Release Summary
This is a bugfix release for the
iam_role
module that resolves the issue where IAM instance profiles were being created whencreate_instance_profile
was set tofalse
and addresses theEntityAlreadyExists
exception when the instance profile already existed.Bugfixes
EntityAlreadyExists
exception whencreate_instance_profile
was set tofalse
and the instance profile already existed (https://github.com/ansible-collections/amazon.aws/issues/2102).create_instance_profile
was set tofalse
(https://github.com/ansible-collections/amazon.aws/issues/2281).v8.2.0
Compare Source
======
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 thecreate_instance_profile
anddelete_instance_profile
options has been deprecated and will be removed in a release after 2026-05-01.Minor Changes
network_interfaces
andnetwork_interfaces_ids
options replacing deprecated optionnetwork
(https://github.com/ansible-collections/amazon.aws/pull/2123).network.source_dest_check
option has been deprecated and replaced by new optionsource_dest_check
(https://github.com/ansible-collections/amazon.aws/pull/2123).metadata_token_ttl_seconds
(https://github.com/ansible-collections/amazon.aws/pull/2209).performance_insights_kms_key_id
was incorrect according to boto documentation (https://github.com/ansible-collections/amazon.aws/pull/2163).expected_bucket_owner
option (https://github.com/ansible-collections/amazon.aws/issues/2114).droppath
to drop the hierarchical search path from ssm parameter lookup results (https://github.com/ansible-collections/amazon.aws/pull/1756).Deprecated Features
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
module._diff
is set to true (https://github.com/ansible-collections/amazon.aws/pull/2136).UnsupportedArgument
when calling APIGetBucketAccelerationConfig
on region where it is not supported (https://github.com/ansible-collections/amazon.aws/issues/2180).accelerate_enabled
option to only update the configuration if explicitly passed (https://github.com/ansible-collections/amazon.aws/issues/2220).MethodNotAllowed
exceptions caused by fetching transfer acceleration state in regions that don't support it (https://github.com/ansible-collections/amazon.aws/issues/2266).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
Compare Source
======
Release Summary
This release includes several documentation improvements and two new features for the
s3_bucket
module.Minor Changes
object_lock_default_retention
to set Object Lock default retention configuration for S3 buckets (https://github.com/ansible-collections/amazon.aws/pull/2062).accelerate_enabled
option (https://github.com/ansible-collections/amazon.aws/pull/2046).v8.0.1
Compare Source
======
Release Summary
This release includes some bug fixes for the
s3_object
,ec2_instance
andbackup_plan_info
modules.Bugfixes
MemoryError
exceptions when downloading large files (https://github.com/ansible-collections/amazon.aws/issues/2107).v8.0.0
Compare Source
======
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
andmodule_utils.policy
that were previously deprecated. We have also removed support foransible-core<2.15
.Minor Changes
deleted
ordeleting
when trying to delete volume, to guaranty idempotency (https://github.com/ansible-collections/amazon.aws/pull/2052).maximum_batching_window_in_seconds
option (https://github.com/ansible-collections/amazon.aws/pull/2025).SslPolicy
,Certificates
andAlpnPolicy
for TLS listeners (https://github.com/ansible-collections/amazon.aws/issues/1198).enable_cloudwatch_logs_exports
in order to remove all existing exports (https://github.com/ansible-collections/amazon.aws/pull/1917).Breaking Changes / Porting Guide
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.assume_role_policy_document
is no longer converted from CamelCase to snake_case (https://github.com/ansible-collections/amazon.aws/pull/2040).policies
return value has been renamed tokey_policies
the contents has not been changed (https://github.com/ansible-collections/amazon.aws/pull/2040).policies
return value has been renamed tokey_policies
the contents has not been changed (https://github.com/ansible-collections/amazon.aws/pull/2040).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
include_extra_api_calls
option has been assigned to release 9.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2040).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).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).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).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).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
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.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.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).sort_json_policy_dict()
function has been removed, consider usingcompare_policies()
instead (https://github.com/ansible-collections/amazon.aws/pull/2052).Bugfixes
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).batch_size
is greater than 10, by enabling support for settingmaximum_batching_window_in_seconds
(https://github.com/ansible-collections/amazon.aws/pull/2025).v7.6.1
Compare Source
======
Release Summary
This release includes some bug fixes for the
ec2_instance
andbackup_plan_info
modules.Bugfixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.