diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7b6e75823c6..9c7ae6758cb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,62 @@ amazon.aws Release Notes .. contents:: Topics +======= +v5.3.0 +====== + +Release Summary +--------------- + +This release brings some minor changes, bugfixes, and deprecated features. + +Minor Changes +------------- + +- ec2_instance - more consistently return ``instances`` information (https://github.com/ansible-collections/amazon.aws/pull/964). +- ec2_instance - remove unused import (https://github.com/ansible-collections/amazon.aws/pull/1350). +- ec2_key - Add unit-tests coverage (https://github.com/ansible-collections/amazon.aws/pull/1288). +- ec2_vpc_nat_gateway - ensure allocation_id is defined before potential access (https://github.com/ansible-collections/amazon.aws/pull/1350). +- route53_zone - added support for associating multiple VPCs to route53 hosted zones (https://github.com/ansible-collections/amazon.aws/pull/1300). +- s3_bucket - add option to support creation of buckets with object lock enabled (https://github.com/ansible-collections/amazon.aws/pull/1372). + +Deprecated Features +------------------- + +- support for passing both profile and security tokens through a mix of environment variables and parameters has been deprecated and support will be removed in release 6.0.0. After release 6.0.0 it will only be possible to pass either a profile or security tokens, regardless of mechanism used to pass them. To explicitly block a parameter coming from an environment variable pass an empty string as the parameter value. Support for passing profile and security tokens together was originally deprecated in release 1.2.0, however only partially implemented in release 5.0.0 (https://github.com/ansible-collections/amazon.aws/pull/1355). + +Bugfixes +-------- + +- cloudtrail - support to disabling encryption using ``kms_key_id`` (https://github.com/ansible-collections/amazon.aws/pull/1384). +- ec2_key - fix issue when trying to update existing key pair with the same key material (https://github.com/ansible-collections/amazon.aws/pull/1383). +- module_utils/elbv2 - fix change detection by adding default values for ``Scope`` and ``SessionTimeout`` parameters in ``authenticate-oidc`` rules (https://github.com/ansible-collections/amazon.aws/pull/1270). +- module_utils/elbv2 - respect ``UseExistingClientSecret`` parameter in ``authenticate-oidc`` rules (https://github.com/ansible-collections/amazon.aws/pull/1270). +- revert breaking change introduced in 5.2.0 when passing credentials through a mix of environment variables and parameters (https://github.com/ansible-collections/amazon.aws/issues/1353). +- s3_bucket - empty bucket policy was throwing a JSONDecodeError - deal with it gracefully instead (https://github.com/ansible-collections/amazon.aws/pull/1368) + +v5.2.0 +====== + +Release Summary +--------------- + +A minor release containing bugfixes for the ``ec2_eni_info`` module and the ``aws_rds`` inventory plugin, as well as improvements to the ``rds_instance`` module. + + +Minor Changes +------------- + +- amazon.aws collection - refacterization of code to use argument specification ``fallback`` when falling back to environment variables for security credentials and AWS connection details (https://github.com/ansible-collections/amazon.aws/pull/1174). +- rds_instance - Split up the integration test-suite in a series of smaller tests (https://github.com/ansible-collections/amazon.aws/pull/1185). +- rds_instance - add support for gp3 storage type (https://github.com/ansible-collections/amazon.aws/pull/1266). + +Bugfixes +-------- + +- aws_rds - fixes bug in RDS inventory plugin where config file was ignored (https://github.com/ansible-collections/amazon.aws/issues/1304). +- lambda - fix flaky integration test which assumes there are no other lambdas in the account (https://github.com/ansible-collections/amazon.aws/issues/1277) + v5.1.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 75e4bcac8e3..d1db2aa90ae 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1556,3 +1556,90 @@ releases: - version_added-5.yml - workflows-add-intersphinx.yml release_date: '2022-10-28' + 5.2.0: + changes: + bugfixes: + - aws_rds - fixes bug in RDS inventory plugin where config file was ignored + (https://github.com/ansible-collections/amazon.aws/issues/1304). + - lambda - fix flaky integration test which assumes there are no other lambdas + in the account (https://github.com/ansible-collections/amazon.aws/issues/1277) + minor_changes: + - amazon.aws collection - refacterization of code to use argument specification + ``fallback`` when falling back to environment variables for security credentials + and AWS connection details (https://github.com/ansible-collections/amazon.aws/pull/1174). + - rds_instance - Split up the integration test-suite in a series of smaller + tests (https://github.com/ansible-collections/amazon.aws/pull/1185). + - rds_instance - add support for gp3 storage type (https://github.com/ansible-collections/amazon.aws/pull/1266). + release_summary: 'A minor release containing bugfixes for the ``ec2_eni_info`` + module and the ``aws_rds`` inventory plugin, as well as improvements to the + ``rds_instance`` module. + + ' + fragments: + - 1174-module_params.yml + - 1266-rds_instance_gp3_support.yaml + - 1277-lambda-int-test-other-lambdas.yml + - 1283-aws_ec2_inventory_compose_doc_examples.yml + - 1304-aws_rds-config.yml + - 20230103-sanity-ec2_eni_info.yml + - 20230106-ec2_vol.yml + - integration_tests_max_duration_increase.yaml + - rds_instance_split_the_integration_test-suite.yaml + - rds_mariadb_version-10.6.10.yml + - release.yml + release_date: '2023-01-24' + 5.3.0: + changes: + bugfixes: + - "cloudtrail - support to disabling encryption using ``kms_key_id`` + (https://github.com/ansible-collections/amazon.aws/pull/1384)." + - ec2_key - fix issue when trying to update existing key pair with the same + key material (https://github.com/ansible-collections/amazon.aws/pull/1383). + - module_utils/elbv2 - fix change detection by adding default values for ``Scope`` + and ``SessionTimeout`` parameters in ``authenticate-oidc`` rules (https://github.com/ansible-collections/amazon.aws/pull/1270). + - module_utils/elbv2 - respect ``UseExistingClientSecret`` parameter in ``authenticate-oidc`` + rules (https://github.com/ansible-collections/amazon.aws/pull/1270). + - revert breaking change introduced in 5.2.0 when passing credentials through + a mix of environment variables and parameters (https://github.com/ansible-collections/amazon.aws/issues/1353). + - s3_bucket - empty bucket policy was throwing a JSONDecodeError - deal with + it gracefully instead (https://github.com/ansible-collections/amazon.aws/pull/1368) + deprecated_features: + - support for passing both profile and security tokens through a mix of environment + variables and parameters has been deprecated and support will be removed in + release 6.0.0. After release 6.0.0 it will only be possible to pass either + a profile or security tokens, regardless of mechanism used to pass them. To + explicitly block a parameter coming from an environment variable pass an empty + string as the parameter value. Support for passing profile and security + tokens together was originally deprecated in release 1.2.0, however only partially + implemented in release 5.0.0 (https://github.com/ansible-collections/amazon.aws/pull/1355). + minor_changes: + - ec2_instance - more consistently return ``instances`` information (https://github.com/ansible-collections/amazon.aws/pull/964). + - ec2_instance - remove unused import (https://github.com/ansible-collections/amazon.aws/pull/1350). + - ec2_key - Add unit-tests coverage (https://github.com/ansible-collections/amazon.aws/pull/1288). + - ec2_vpc_nat_gateway - ensure allocation_id is defined before potential access + (https://github.com/ansible-collections/amazon.aws/pull/1350). + - route53_zone - added support for associating multiple VPCs to route53 hosted + zones (https://github.com/ansible-collections/amazon.aws/pull/1300). + - s3_bucket - add option to support creation of buckets with object lock enabled + (https://github.com/ansible-collections/amazon.aws/pull/1372). + release_summary: This release brings some minor changes, bugfixes, and deprecated + features. + fragments: + - 1226-defaults.yml + - 1270-elbv2-fixes.yml + - 1299-route53_zone-multi-vpc.yml + - 1347-s3-object-lock-enabled.yml + - 1353-revert-env-fallback.yml + - 1357-subnet-example.yml + - 1368-empty_bucket_policy.yml + - 1383-ec2_key-fix-idempotency-issue-when-creating-existing-key-with-same-key-material.yaml + - 1384-cloudtrail-disable_encryption.yml + - 1395-s3-encryption.yml + - 1400-typo.yml + - 20230204-sanity.yml + - 20230220-inventory_docs_ec2_aws.yml + - 389-ssm_parameter-versioned_test.yml + - 964-ec2_instance-return-instances.yml + - release_summary.yml + - unit-tests_test_ec2_key_only.yaml + release_date: '2023-03-05' diff --git a/changelogs/fragments/1226-defaults.yml b/changelogs/fragments/1226-defaults.yml deleted file mode 100644 index 2c842e93362..00000000000 --- a/changelogs/fragments/1226-defaults.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - "Fixed ``default`` values in various modules so that documentation and argument spec coincide (https://github.com/ansible-collections/amazon.aws/pull/1226)." diff --git a/changelogs/fragments/1270-elbv2-fixes.yml b/changelogs/fragments/1270-elbv2-fixes.yml deleted file mode 100644 index 5da7d386699..00000000000 --- a/changelogs/fragments/1270-elbv2-fixes.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - module_utils/elbv2 - respect ``UseExistingClientSecret`` parameter in ``authenticate-oidc`` rules (https://github.com/ansible-collections/amazon.aws/pull/1270). - - module_utils/elbv2 - fix change detection by adding default values for ``Scope`` and ``SessionTimeout`` parameters in ``authenticate-oidc`` rules (https://github.com/ansible-collections/amazon.aws/pull/1270). \ No newline at end of file diff --git a/changelogs/fragments/1299-route53_zone-multi-vpc.yml b/changelogs/fragments/1299-route53_zone-multi-vpc.yml deleted file mode 100644 index bfd2926839c..00000000000 --- a/changelogs/fragments/1299-route53_zone-multi-vpc.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- route53_zone - added support for associating multiple VPCs to route53 hosted zones (https://github.com/ansible-collections/amazon.aws/pull/1300). diff --git a/changelogs/fragments/1347-s3-object-lock-enabled.yml b/changelogs/fragments/1347-s3-object-lock-enabled.yml deleted file mode 100644 index bfbd50ce662..00000000000 --- a/changelogs/fragments/1347-s3-object-lock-enabled.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- s3_bucket - add option to support creation of buckets with object lock enabled (https://github.com/ansible-collections/amazon.aws/pull/1372). diff --git a/changelogs/fragments/1357-subnet-example.yml b/changelogs/fragments/1357-subnet-example.yml deleted file mode 100644 index 90fa8dc6bbf..00000000000 --- a/changelogs/fragments/1357-subnet-example.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- ec2_vpc_subnet_info - fix example (https://github.com/ansible-collections/amazon.aws/pull/1357). diff --git a/changelogs/fragments/1368-empty_bucket_policy.yml b/changelogs/fragments/1368-empty_bucket_policy.yml deleted file mode 100644 index bf2c618a399..00000000000 --- a/changelogs/fragments/1368-empty_bucket_policy.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- s3_bucket - empty bucket policy was throwing a JSONDecodeError - deal with it gracefully instead (https://github.com/ansible-collections/amazon.aws/pull/1368) diff --git a/changelogs/fragments/1383-ec2_key-fix-idempotency-issue-when-creating-existing-key-with-same-key-material.yaml b/changelogs/fragments/1383-ec2_key-fix-idempotency-issue-when-creating-existing-key-with-same-key-material.yaml deleted file mode 100644 index db0223063de..00000000000 --- a/changelogs/fragments/1383-ec2_key-fix-idempotency-issue-when-creating-existing-key-with-same-key-material.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - ec2_key - fix issue when trying to update existing key pair with the same key material (https://github.com/ansible-collections/amazon.aws/pull/1383). diff --git a/changelogs/fragments/1384-cloudtrail-disable_encryption.yml b/changelogs/fragments/1384-cloudtrail-disable_encryption.yml deleted file mode 100644 index f493df8feda..00000000000 --- a/changelogs/fragments/1384-cloudtrail-disable_encryption.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- cloudtrail - support to disabling encryption using ´´kms_key_id´´ (https://github.com/ansible-collections/amazon.aws/pull/1384). diff --git a/changelogs/fragments/1395-s3-encryption.yml b/changelogs/fragments/1395-s3-encryption.yml deleted file mode 100644 index 3e6c2ea6e13..00000000000 --- a/changelogs/fragments/1395-s3-encryption.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- s3_bucket - disabled tests related to disabling encryption on S3 buckets, this is no longer supported by AWS, and encryption is enabled by default (https://github.com/ansible-collections/amazon.aws/pull/1395). diff --git a/changelogs/fragments/1400-typo.yml b/changelogs/fragments/1400-typo.yml deleted file mode 100644 index 012c43086a2..00000000000 --- a/changelogs/fragments/1400-typo.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - "Fix 'compatibility' typo (https://github.com/ansible-collections/amazon.aws/pull/1400)." diff --git a/changelogs/fragments/20230204-sanity.yml b/changelogs/fragments/20230204-sanity.yml deleted file mode 100644 index 6c58472edea..00000000000 --- a/changelogs/fragments/20230204-sanity.yml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: -- ec2_instance - remove unused import (https://github.com/ansible-collections/amazon.aws/pull/1350). -- ec2_vpc_nat_gateway - ensure allocation_id is defined before potential access (https://github.com/ansible-collections/amazon.aws/pull/1350). -- lambda_layer - raise ``LambdaLayerFailure`` rather than just creating it (https://github.com/ansible-collections/amazon.aws/pull/1350). diff --git a/changelogs/fragments/20230220-inventory_docs_ec2_aws.yml b/changelogs/fragments/20230220-inventory_docs_ec2_aws.yml deleted file mode 100644 index cb1b99b9269..00000000000 --- a/changelogs/fragments/20230220-inventory_docs_ec2_aws.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- inventory:aws_ec2 - update docs. Add full path to the awx_ec2 inv example and update description to add a file name example. \ No newline at end of file diff --git a/changelogs/fragments/389-ssm_parameter-versioned_test.yml b/changelogs/fragments/389-ssm_parameter-versioned_test.yml deleted file mode 100644 index 8e31ccc0559..00000000000 --- a/changelogs/fragments/389-ssm_parameter-versioned_test.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- ssm_parameter - Added an integration test to avoid regression of https://github.com/ansible-collections/amazon.aws/issues/389. diff --git a/changelogs/fragments/964-ec2_instance-return-instances.yml b/changelogs/fragments/964-ec2_instance-return-instances.yml deleted file mode 100644 index 045d03202a3..00000000000 --- a/changelogs/fragments/964-ec2_instance-return-instances.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- ec2_instance - more consistently return ``instances`` information (https://github.com/ansible-collections/amazon.aws/pull/964). diff --git a/changelogs/fragments/unit-tests_test_ec2_key_only.yaml b/changelogs/fragments/unit-tests_test_ec2_key_only.yaml deleted file mode 100644 index fa0ee89e8f4..00000000000 --- a/changelogs/fragments/unit-tests_test_ec2_key_only.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- "ec2_key - Add unit-tests coverage (https://github.com/ansible-collections/amazon.aws/pull/1288)."