Releases: ansible-collections/community.aws
community.aws 10.0.0
Release Summary
In this major release, the connection/aws_ssm
connection plugin has been fully migrated out of this collection and into amazon.aws
(https://forum.ansible.com/t/aws-ssm-connection-refactoring-plugin-promotion/39930). Playbooks or Inventory using the Fully Qualified Collection Name (FQCN) for this connection plugin should be updated to use amazon.aws.aws_ssm
. Additionally, botocore<1.31.0
and boto3<1.28.0
are no longer supported; most modules will continue to work with older versions of the AWS SDK, however, compatibility with older versions of the SDK is not guaranteed.
Major Changes
- community.aws collection - The community.aws collection has dropped support for
botocore<1.34.0
andboto3<1.34.0
. Most modules will continue to work with older versions of the AWS SDK, however compatibility 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 (ansible-collections/amazon.aws#2426).
Breaking Changes / Porting Guide
- Support for
ansible-core<2.17
has been dropped (#2303). - The community.aws collection has dropped support for
botocore<1.31.0
andboto3<1.28.0
. Most modules will continue to work with older versions of the AWS SDK. However, compatibility 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 (#2195). - connection/aws_ssm - The connection plugin has been migrated from the
community.aws
collection. Playbooks or Inventory using the Fully Qualified Collection Name for this connection plugin should be updated to useamazon.aws.aws_ssm
.
Deprecated Features
- community.aws collection - 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 has been deprecated and will removed in release 10.0.0 (#2195).
community.aws 9.3.0
Release Summary
This release includes several improvements for the community.aws.aws_ssm
connection plugin in preparation for its promotion to amazon.aws and bumps version of ansible-lint to 25.1.0
.
Minor Changes
- Bump version of ansible-lint to 25.1.2.
- aws_ssm - Move the
aws_ssm
connection plugin's plugin_utils into a dedicated folder (#2279). - aws_ssm - Refactor S3 operations methods for improved clarity (#2275).
- aws_ssm - Refactor connection/aws_ssm to add new TerminalManager class and move relevant methods to the new class (#2270).
- aws_ssm - Refactor connection/aws_ssm to add new
FileTransferManager
class and move relevant methods to the new class (#2273). - aws_ssm - Refactor connection/aws_ssm to add new
SSMSessionManager
andProcessManager
classes and move relevant methods to the new class (#2272).
community.aws 9.2.0
Release Summary
This release includes several improvements for the community.aws.aws_ssm
connection plugin in preparation for its promotion to amazon.aws in the ucoming major release.
Minor Changes
- aws_ssm - Refactor
_exec_transport_commands
,_generate_commands
, and_exec_transport_commands
methods for improved clarity (#2248). - aws_ssm - Refactor connection/aws_ssm to add new S3ClientManager class and move relevant methods to the new class (#2255).
- aws_ssm - Refactor display/verbosity-related methods in aws_ssm to simplify the code and avoid repetition (#2264).
community.aws 8.1.0
Release Summary
This minor release brings several new features and bug fixes.
Minor Changes
- ec2_placement_group - Added support for creating with
tags
(#2081). - ec2_transit_gateway - Support for enabling multicast on Transit Gateway (#2063).
- ec2_vpc_vgw - Fix call to parent static method in class
VGWRetry
(#2140).
Bugfixes
- ecs_taskdefinition - Avoid throttling exceptions on task definitions with a large number of revisions by using the retry mechanism (#2123).
community.aws 9.1.0
Minor Changes
- aws_ssm - Refactor _init_clients Method for Improved Clarity and Efficiency (#2223).
- aws_ssm - Refactor
_prepare_terminal()
Method for Improved Clarity and Efficiency (https://github.com/ansible-collections/community.aws/pull/). - aws_ssm - Refactor exec_command Method for Improved Clarity and Efficiency (#2224).
- connection/aws_ssm - Add the possibility to define
aws_ssm_plugin
variable via environment variable and by default use the version found on the $PATH rather than require that you provide an absolute path (#1990). - dms_endpoint - improve resilience of parameter comparison (#2221).
- s3_lifecycle - Support for min and max object size when applying the filter rules (#2205).
- ssm - add function to generate random strings for SSM CLI delimitation (#2235).
- various modules - linting fixups (#2221).
- waf_condition - adds missing options validation to filters (#2220).
Bugfixes
community.aws 9.0.0
Release Summary
This release includes some new features, bugfixes and breaking changes. Several modules have been migrated to amazon.aws and the Fully Qualified Collection Name for these modules needs to be updated. The community.aws collection has dropped support for botocore<1.31.0 and boto3<1.28.0. Due to the AWS SDKs announcing 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 (#2194).
Minor Changes
- autoscaling_instance_refresh - Add support for
skip_matching
andmax_healthy_percentage
inpreference
(#2150). - autoscaling_instance_refresh - refactor module to use shared code from
ansible_collections.amazon.aws.plugins.module_utils.autoscaling
and add type hinting (#2150). - autoscaling_instance_refresh_info - refactor module to use shared code from
ansible_collections.amazon.aws.plugins.module_utils.autoscaling
and add type hinting (#2150). - ec2_launch_template - Add option
tag_specifications
to define tags to be applied to the resources created with the launch template (#176). - ec2_launch_template - Add suboption
throughput
toblock_device_mappings
argument (#1944). - ec2_launch_template - Add support
purge_tags
parameter (#176). - ec2_launch_template - Add the possibility to delete specific versions of a launch template using
versions_to_delete
(#2164). - ec2_launch_template - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2164). - ec2_placement_group - Added support for creating with
tags
(#2081). - ec2_placement_group - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2167). - ec2_transit_gateway - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2158). - ec2_transit_gateway - Support for enable multicast on Transit Gateway (#2063).
- ec2_transit_gateway_info - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2158). - ec2_transit_gateway_vpc_attachment - Modify doumentation and refactor to adhere to coding guidelines (#2157).
- ec2_vpc_egress_igw - Add the possibility to update/add tags on Egress only internet gateway (#2152).
- ec2_vpc_egress_igw - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
util (#2152). - ec2_vpc_nacl - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2159). - ec2_vpc_nacl_info - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2159). - ec2_vpc_peer - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2153). - ec2_vpc_peering_info - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2153). - ec2_vpc_vgw - Fix call to parent static method in class
VGWRetry
(#2140). - ec2_vpc_vgw - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2171). - ec2_vpc_vgw_info - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
and updateRETURN
block (#2171). - ec2_vpc_vpn - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2160). - ec2_vpc_vpn_info - Refactor module to use shared code from
amazon.aws.plugins.module_utils.ec2
(#2160). - elb_classic_lb_info - Refactor elb_classic_lb_info module (#2139).
Breaking Changes / Porting Guide
- The community.aws collection has dropped support for
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 (#2195). - autoscaling_instance_refresh - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_instance_refresh
(#2177). - autoscaling_instance_refresh_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_instance_refresh_info
(#2177). - ec2_launch_template - Tags defined using option
tags
are now applied to the launch template resources not the resource created using this launch template (#176). - ec2_launch_template - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_launch_template
(#2185). - ec2_placement_group - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_placement_group
. - ec2_placement_group_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_placement_group_info
. - ec2_transit_gateway - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway
. - ec2_transit_gateway_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_info
. - ec2_transit_gateway_vpc_attachment - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_vpc_attachment
. - ec2_transit_gateway_vpc_attachment_info - The module has been migrated from the
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
. - ec2_vpc_egress_igw - The module has been migrated from the
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/community.aws/pulls/2169). - ec2_vpc_nacl - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_nacl
(#2178). - ec2_vpc_nacl_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_nacl_info
(#2178). - ec2_vpc_peer - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_peer
. - ec2_vpc_peering_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_peering_info
. - ec2_vpc_vgw - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vgw
. - ec2_vpc_vgw_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vgw_info
. - ec2_vpc_vpn - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated t...
community.aws 8.0.0
Release Summary
This major release brings several new features, bug fixes, and deprecated features. It also includes the removal of several modules that have been migrated to the amazon.aws
collection. We have also removed support for ansible-core<2.15
.
Minor Changes
- api_gateway - use fstrings where appropriate (ansible-collections/amazon.aws#1962).
- api_gateway_info - use fstrings where appropriate (ansible-collections/amazon.aws#1962).
- community.aws collection - apply isort code formatting to ensure consistent formatting of code (#1962)
- ecs_taskdefinition - Add parameter
runtime_platform
(#1891). - eks_nodegroup - ensure wait also waits for deletion to complete when
wait==True
(#1994). - elb_network_lb - add support for Application-Layer Protocol Negotiation (ALPN) policy
AlpnPolicy
for TLS listeners (#1566). - elb_network_lb - add the possibly to update
SslPolicy
andCertificates
for TLS listeners ().
Breaking Changes / Porting Guide
- The community.aws collection has dropped support for
botocore<1.29.0
andboto3<1.26.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 (ansible-collections/amazon.aws#1763). - aws_region_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.aws_region_info
. - aws_s3_bucket_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.aws_s3_bucket_info
. - community.aws collection - Support for ansible-core < 2.15 has been dropped (#2074).
- community.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.7 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.7 by this collection wss been deprecated in release 6.0.0 and removed in release 7.0.0. (ansible-collections/amazon.aws#1763).
- iam_access_key - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_access_key
. - iam_access_key_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_access_key_info
. - iam_group - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_group
(#1945). - iam_managed_policy - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_managed_policy
(#1954). - iam_mfa_device_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_mfa_device_info
(#1953). - iam_password_policy - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_password_policy
. - iam_role - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_role
(#1948). - iam_role_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_role_info
(#1948). - s3_bucket_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.s3_bucket_info
. - sts_assume_role - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.sts_assume_role
.
Deprecated Features
- aws_glue_connection - updated the deprecation for removal of the
connection_parameters
return key fromafter 2024-06-01
to release version9.0.0
, it is being replaced by theraw_connection_parameters
key (#518). - ecs_cluster - updated the deprecation for updated default of
purge_capacity_providers
, the current default ofFalse
will be changed toTrue
in release9.0.0
. To maintain the current behaviour explicitly setpurge_capacity_providers=False
(#1640). - ecs_service - updated the deprecation for updated default of
purge_placement_constraints
, the current default ofFalse
will be changed toTrue
in release9.0.0
. To maintain the current behaviour explicitly setpurge_placement_constraints=False
(#1716). - ecs_service - updated the deprecation for updated default of
purge_placement_strategy
, the current default ofFalse
will be changed toTrue
in release9.0.0
. To maintain the current behaviour explicitly setpurge_placement_strategy=False
(#1716).
Bugfixes
community.aws 7.2.0
Release Summary
This release includes a new module dynamodb_table_info
, new features for the glue_job
and msk_cluster
modules, and a bugfix for the aws_ssm
connection plugin.
Minor Changes
- glue_job - add support for 2 new instance types which are G.4X and G.8X (#2048).
- msk_cluster - Support for additional
m5
andm7g
types of MSK clusters (#1947).
Bugfixes
- ssm(connection) - fix bucket region logic when region is
us-east-1
(#1908).
New Modules
- dynamodb_table_info - Returns information about a Dynamo DB table
community.aws 7.1.0
Release Summary
This release includes new features for the cloudfront_distribution
and mq_broker
modules, as well as a bugfix for the aws_ssm
connection plugin needed when connecting to hosts with Bash 5.1.0 and later.
Minor Changes
- aws_ssm - Updated the documentation to explicitly state that an S3 bucket is required, the behavior of the files in that bucket, and requirements around that. (#1775).
- cloudfront_distribution - added support for
cache_policy_id
andorigin_request_policy_id
for behaviors (#1589) - mq_broker - add support to wait for broker state via
wait
andwait_timeout
parameter values (#1879).
Bugfixes
- aws_ssm - disable
enable-bracketed-paste
to fix issue with amazon linux 2023 and other OSes (#1756)
community.aws 7.0.0
Release Summary
This release includes some new features, bugfixes and breaking changes. Several modules have been migrated to amazon.aws and the Fully Qualified Collection Name for these modules needs to be updated. The community.aws collection has dropped support for botocore<1.29.0
and boto3<1.26.0
. Due to the AWS SDKs announcing the end of support for Python less than 3.7 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/), support for Python less than 3.7 by this collection was deprecated in release 6.0.0 and removed in release 7.0.0. (ansible-collections/amazon.aws#1763).
Minor Changes
- api_gateway - use fstrings where appropriate (ansible-collections/amazon.aws#1962).
- api_gateway_info - use fstrings where appropriate (ansible-collections/amazon.aws#1962).
- community.aws collection - apply isort code formatting to ensure consistent formatting of code (#1962)
- ecs_taskdefinition - Add parameter
runtime_platform
(#1891). - eks_nodegroup - ensure wait also waits for deletion to complete when
wait==True
(#1994).
Breaking Changes / Porting Guide
- The community.aws collection has dropped support for
botocore<1.29.0
andboto3<1.26.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 (ansible-collections/amazon.aws#1763). - aws_region_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.aws_region_info
. - aws_s3_bucket_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.aws_s3_bucket_info
. - community.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.7 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.7 by this collection wss been deprecated in release 6.0.0 and removed in release 7.0.0. (ansible-collections/amazon.aws#1763).
- iam_access_key - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_access_key
. - iam_access_key_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_access_key_info
. - iam_group - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_group
(#1945). - iam_managed_policy - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_managed_policy
(#1954). - iam_mfa_device_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_mfa_device_info
(#1953). - iam_password_policy - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_password_policy
. - iam_role - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_role
(#1948). - iam_role_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.iam_role_info
(#1948). - s3_bucket_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.s3_bucket_info
. - sts_assume_role - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.sts_assume_role
.