From 163bbc94870f95c99eab60a77c350fd2ce848ccb Mon Sep 17 00:00:00 2001 From: Alina Buzachis Date: Wed, 5 Jul 2023 20:01:00 +0200 Subject: [PATCH] Update changelog to reflect the 6.2.0 release --------- Signed-off-by: Alina Buzachis Co-authored-by: alinabuzachis --- CHANGELOG.rst | 34 +++++++++++ changelogs/changelog.yaml | 57 +++++++++++++++++++ .../1589-return_false_when_no_change..yml | 3 - ...1604-c2_vpc_nat_gateway-fails-silently.yml | 3 - .../1615-no_formatted_with_extra_space.yml | 3 - ...ate-eip-when-connectivity_type=private.yml | 2 - .../1633-backup-selection-conditions.yml | 5 -- .../fragments/1843-iam_instance_profile.yml | 2 - changelogs/fragments/1846-arn-validation.yml | 5 -- .../20230506-autoscaling_group-fix_sanity.yml | 2 - ...up_plan-remove-none-from-nested-params.yml | 3 - .../20230612-backup_vault-fix-tag-update.yml | 3 - changelogs/fragments/20230627-ci-fixup.yml | 3 - 13 files changed, 91 insertions(+), 34 deletions(-) delete mode 100644 changelogs/fragments/1589-return_false_when_no_change..yml delete mode 100644 changelogs/fragments/1604-c2_vpc_nat_gateway-fails-silently.yml delete mode 100644 changelogs/fragments/1615-no_formatted_with_extra_space.yml delete mode 100644 changelogs/fragments/1632-changes-to-no-allocate-eip-when-connectivity_type=private.yml delete mode 100644 changelogs/fragments/1633-backup-selection-conditions.yml delete mode 100644 changelogs/fragments/1843-iam_instance_profile.yml delete mode 100644 changelogs/fragments/1846-arn-validation.yml delete mode 100644 changelogs/fragments/20230506-autoscaling_group-fix_sanity.yml delete mode 100644 changelogs/fragments/202306012-backup_plan-remove-none-from-nested-params.yml delete mode 100644 changelogs/fragments/20230612-backup_vault-fix-tag-update.yml delete mode 100644 changelogs/fragments/20230627-ci-fixup.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 79caa61e435..fdd8c166857 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,40 @@ amazon.aws Release Notes .. contents:: Topics +v6.2.0 +====== + +Release Summary +--------------- + +This release brings some new modules, features, and several bugfixes. + +Minor Changes +------------- + +- backup_selection - add validation and documentation for all conditions suboptions (https://github.com/ansible-collections/amazon.aws/pull/1633). +- ec2_instance - refactored ARN validation handling (https://github.com/ansible-collections/amazon.aws/pull/1619). +- iam_user - refactored ARN validation handling (https://github.com/ansible-collections/amazon.aws/pull/1619). +- module_utils.arn - add ``resource_id`` and ``resource_type`` to ``parse_aws_arn`` return values (https://github.com/ansible-collections/amazon.aws/pull/1619). +- module_utils.arn - added ``validate_aws_arn`` function to handle common pattern matching for ARNs (https://github.com/ansible-collections/amazon.aws/pull/1619). + +Bugfixes +-------- + +- cloudwatchevent_rule - Fixes changed status to report False when no change has been made. The module had incorrectly always reported a change. (https://github.com/ansible-collections/amazon.aws/pull/1589) +- lambda_execute - Fixes to the stack trace output, where it does not contain spaces between each character. The module had incorrectly always outputted extra spaces between each character. (https://github.com/ansible-collections/amazon.aws/pull/1615) +- backup_plan - Use existing ``scrub_none_values`` function from module_utils to remove None values from nested dicts in supplied params. Nested None values were being retained and causing an error when sent through to the boto3 client operation (https://github.com/ansible-collections/amazon.aws/pull/1611). +- backup_vault - fix error when updating tags on a backup vault by using the correct boto3 client methods for tagging and untagging backup resources (https://github.com/ansible-collections/amazon.aws/pull/1610). +- ec2_vpc_nat_gateway - adding a boolean parameter called ``default_create`` to allow users to have the option to choose whether they want to display an error message or create a NAT gateway when an EIP address is not found. The module (ec2_vpc_nat_gateway) had incorrectly failed silently if EIP didn't exist (https://github.com/ansible-collections/amazon.aws/issues/1295). +- ec2_vpc_nat_gateway - fixes to nat gateway so that when the user creates a private NAT gateway, an Elastic IP address should not be allocated. The module had inncorrectly always allocate elastic IP address when creating private nat gateway (https://github.com/ansible-collections/amazon.aws/pull/1632). +- module_utils.backup - get_selection_details fix empty list returned when multiple backup selections exist (https://github.com/ansible-collections/amazon.aws/pull/1633). + +New Modules +----------- + +- iam_instance_profile - manage IAM instance profiles +- iam_instance_profile_info - gather information on IAM instance profiles + v6.1.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 3686ed2a1b6..5fdc9b178b7 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -2174,3 +2174,60 @@ releases: - release_summary.yml - test-reqs.yml release_date: '2023-06-07' + 6.2.0: + changes: + bugfixes: + - cloudwatchevent_rule - Fixes changed status to report False when no change has been made. The module + had incorrectly always reported a change. (https://github.com/ansible-collections/amazon.aws/pull/1589) + - lambda_execute - Fixes to the stack trace output, where it does not contain spaces between + each character. The module had incorrectly always outputted extra spaces between + each character. (https://github.com/ansible-collections/amazon.aws/pull/1615) + - backup_plan - Use existing ``scrub_none_values`` function from module_utils + to remove None values from nested dicts in supplied params. Nested None values + were being retained and causing an error when sent through to the boto3 client + operation (https://github.com/ansible-collections/amazon.aws/pull/1611). + - backup_vault - fix error when updating tags on a backup vault by using the + correct boto3 client methods for tagging and untagging backup resources (https://github.com/ansible-collections/amazon.aws/pull/1610). + - ec2_vpc_nat_gateway - adding a boolean parameter called ``default_create`` + to allow users to have the option to choose whether they want to display an + error message or create a NAT gateway when an EIP address is not found. The + module (ec2_vpc_nat_gateway) had incorrectly failed silently if EIP didn't + exist (https://github.com/ansible-collections/amazon.aws/issues/1295). + - ec2_vpc_nat_gateway - fixes to nat gateway so that when the user creates a + private NAT gateway, an Elastic IP address should not be allocated. The module + had inncorrectly always allocate elastic IP address when creating private + nat gateway (https://github.com/ansible-collections/amazon.aws/pull/1632). + - module_utils.backup - get_selection_details fix empty list returned when multiple + backup selections exist (https://github.com/ansible-collections/amazon.aws/pull/1633). + minor_changes: + - backup_selection - add validation and documentation for all conditions suboptions + (https://github.com/ansible-collections/amazon.aws/pull/1633). + - ec2_instance - refactored ARN validation handling (https://github.com/ansible-collections/amazon.aws/pull/1619). + - iam_user - refactored ARN validation handling (https://github.com/ansible-collections/amazon.aws/pull/1619). + - module_utils.arn - add ``resource_id`` and ``resource_type`` to ``parse_aws_arn`` + return values (https://github.com/ansible-collections/amazon.aws/pull/1619). + - module_utils.arn - added ``validate_aws_arn`` function to handle common pattern + matching for ARNs (https://github.com/ansible-collections/amazon.aws/pull/1619). + release_summary: This release brings some new modules, features, and several + bugfixes. + fragments: + - 1589-return_false_when_no_change..yml + - 1604-c2_vpc_nat_gateway-fails-silently.yml + - 1615-no_formatted_with_extra_space.yml + - 1632-changes-to-no-allocate-eip-when-connectivity_type=private.yml + - 1633-backup-selection-conditions.yml + - 1843-iam_instance_profile.yml + - 1846-arn-validation.yml + - 20230506-autoscaling_group-fix_sanity.yml + - 202306012-backup_plan-remove-none-from-nested-params.yml + - 20230612-backup_vault-fix-tag-update.yml + - 20230627-ci-fixup.yml + - release_summary.yml + modules: + - description: manage IAM instance profiles + name: iam_instance_profile + namespace: '' + - description: gather information on IAM instance profiles + name: iam_instance_profile_info + namespace: '' + release_date: '2023-07-05' diff --git a/changelogs/fragments/1589-return_false_when_no_change..yml b/changelogs/fragments/1589-return_false_when_no_change..yml deleted file mode 100644 index 5b5367c5f63..00000000000 --- a/changelogs/fragments/1589-return_false_when_no_change..yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: -- Fixes changed status to report False when no change has been made. The module had incorrectly always reported a change. (https://github.com/ansible-collections/amazon.aws/pull/1589) \ No newline at end of file diff --git a/changelogs/fragments/1604-c2_vpc_nat_gateway-fails-silently.yml b/changelogs/fragments/1604-c2_vpc_nat_gateway-fails-silently.yml deleted file mode 100644 index e72d9944607..00000000000 --- a/changelogs/fragments/1604-c2_vpc_nat_gateway-fails-silently.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: -- ec2_vpc_nat_gateway - adding a boolean parameter called ``default_create`` to allow users to have the option to choose whether they want to display an error message or create a NAT gateway when an EIP address is not found. The module (ec2_vpc_nat_gateway) had incorrectly failed silently if EIP didn't exist (https://github.com/ansible-collections/amazon.aws/issues/1295). \ No newline at end of file diff --git a/changelogs/fragments/1615-no_formatted_with_extra_space.yml b/changelogs/fragments/1615-no_formatted_with_extra_space.yml deleted file mode 100644 index 693362b6950..00000000000 --- a/changelogs/fragments/1615-no_formatted_with_extra_space.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: -- Fixes to the stack trace output, where it does not contain spaces between each character. The module had incorrectly always outputted extra spaces between each character. (https://github.com/ansible-collections/amazon.aws/pull/1615) \ No newline at end of file diff --git a/changelogs/fragments/1632-changes-to-no-allocate-eip-when-connectivity_type=private.yml b/changelogs/fragments/1632-changes-to-no-allocate-eip-when-connectivity_type=private.yml deleted file mode 100644 index 4b820a3498f..00000000000 --- a/changelogs/fragments/1632-changes-to-no-allocate-eip-when-connectivity_type=private.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- ec2_vpc_nat_gateway - fixes to nat gateway so that when the user creates a private NAT gateway, an Elastic IP address should not be allocated. The module had inncorrectly always allocate elastic IP address when creating private nat gateway (https://github.com/ansible-collections/amazon.aws/pull/1632). \ No newline at end of file diff --git a/changelogs/fragments/1633-backup-selection-conditions.yml b/changelogs/fragments/1633-backup-selection-conditions.yml deleted file mode 100644 index 8fac9ef4ce3..00000000000 --- a/changelogs/fragments/1633-backup-selection-conditions.yml +++ /dev/null @@ -1,5 +0,0 @@ -minor_changes: -- backup_selection - add validation and documentation for all conditions suboptions (https://github.com/ansible-collections/amazon.aws/pull/1633). - -bugfixes: -- module_utils.backup - get_selection_details fix empty list returned when multiple backup selections exist (https://github.com/ansible-collections/amazon.aws/pull/1633). diff --git a/changelogs/fragments/1843-iam_instance_profile.yml b/changelogs/fragments/1843-iam_instance_profile.yml deleted file mode 100644 index 3cfb18270d4..00000000000 --- a/changelogs/fragments/1843-iam_instance_profile.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- new modules - iam_instance_profile, iam_instance_profile_info diff --git a/changelogs/fragments/1846-arn-validation.yml b/changelogs/fragments/1846-arn-validation.yml deleted file mode 100644 index 56be4417e26..00000000000 --- a/changelogs/fragments/1846-arn-validation.yml +++ /dev/null @@ -1,5 +0,0 @@ -minor_changes: -- ec2_instance - refactored ARN validation handling (https://github.com/ansible-collections/amazon.aws/pull/1619). -- iam_user - refactored ARN validation handling (https://github.com/ansible-collections/amazon.aws/pull/1619). -- module_utils.arn - added ``validate_aws_arn`` function to handle common pattern matching for ARNs (https://github.com/ansible-collections/amazon.aws/pull/1619). -- module_utils.arn - add ``resource_id`` and ``resource_type`` to ``parse_aws_arn`` return values (https://github.com/ansible-collections/amazon.aws/pull/1619). diff --git a/changelogs/fragments/20230506-autoscaling_group-fix_sanity.yml b/changelogs/fragments/20230506-autoscaling_group-fix_sanity.yml deleted file mode 100644 index 4a51fd47532..00000000000 --- a/changelogs/fragments/20230506-autoscaling_group-fix_sanity.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - "Fix sanity errors autoscaling_group and autoscaling_group_info." diff --git a/changelogs/fragments/202306012-backup_plan-remove-none-from-nested-params.yml b/changelogs/fragments/202306012-backup_plan-remove-none-from-nested-params.yml deleted file mode 100644 index d244b1ee3de..00000000000 --- a/changelogs/fragments/202306012-backup_plan-remove-none-from-nested-params.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - backup_plan - Use existing `scrub_none_values` function from module_utils to remove None values from nested dicts in supplied params. Nested None values were being retained and causing an error when sent through to the boto3 client operation (https://github.com/ansible-collections/amazon.aws/pull/1611). diff --git a/changelogs/fragments/20230612-backup_vault-fix-tag-update.yml b/changelogs/fragments/20230612-backup_vault-fix-tag-update.yml deleted file mode 100644 index 7ed9c45ca0b..00000000000 --- a/changelogs/fragments/20230612-backup_vault-fix-tag-update.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - backup_vault - fix error when updating tags on a backup vault by using the correct boto3 client methods for tagging and untagging backup resources (https://github.com/ansible-collections/amazon.aws/pull/1610). diff --git a/changelogs/fragments/20230627-ci-fixup.yml b/changelogs/fragments/20230627-ci-fixup.yml deleted file mode 100644 index 160eb26b459..00000000000 --- a/changelogs/fragments/20230627-ci-fixup.yml +++ /dev/null @@ -1,3 +0,0 @@ -trivial: -- CI fixup - ``include:`` should be ``include_tasks:``. -- CI fixup - YAML ``Null`` no longer matches any explicit parameter type requirements.