From e6e7ac04e61297a59dd9370509f4137eb30486ac Mon Sep 17 00:00:00 2001 From: Alina Buzachis Date: Wed, 6 Dec 2023 00:16:47 +0100 Subject: [PATCH] Prep amazon.aws 7.1.0 (#1904) Prep amazon.aws 7.1.0 SUMMARY Prep amazon.aws 7.1.0 ISSUE TYPE Feature Pull Request COMPONENT NAME several Reviewed-by: Mark Chappell Reviewed-by: Helen Bailey Reviewed-by: Mike Graves Reviewed-by: GomathiselviS --- CHANGELOG.rst | 35 ++++++++++++- changelogs/changelog.yaml | 50 ++++++++++++++++++- .../1828-ec2_instance_additional_info.yml | 3 -- changelogs/fragments/1843-ec2_eip.yml | 3 -- .../1843-ec2_security_group-tags.yml | 3 -- changelogs/fragments/1843-ec2_vpc_igw.yml | 3 -- .../fragments/1843-ec2_vpc_route_table.yml | 3 -- changelogs/fragments/1843-ec2_vpc_subnet.yml | 5 -- .../1848-ec2_vpc_subnet-wait-creation.yml | 5 -- ...ct-to-specify-content-type-in-metadata.yml | 4 -- changelogs/fragments/20231110-sanity.yml | 5 -- changelogs/fragments/20231130-iam_group.yml | 5 -- 12 files changed, 83 insertions(+), 41 deletions(-) delete mode 100644 changelogs/fragments/1828-ec2_instance_additional_info.yml delete mode 100644 changelogs/fragments/1843-ec2_eip.yml delete mode 100644 changelogs/fragments/1843-ec2_security_group-tags.yml delete mode 100644 changelogs/fragments/1843-ec2_vpc_igw.yml delete mode 100644 changelogs/fragments/1843-ec2_vpc_route_table.yml delete mode 100644 changelogs/fragments/1843-ec2_vpc_subnet.yml delete mode 100644 changelogs/fragments/1848-ec2_vpc_subnet-wait-creation.yml delete mode 100644 changelogs/fragments/1881-allow-s3_object-to-specify-content-type-in-metadata.yml delete mode 100644 changelogs/fragments/20231110-sanity.yml delete mode 100644 changelogs/fragments/20231130-iam_group.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 589becef7b3..120689f0123 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,39 @@ amazon.aws Release Notes .. contents:: Topics +v7.1.0 +====== + +Release Summary +--------------- + +This release brings some new features and several bugfixes. + +Minor Changes +------------- + +- autoscaling_group - minor PEP8 whitespace sanity fixes (https://github.com/ansible-collections/amazon.aws/pull/1846). +- ec2_ami_info - simplify parameters to ``get_image_attribute`` to only pass ID of image (https://github.com/ansible-collections/amazon.aws/pull/1846). +- ec2_eip - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) +- ec2_security_group - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/pull/1844) +- ec2_vpc_igw - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) +- ec2_vpc_route_table - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) +- ec2_vpc_subnet - the default value for ``tags`` has been changed from ``{}`` to ``None``, to remove tags from a subnet an empty map must be explicitly passed to the module (https://github.com/ansible-collections/amazon.aws/pull/1876). +- ec2_vpc_subnet - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) +- ec2_vpc_subnet - use ``wait_timeout`` to also control maximum time to wait for initial creation of subnets (https://github.com/ansible-collections/amazon.aws/pull/1848). +- iam_group - add support for setting group path (https://github.com/ansible-collections/amazon.aws/pull/1892). +- iam_group - adds attached_policies return value (https://github.com/ansible-collections/amazon.aws/pull/1892). +- iam_group - code refactored to avoid single long function (https://github.com/ansible-collections/amazon.aws/pull/1892). +- ec2_instance - add support for AdditionalInfo option when creating an instance (https://github.com/ansible-collections/amazon.aws/pull/1828). +- rds_instance_snapshot - minor PEP8 whitespace sanity fixes (https://github.com/ansible-collections/amazon.aws/pull/1846). + +Bugfixes +-------- + +- ec2_vpc_subnet - cleanly handle failure when subnet isn't created in time (https://github.com/ansible-collections/amazon.aws/pull/1848). +- s3_object - Fix typo that caused false deprecation warning when setting ``overwrite=latest`` (https://github.com/ansible-collections/amazon.aws/pull/1847). +- s3_object - when doing a put and specifying ``Content-Type`` in metadata, this module (since 6.0.0) erroneously set the ``Content-Type`` to ``None`` causing the put to fail. Fix now correctly honours the specified ``Content-Type`` (https://github.com/ansible-collections/amazon.aws/issues/1881). + v7.0.0 ====== @@ -100,7 +133,7 @@ Bugfixes - ec2_instance - retry API call if we get ``InvalidInstanceID.NotFound`` error (https://github.com/ansible-collections/amazon.aws/pull/1650). - ec2_vpc_subnet - cleanly handle failure when subnet isn't created in time (https://github.com/ansible-collections/amazon.aws/pull/1848). -- s3_object - Fix typo that caused false deprecation warning when setting `overwrite=latest` (https://github.com/ansible-collections/amazon.aws/pull/1847). +- s3_object - Fix typo that caused false deprecation warning when setting ``overwrite=latest`` (https://github.com/ansible-collections/amazon.aws/pull/1847). - s3_object - fixed ``NoSuchTagSet`` error when S3 endpoint doesn't support tags (https://github.com/ansible-collections/amazon.aws/issues/1607). - s3_object - when doing a put and specifying ``Content-Type`` in metadata, this module (since 6.0.0) erroneously set the ``Content-Type`` to ``None`` causing the put to fail. Fix now correctly honours the specified ``Content-Type`` (https://github.com/ansible-collections/amazon.aws/issues/1881). diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 0a4f472bb6a..3449689255f 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -2429,7 +2429,7 @@ releases: (https://github.com/ansible-collections/amazon.aws/pull/1650). - ec2_vpc_subnet - cleanly handle failure when subnet isn't created in time (https://github.com/ansible-collections/amazon.aws/pull/1848). - - s3_object - Fix typo that caused false deprecation warning when setting `overwrite=latest` + - s3_object - Fix typo that caused false deprecation warning when setting ``overwrite=latest``` (https://github.com/ansible-collections/amazon.aws/pull/1847). - s3_object - fixed ``NoSuchTagSet`` error when S3 endpoint doesn't support tags (https://github.com/ansible-collections/amazon.aws/issues/1607). @@ -2606,3 +2606,51 @@ releases: name: rds_global_cluster_info namespace: '' release_date: '2023-11-02' + 7.1.0: + changes: + bugfixes: + - ec2_vpc_subnet - cleanly handle failure when subnet isn't created in time + (https://github.com/ansible-collections/amazon.aws/pull/1848). + - s3_object - Fix typo that caused false deprecation warning when setting ``overwrite=latest``` + (https://github.com/ansible-collections/amazon.aws/pull/1847). + - s3_object - when doing a put and specifying ``Content-Type`` in metadata, + this module (since 6.0.0) erroneously set the ``Content-Type`` to ``None`` + causing the put to fail. Fix now correctly honours the specified ``Content-Type`` + (https://github.com/ansible-collections/amazon.aws/issues/1881). + minor_changes: + - autoscaling_group - minor PEP8 whitespace sanity fixes (https://github.com/ansible-collections/amazon.aws/pull/1846). + - ec2_ami_info - simplify parameters to ``get_image_attribute`` to only pass + ID of image (https://github.com/ansible-collections/amazon.aws/pull/1846). + - ec2_eip - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) + - ec2_security_group - use ``ResourceTags`` to set initial tags upon creation + (https://github.com/ansible-collections/amazon.aws/pull/1844) + - ec2_vpc_igw - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) + - ec2_vpc_route_table - use ``ResourceTags`` to set initial tags upon creation + (https://github.com/ansible-collections/amazon.aws/issues/1843) + - ec2_vpc_subnet - the default value for ``tags`` has been changed from ``{}`` + to ``None``, to remove tags from a subnet an empty map must be explicitly + passed to the module (https://github.com/ansible-collections/amazon.aws/pull/1876). + - ec2_vpc_subnet - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) + - ec2_vpc_subnet - use ``wait_timeout`` to also control maximum time to wait + for initial creation of subnets (https://github.com/ansible-collections/amazon.aws/pull/1848). + - iam_group - add support for setting group path (https://github.com/ansible-collections/amazon.aws/pull/1892). + - iam_group - adds attached_policies return value (https://github.com/ansible-collections/amazon.aws/pull/1892). + - iam_group - code refactored to avoid single long function (https://github.com/ansible-collections/amazon.aws/pull/1892). + - ec2_instance - add support for AdditionalInfo option when creating + an instance (https://github.com/ansible-collections/amazon.aws/pull/1828). + - rds_instance_snapshot - minor PEP8 whitespace sanity fixes (https://github.com/ansible-collections/amazon.aws/pull/1846). + release_summary: This release brings some new features and several bugfixes. + fragments: + - 1828-ec2_instance_additional_info.yml + - 1843-ec2_eip.yml + - 1843-ec2_security_group-tags.yml + - 1843-ec2_vpc_igw.yml + - 1843-ec2_vpc_route_table.yml + - 1843-ec2_vpc_subnet.yml + - 1847-s3_object-fix-false-deprecation-warning.yml + - 1848-ec2_vpc_subnet-wait-creation.yml + - 1881-allow-s3_object-to-specify-content-type-in-metadata.yml + - 20231110-sanity.yml + - 20231130-iam_group.yml + - release_summary.yml + release_date: '2023-12-05' diff --git a/changelogs/fragments/1828-ec2_instance_additional_info.yml b/changelogs/fragments/1828-ec2_instance_additional_info.yml deleted file mode 100644 index b7ed7740632..00000000000 --- a/changelogs/fragments/1828-ec2_instance_additional_info.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - modules/ec2_instance - add support for AdditionalInfo option when creating an instance (https://github.com/ansible-collections/amazon.aws/pull/1828). diff --git a/changelogs/fragments/1843-ec2_eip.yml b/changelogs/fragments/1843-ec2_eip.yml deleted file mode 100644 index 7a4fdedfb44..00000000000 --- a/changelogs/fragments/1843-ec2_eip.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - ec2_eip - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) diff --git a/changelogs/fragments/1843-ec2_security_group-tags.yml b/changelogs/fragments/1843-ec2_security_group-tags.yml deleted file mode 100644 index 15508d34db7..00000000000 --- a/changelogs/fragments/1843-ec2_security_group-tags.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - ec2_security_group - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/pull/1844) diff --git a/changelogs/fragments/1843-ec2_vpc_igw.yml b/changelogs/fragments/1843-ec2_vpc_igw.yml deleted file mode 100644 index 0175d87247c..00000000000 --- a/changelogs/fragments/1843-ec2_vpc_igw.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - ec2_vpc_igw - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) diff --git a/changelogs/fragments/1843-ec2_vpc_route_table.yml b/changelogs/fragments/1843-ec2_vpc_route_table.yml deleted file mode 100644 index 485793b2020..00000000000 --- a/changelogs/fragments/1843-ec2_vpc_route_table.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - ec2_vpc_route_table - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) diff --git a/changelogs/fragments/1843-ec2_vpc_subnet.yml b/changelogs/fragments/1843-ec2_vpc_subnet.yml deleted file mode 100644 index 1b3b2a59faa..00000000000 --- a/changelogs/fragments/1843-ec2_vpc_subnet.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -minor_changes: - - ec2_vpc_subnet - use ``ResourceTags`` to set initial tags upon creation (https://github.com/ansible-collections/amazon.aws/issues/1843) - - ec2_vpc_subnet - the default value for ``tags`` has been changed from ``{}`` to ``None``, to remove tags from a subnet an empty map must be explicitly passed - to the module (https://github.com/ansible-collections/amazon.aws/pull/1876). diff --git a/changelogs/fragments/1848-ec2_vpc_subnet-wait-creation.yml b/changelogs/fragments/1848-ec2_vpc_subnet-wait-creation.yml deleted file mode 100644 index 69a23f5eb77..00000000000 --- a/changelogs/fragments/1848-ec2_vpc_subnet-wait-creation.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -bugfixes: - - ec2_vpc_subnet - cleanly handle failure when subnet isn't created in time (https://github.com/ansible-collections/amazon.aws/pull/1848). -minor_changes: - - ec2_vpc_subnet - use ``wait_timeout`` to also control maximum time to wait for initial creation of subnets (https://github.com/ansible-collections/amazon.aws/pull/1848). diff --git a/changelogs/fragments/1881-allow-s3_object-to-specify-content-type-in-metadata.yml b/changelogs/fragments/1881-allow-s3_object-to-specify-content-type-in-metadata.yml deleted file mode 100644 index 0a2a50d32ad..00000000000 --- a/changelogs/fragments/1881-allow-s3_object-to-specify-content-type-in-metadata.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - s3_object - when doing a put and specifying ``Content-Type`` in metadata, this module (since 6.0.0) erroneously set the ``Content-Type`` to ``None`` causing the - put to fail. Fix now correctly honours the specified ``Content-Type`` (https://github.com/ansible-collections/amazon.aws/issues/1881). diff --git a/changelogs/fragments/20231110-sanity.yml b/changelogs/fragments/20231110-sanity.yml deleted file mode 100644 index d87cc656202..00000000000 --- a/changelogs/fragments/20231110-sanity.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -minor_changes: - - autoscaling_group - minor PEP8 whitespace sanity fixes (https://github.com/ansible-collections/amazon.aws/pull/1846). - - rds_instance_snapshot - minor PEP8 whitespace sanity fixes (https://github.com/ansible-collections/amazon.aws/pull/1846). - - ec2_ami_info - simplify parameters to ``get_image_attribute`` to only pass ID of image (https://github.com/ansible-collections/amazon.aws/pull/1846). diff --git a/changelogs/fragments/20231130-iam_group.yml b/changelogs/fragments/20231130-iam_group.yml deleted file mode 100644 index c68ece9f37b..00000000000 --- a/changelogs/fragments/20231130-iam_group.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -minor_changes: - - iam_group - add support for setting group path (https://github.com/ansible-collections/amazon.aws/pull/1892). - - iam_group - adds attached_policies return value (https://github.com/ansible-collections/amazon.aws/pull/1892). - - iam_group - code refactored to avoid single long function (https://github.com/ansible-collections/amazon.aws/pull/1892).