diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2d775eb5237..c92cc81ad76 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 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index dbbf4f9082c..da57d17d9c4 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -2578,3 +2578,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 774d279d691..00000000000 --- a/changelogs/fragments/1828-ec2_instance_additional_info.yml +++ /dev/null @@ -1,2 +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 10de3bec3a4..00000000000 --- a/changelogs/fragments/1843-ec2_eip.yml +++ /dev/null @@ -1,2 +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 937dd26ade1..00000000000 --- a/changelogs/fragments/1843-ec2_security_group-tags.yml +++ /dev/null @@ -1,2 +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 247effda99e..00000000000 --- a/changelogs/fragments/1843-ec2_vpc_igw.yml +++ /dev/null @@ -1,2 +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 431ba4ea55f..00000000000 --- a/changelogs/fragments/1843-ec2_vpc_route_table.yml +++ /dev/null @@ -1,2 +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 2fce4878c19..00000000000 --- a/changelogs/fragments/1843-ec2_vpc_subnet.yml +++ /dev/null @@ -1,4 +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/1847-s3_object-fix-false-deprecation-warning.yml b/changelogs/fragments/1847-s3_object-fix-false-deprecation-warning.yml deleted file mode 100644 index f00b5026d16..00000000000 --- a/changelogs/fragments/1847-s3_object-fix-false-deprecation-warning.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - s3_object - Fix typo that caused false deprecation warning when setting `overwrite=latest` (https://github.com/ansible-collections/amazon.aws/pull/1847). 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 eeaf5636819..00000000000 --- a/changelogs/fragments/1848-ec2_vpc_subnet-wait-creation.yml +++ /dev/null @@ -1,4 +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 6051a344d5e..00000000000 --- a/changelogs/fragments/1881-allow-s3_object-to-specify-content-type-in-metadata.yml +++ /dev/null @@ -1,3 +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 44c4a3379fe..00000000000 --- a/changelogs/fragments/20231110-sanity.yml +++ /dev/null @@ -1,4 +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 e17f68adc15..00000000000 --- a/changelogs/fragments/20231130-iam_group.yml +++ /dev/null @@ -1,4 +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). diff --git a/galaxy.yml b/galaxy.yml index 21058635947..b39d6832ee0 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: amazon name: aws -version: 7.0.0 +version: 7.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 f3e21ed4d12..2bddbc46382 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 = "7.0.0" +AMAZON_AWS_COLLECTION_VERSION = "7.1.0" _collection_info_context = {