8000 Merge `stable-10` back into `main` by beeankha · Pull Request #2312 · ansible-collections/community.aws · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Merge stable-10 back into main #2312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 33 additions & 6 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,32 @@ community.aws Release Notes

.. contents:: Topics

v10.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`` and ``boto3<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 (https://github.com/ansible-collections/amazon.aws/pull/2426).

Breaking Changes / Porting Guide
--------------------------------

- Support for ``ansible-core<2.17`` has been dropped (https://github.com/ansible-collections/community.aws/pull/2303).
- The ``community.aws`` collection has dropped support for ``botocore<1.31.0`` and ``boto3<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 (https://github.com/ansible-collections/community.aws/pull/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 use ``amazon.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 was removed in this 10.0.0 release (https://github.com/ansible-collections/community.aws/pull/2195).

v9.3.0
======

Expand All @@ -15,7 +41,7 @@ This release includes several improvements for the ``community.aws.aws_ssm`` con
Minor Changes
-------------

- Bump version of ansible-lint to 25.1.2.
- Bump version of ``ansible-lint`` to 25.1.2 (https://github.com/ansible-collections/community.aws/pull/2295).
- aws_ssm - Move the ``aws_ssm`` connection plugin's plugin_utils into a dedicated folder (https://github.com/ansible-collections/community.aws/pull/2279).
- aws_ssm - Refactor S3 operations methods for improved clarity (https://github.com/ansible-collections/community.aws/pull/2275).
- aws_ssm - Refactor connection/aws_ssm to add new TerminalManager class and move relevant methods to the new class (https://github.com/ansible-collections/community.aws/pull/2270).
Expand Down Expand Up @@ -45,12 +71,13 @@ Release Summary

Preparation for the promotion of the ``aws_ssm.py`` plugin (https://forum.ansible.com/t/aws-ssm-connection-refactoring-plugin-promotion/39930) is under way in this release; this effort includes the refactoring work for methods like ``exec_command`` (https://github.com/ansible-collections/community.aws/pull/2224) as well as new methods such as ``generate_mark()`` (https://github.com/ansible-collections/community.aws/pull/2235) which generates random strings for SSM CLI delimitation.


Minor Changes
-------------

- aws_ssm - Refactor ``_init_clients`` Method for Improved Clarity and Efficiency (https://github.com/ansible-collections/community.aws/pull/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 (https://github.com/ansible-collections/community.aws/pull/2224).
- aws_ssm - Refactor ``exec_command`` Method for Improved Clarity and Efficiency (https://github.com/ansible-collections/community.aws/pull/2224).
- 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 (https://github.com/ansible-collections/community.aws/issues/1990).
- dms_endpoint - Improve resilience of parameter comparison (https://github.com/ansible-collections/community.aws/pull/2221).
- s3_lifecycle - Support for min and max object size when applying the filter rules (https://github.com/ansible-collections/community.aws/pull/2205).
Expand Down Expand Up @@ -105,7 +132,7 @@ Minor Changes
Breaking Changes / Porting Guide
--------------------------------

- The community.aws collection has dropped support for ``botocore<1.31.0`` and ``boto3<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/community.aws/pull/2195).
- The community.aws collection has dropped support for ``botocore<1.31.0`` and ``boto3<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 (https://github.com/ansible-collections/community.aws/pull/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 use ``amazon.aws.autoscaling_instance_refresh`` (https://github.com/ansible-collections/community.aws/pull/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 use ``amazon.aws.autoscaling_instance_refresh_info`` (https://github.com/ansible-collections/community.aws/pull/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 (https://github.com/ansible-collections/community.aws/issues/176).
Expand Down Expand Up @@ -182,7 +209,7 @@ Minor Changes
Breaking Changes / Porting Guide
--------------------------------

- The community.aws collection has dropped support for ``botocore<1.29.0`` and ``boto3<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 (https://github.com/ansible-collections/amazon.aws/pull/1763).
- The community.aws collection has dropped support for ``botocore<1.29.0`` and ``boto3<1.26.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 (https://github.com/ansible-collections/amazon.aws/pull/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 use ``amazon.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 use ``amazon.aws.aws_s3_bucket_info``.
- community.aws collection - Support for ansible-core < 2.15 has been dropped (https://github.com/ansible-collections/community.aws/pull/2074).
Expand Down Expand Up @@ -276,7 +303,7 @@ Minor Changes
Breaking Changes / Porting Guide
--------------------------------

- The community.aws collection has dropped support for ``botocore<1.29.0`` and ``boto3<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 (https://github.com/ansible-collections/amazon.aws/pull/1763).
- The community.aws collection has dropped support for ` 10000 `botocore<1.29.0`` and ``boto3<1.26.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 (https://github.com/ansible-collections/amazon.aws/pull/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 use ``amazon.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 use ``amazon.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. (https://github.com/ansible-collections/amazon.aws/pull/1763).
Expand Down Expand Up @@ -386,7 +413,7 @@ Minor Changes
Breaking Changes / Porting Guide
--------------------------------

- The community.aws collection has dropped support for ``botocore<1.25.0`` and ``boto3<1.22.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/community.aws/pull/1743).
- The community.aws collection has dropped support for ``botocore<1.25.0`` and ``boto3<1.22.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 (https://github.com/ansible-collections/community.aws/pull/1743).
- aws_ssm - the AWS SSM plugin was incorrectly prepending ``sudo`` to most commands. This behaviour was incorrect and has been removed. To execute commands as a specific user, including the ``root`` user, the ``become`` and ``become_user`` directives should be used. See the `Ansible documentation for more information <https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html>`_ (https://github.com/ansible-collections/community.aws/issues/853).
- codebuild_project - ``tags`` parameter now accepts a dict representing the tags, rather than the boto3 format (https://github.com/ansible-collections/community.aws/pull/1643).

Expand Down
51 changes: 41 additions & 10 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3437,7 +3437,7 @@ releases:
breaking_changes:
- The community.aws collection has dropped support for ``botocore<1.25.0`` and
``boto3<1.22.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
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 (https://github.com/ansible-collections/community.aws/pull/1743).
- aws_ssm - the AWS SSM plugin was incorrectly prepending ``sudo`` to most commands. This
Expand Down Expand Up @@ -3619,7 +3619,7 @@ releases:
breaking_changes:
- The community.aws collection has dropped support for ``botocore<1.29.0`` and
``boto3<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
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 (https://github.com/ansible-collections/amazon.aws/pull/1763).
- aws_region_info - The module has been migrated from the ``community.aws``
Expand Down Expand Up @@ -3760,7 +3760,7 @@ releases:
breaking_changes:
- The community.aws collection has dropped support for ``botocore<1.29.0`` and
``boto3<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
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 (https://github.com/ansible-collections/amazon.aws/pull/1763).
- aws_region_info - The module has been migrated from the ``community.aws``
Expand Down Expand Up @@ -3901,7 +3901,7 @@ releases:
breaking_changes:
- The community.aws collection has dropped support for ``botocore<1.31.0`` and
``boto3<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
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 (https://github.com/ansible-collections/community.aws/pull/2195).
- autoscaling_instance_refresh - The module has been migrated from the ``community.aws``
Expand Down Expand Up @@ -4086,13 +4086,14 @@ releases:
Efficiency (https://github.com/ansible-collections/community.aws/pull/).
- aws_ssm - Refactor exec_command Method for Improved Clarity and Efficiency
(https://github.com/ansible-collections/community.aws/pull/2224).
- 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 (https://github.com/ansible-collections/community.aws/issues/1990).
- aws_ssm - Add function to generate random strings for SSM CLI delimitation
(https://github.com/ansible-collections/community.aws/pull/2235).
- 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 (https://github.com/ansible-collections/community.aws/issues/1990).
- dms_endpoint - Improve resilience of parameter comparison (https://github.com/ansible-collections/community.aws/pull/2221).
- s3_lifecycle - Support for min and max object size when applying the filter
rules (https://github.com/ansible-collections/community.aws/pull/2205).
- aws_ssm - Add function to generate random strings for SSM CLI delimitation (https://github.com/ansible-collections/community.aws/pull/2235).
- various modules - Linting fixups (https://github.com/ansible-collections/community.aws/pull/2221).
- waf_condition - Add missing options validation to filters (https://github.com/ansible-collections/community.aws/pull/2220).
fragments:
Expand Down Expand Up @@ -4128,7 +4129,7 @@ releases:
9.3.0:
changes:
minor_changes:
- Bump version of ansible-lint to 25.1.2.
- Bump version of ansible-lint to 25.1.2 (https://github.com/ansible-collections/community.aws/pull/2295).
- aws_ssm - Move the ``aws_ssm`` connection plugin's plugin_utils into a dedicated
folder (https://github.com/ansible-collections/community.aws/pull/2279).
- aws_ssm - Refactor S3 operations methods for improved clarity (https://github.com/ansible-collections/community.aws/pull/2275).
Expand All @@ -4149,4 +4150,34 @@ releases:
- 9.3.0.yaml
- aws_ssm_filetransfermanager.yml
- update_ansible-lint.yml
release_date: '2025-05-06'
release_date: '2025-05-06'
10.0.0:
changes:
breaking_changes:
- Support for ``ansible-core<2.17`` has been dropped (https://github.com/ansible-collections/community.aws/pull/2303).
- The community.aws collection has dropped support for ``botocore<1.31.0`` and
``boto3<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 (https://github.com/ansible-collections/community.aws/pull/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 use ``amazon.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 (https://github.com/ansible-collections/community.aws/pull/2195).
major_changes:
- community.aws collection - The community.aws collection has dropped support
for ``botocore<1.34.0`` and ``boto3<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 (https://github.com/ansible-collections/amazon.aws/pull/2426).
fragments:
- 20241029-main-10.0.0.yml
- 20250505-skip_ansible-core_2.16.yml
- botocore-python.yaml
- botocore.yml
- migrate_aws_ssm.yml
release_date: '2025-05-14'
2 changes: 0 additions & 2 deletions changelogs/fragments/20241029-main-10.0.0.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/20250505-skip_ansible-core_2.16.yml

This file was deleted.

14 changes: 0 additions & 14 deletions changelogs/fragments/botocore-python.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions changelogs/fragments/botocore.yml

This file was deleted.

Loading
Loading
0