diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 408d7c5a36..c2ae209b3a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,44 @@ amazon.aws Release Notes .. contents:: Topics +v9.1.0 +====== + +Release Summary +--------------- + +This release brings several bugfixes, minor changes, a new ``rds_instance_param_group_info`` module, and some deprecations for the ``autoscaling_group`` module. + +Minor Changes +------------- + +- autoscaling_group - adds ``group_name`` as an alias for the ``name`` parameter (https://github.com/ansible-collections/amazon.aws/pull/2396). +- autoscaling_group_info - adds ``group_name`` as an alias for the ``name`` parameter (https://github.com/ansible-collections/amazon.aws/pull/2396). +- autoscaling_instance_refresh - adds ``group_name`` as an alias for the ``name`` parameter (https://github.com/ansible-collections/amazon.aws/pull/2396). +- autoscaling_instance_refresh_info - adds ``group_name`` as an alias for the ``name`` parameter (https://github.com/ansible-collections/amazon.aws/pull/2396). +- ec2_instance - Fix the issue when trying to run instances using launch template in an AWS environment where no default subnet is defined(https://github.com/ansible-collections/amazon.aws/issues/2321). +- ec2_metadata_facts - add ``ansible_ec2_instance_tags`` to return values (https://github.com/ansible-collections/amazon.aws/pull/2398). +- ec2_transit_gateway - handle empty description while deleting transit gateway (https://github.com/ansible-collections/community.aws/pull/2086). + +Deprecated Features +------------------- + +- autoscaling_group - the ``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 the ``amazon.aws.autoscaling_instance`` module (https://github.com/ansible-collections/amazon.aws/pull/2396). +- autoscaling_group - the ``replace_batch_size``, ``lc_check`` and ``lt_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 the ``amazon.aws.autoscaling_instance_refresh`` module (https://github.com/ansible-collections/amazon.aws/pull/2396). +- autoscaling_group - the functionality provided through the ``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 the ``amazon.aws.autoscaling_instance`` module (https://github.com/ansible-collections/amazon.aws/pull/2396). +- autoscaling_group - the functionality provided through the ``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 the ``amazon.aws.autoscaling_instance_refresh`` module (https://github.com/ansible-collections/amazon.aws/pull/2396). +- autoscaling_group - the functionality provided through the ``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 the ``amazon.aws.autoscaling_instance`` module (https://github.com/ansible-collections/amazon.aws/pull/2396). + +Bugfixes +-------- + +- elbv2 - Fix load balancer listener comparison when DefaultActions contain any action other than forward (https://github.com/ansible-collections/amazon.aws/issues/2377). + +New Modules +----------- + +- rds_instance_param_group_info - Describes the RDS parameter group. + v9.0.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 4a06f77908..1579ab7eab 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -3478,3 +3478,61 @@ releases: name: ec2_vpc_egress_igw_info namespace: '' release_date: '2024-10-29' + 9.1.0: + changes: + bugfixes: + - elbv2 - Fix load balancer listener comparison when DefaultActions contain + any action other than forward (https://github.com/ansible-collections/amazon.aws/issues/2377). + deprecated_features: + - autoscaling_group - the ``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 the ``amazon.aws.autoscaling_instance`` + module (https://github.com/ansible-collections/amazon.aws/pull/2396). + - autoscaling_group - the ``replace_batch_size``, ``lc_check`` and ``lt_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 the ``amazon.aws.autoscaling_instance_refresh`` module (https://github.com/ansible-collections/amazon.aws/pull/2396). + - autoscaling_group - the functionality provided through the ``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 the ``amazon.aws.autoscaling_instance`` module (https://github.com/ansible-collections/amazon.aws/pull/2396). + - autoscaling_group - the functionality provided through the ``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 the ``amazon.aws.autoscaling_instance_refresh`` module (https://github.com/ansible-collections/amazon.aws/pull/2396). + - autoscaling_group - the functionality provided through the ``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 the ``amazon.aws.autoscaling_instance`` module (https://github.com/ansible-collections/amazon.aws/pull/2396). + minor_changes: + - autoscaling_group - adds ``group_name`` as an alias for the ``name`` parameter + (https://github.com/ansible-collections/amazon.aws/pull/2396). + - autoscaling_group_info - adds ``group_name`` as an alias for the ``name`` + parameter (https://github.com/ansible-collections/amazon.aws/pull/2396). + - autoscaling_instance_refresh - adds ``group_name`` as an alias for the ``name`` + parameter (https://github.com/ansible-collections/amazon.aws/pull/2396). + - autoscaling_instance_refresh_info - adds ``group_name`` as an alias for the + ``name`` parameter (https://github.com/ansible-collections/amazon.aws/pull/2396). + - ec2_instance - Fix the issue when trying to run instances using launch template + in an AWS environment where no default subnet is defined(https://github.com/ansible-collections/amazon.aws/issues/2321). + - ec2_metadata_facts - add ``ansible_ec2_instance_tags`` to return values (https://github.com/ansible-collections/amazon.aws/pull/2398). + - ec2_transit_gateway - handle empty description while deleting transit gateway + (https://github.com/ansible-collections/community.aws/pull/2086). + release_summary: This release brings several bugfixes, minor changes, a new + ``rds_instance_param_group_info`` module, and some deprecations for the ``autoscaling_group`` + module. + fragments: + - 20241004-ec2_instance-fix-issue-with-launch_template-when-there-no-default-subnet.yml + - 20241106-fqcn-cloudwatch-metric-alarm.yml + - 20241120-ec2_metadata_facts-tags.yml + - 2377-fix-load-balancer-listener-comparison.yml + - 2396-autoscaling_groups-deprecations.yml + - autoscaling_instance_enable_tests.yml + - fix_tgw_description.yml + - resease_summary.yml + - setup_sshkey.yml + modules: + - description: Describes the RDS parameter group. + name: rds_instance_param_group_info + namespace: '' + release_date: '2024-12-05' diff --git a/changelogs/fragments/20241004-ec2_instance-fix-issue-with-launch_template-when-there-no-default-subnet.yml b/changelogs/fragments/20241004-ec2_instance-fix-issue-with-launch_template-when-there-no-default-subnet.yml deleted file mode 100644 index cae037e693..0000000000 --- a/changelogs/fragments/20241004-ec2_instance-fix-issue-with-launch_template-when-there-no-default-subnet.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - ec2_instance - Fix the issue when trying to run instances using launch template in an AWS environment where no default subnet is defined(https://github.com/ansible-collections/amazon.aws/issues/2321). \ No newline at end of file diff --git a/changelogs/fragments/20241106-fqcn-cloudwatch-metric-alarm.yml b/changelogs/fragments/20241106-fqcn-cloudwatch-metric-alarm.yml deleted file mode 100644 index ab504ea40c..0000000000 --- a/changelogs/fragments/20241106-fqcn-cloudwatch-metric-alarm.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - cloudwatch_metric_alarm - Fix missing FQCN for integration tests cloudwatch_metric_alarm. diff --git a/changelogs/fragments/20241120-ec2_metadata_facts-tags.yml b/changelogs/fragments/20241120-ec2_metadata_facts-tags.yml deleted file mode 100644 index 86ffd91b68..0000000000 --- a/changelogs/fragments/20241120-ec2_metadata_facts-tags.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - ec2_metadata_facts - add ``ansible_ec2_instance_tags`` to return values (https://github.com/ansible-collections/amazon.aws/pull/2398). diff --git a/changelogs/fragments/2377-fix-load-balancer-listener-comparison.yml b/changelogs/fragments/2377-fix-load-balancer-listener-comparison.yml deleted file mode 100644 index c07b66175c..0000000000 --- a/changelogs/fragments/2377-fix-load-balancer-listener-comparison.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - elbv2 - Fix load balancer listener comparison when DefaultActions contain any action other than forward (https://github.com/ansible-collections/amazon.aws/issues/2377). diff --git a/changelogs/fragments/2396-autoscaling_groups-deprecations.yml b/changelogs/fragments/2396-autoscaling_groups-deprecations.yml deleted file mode 100644 index 2f8ad5a58c..0000000000 --- a/changelogs/fragments/2396-autoscaling_groups-deprecations.yml +++ /dev/null @@ -1,28 +0,0 @@ -minor_changes: -- autoscaling_group - adds ``group_name`` as an alias for the ``name`` parameter - (https://github.com/ansible-collections/amazon.aws/pull/2396). -- autoscaling_group_info - adds ``group_name`` as an alias for the ``name`` parameter - (https://github.com/ansible-collections/amazon.aws/pull/2396). -- autoscaling_instance_refresh - adds ``group_name`` as an alias for the ``name`` parameter - (https://github.com/ansible-collections/amazon.aws/pull/2396). -- autoscaling_instance_refresh_info - adds ``group_name`` as an alias for the ``name`` parameter - (https://github.com/ansible-collections/amazon.aws/pull/2396). -deprecated_features: -- autoscaling_group - the functionality provided through the ``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 the ``amazon.aws.autoscaling_instance_refresh`` module - (https://github.com/ansible-collections/amazon.aws/pull/2396). -- autoscaling_group - the ``replace_batch_size``, ``lc_check`` and ``lt_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 the ``amazon.aws.autoscaling_instance_refresh`` module - (https://github.com/ansible-collections/amazon.aws/pull/2396). -- autoscaling_group - the functionality provided through the ``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 the ``amazon.aws.autoscaling_instance`` module - (https://github.com/ansible-collections/amazon.aws/pull/2396). -- autoscaling_group - the functionality provided through the ``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 the ``amazon.aws.autoscaling_instance`` module - (https://github.com/ansible-collections/amazon.aws/pull/2396). -- autoscaling_group - the ``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 the ``amazon.aws.autoscaling_instance`` module - (https://github.com/ansible-collections/amazon.aws/pull/2396). -trivial: -- autoscaling_instance - tweak the state description to better explain replacing individual instances - (https://github.com/ansible-collections/amazon.aws/pull/2396). diff --git a/changelogs/fragments/autoscaling_instance_enable_tests.yml b/changelogs/fragments/autoscaling_instance_enable_tests.yml deleted file mode 100644 index 42fd3baa39..0000000000 --- a/changelogs/fragments/autoscaling_instance_enable_tests.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - autoscaling_instance - Enable integration tests which were disabled earlier due to permission issues (https://github.com/ansible-collections/amazon.aws/pull/2383). diff --git a/changelogs/fragments/fix_tgw_description.yml b/changelogs/fragments/fix_tgw_description.yml deleted file mode 100644 index e1bfea0a10..0000000000 --- a/changelogs/fragments/fix_tgw_description.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - ec2_transit_gateway - handle empty description while deleting transit gateway (https://github.com/ansible-collections/community.aws/pull/2086). diff --git a/changelogs/fragments/setup_sshkey.yml b/changelogs/fragments/setup_sshkey.yml deleted file mode 100644 index b28e3d9075..0000000000 --- a/changelogs/fragments/setup_sshkey.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - setup_sshkey - fix SSH key generation post OpenSSH 9.5 changed default key type to ed25519 diff --git a/galaxy.yml b/galaxy.yml index 3973813d4f..52436132d1 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: amazon name: aws -version: 9.0.0 +version: 9.1.0 readme: README.md authors: - Ansible (https://github.com/ansible) diff --git a/plugins/module_utils/common.py b/plugins/module_utils/common.py index c85cf02667..c6333393a2 100644 --- a/plugins/module_utils/common.py +++ b/plugins/module_utils/common.py @@ -4,7 +4,7 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) AMAZON_AWS_COLLECTION_NAME = "amazon.aws" -AMAZON_AWS_COLLECTION_VERSION = "9.0.0" +AMAZON_AWS_COLLECTION_VERSION = "9.1.0" _collection_info_context = {