From 3cf10c0240fddf12fa4e8b74ae488d9b3004961a Mon Sep 17 00:00:00 2001 From: Alina Buzachis Date: Thu, 27 Oct 2022 16:48:42 +0200 Subject: [PATCH 1/2] Prep 5.1.0 release Signed-off-by: Alina Buzachis --- CHANGELOG.rst | 53 +++++++++ changelogs/changelog.yaml | 108 ++++++++++++++++++ .../1148-build_run_instance_spec.yml | 7 -- ...2_instance-fix-instance-creation-in-az.yml | 2 - .../fragments/1152-missing-botocore.yml | 6 - .../fragments/1163-map_complex_type.yml | 2 - .../fragments/1172-credentials_parameters.yml | 57 --------- changelogs/fragments/20221010-test-times.yml | 4 - .../20221021-ec2_instance-tower_callback.yml | 5 - .../fragments/20221026-pytest-forked.yml | 2 - .../20221027-ec2_security_group-nested.yml | 4 - .../fragments/DEPRECATE-module_utils-urls.yml | 2 - changelogs/fragments/version_added-5.yml | 3 - .../fragments/workflows-add-intersphinx.yml | 2 - galaxy.yml | 2 +- 15 files changed, 162 insertions(+), 97 deletions(-) delete mode 100644 changelogs/fragments/1148-build_run_instance_spec.yml delete mode 100644 changelogs/fragments/1150-ec2_instance-fix-instance-creation-in-az.yml delete mode 100644 changelogs/fragments/1152-missing-botocore.yml delete mode 100644 changelogs/fragments/1163-map_complex_type.yml delete mode 100644 changelogs/fragments/1172-credentials_parameters.yml delete mode 100644 changelogs/fragments/20221010-test-times.yml delete mode 100644 changelogs/fragments/20221021-ec2_instance-tower_callback.yml delete mode 100644 changelogs/fragments/20221026-pytest-forked.yml delete mode 100644 changelogs/fragments/20221027-ec2_security_group-nested.yml delete mode 100644 changelogs/fragments/DEPRECATE-module_utils-urls.yml delete mode 100644 changelogs/fragments/version_added-5.yml delete mode 100644 changelogs/fragments/workflows-add-intersphinx.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7fc5dee3fd1..c0cf91a522c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,59 @@ amazon.aws Release Notes .. contents:: Topics +v5.1.0 +====== + +Release Summary +--------------- + +This release brings some minor changes, bugfixes, security fixes and deprecated features. + +Minor Changes +------------- + +- amazon.aws collection - The ``aws_access_key`` parameter has been renamed to ``access_key``, ``access_key`` was previously an alias for this parameter and ``aws_access_key`` remains as an alias. This change should have no observable effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - The ``aws_secret_key`` parameter has been renamed to ``secret_key``, ``secret_key`` was previously an alias for this parameter and ``aws_secret_key`` remains as an alias. This change should have no observable effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - The ``security_token`` parameter has been renamed to ``session_token``, ``security_token`` was previously an alias for this parameter and ``security_token`` remains as an alias. This change should have no observable effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172). +- aws_account_attribute lookup plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). +- aws_ec2 inventory plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). +- aws_rds inventory plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). +- aws_secret lookup plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). +- aws_ssm lookup plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). +- ec2_instance - minor fix for launching an instance in specified AZ when ``vpc_subnet_id`` is not provided (https://github.com/ansible-collections/amazon.aws/pull/1150). +- ec2_instance - refacter ``tower_callback`` code to handle parameter validation as part of the argument specification (https://github.com/ansible-collections/amazon.aws/pull/1199). +- ec2_instance - the ``instance_role`` parameter has been renamed to ``iam_instance_profile`` to better reflect what it is, ``instance_role`` remains as an alias (https://github.com/ansible-collections/amazon.aws/pull/1151). +- ec2_instance - the ``tower_callback`` parameter has been renamed to ``aap_callback``, ``tower_callback`` remains as an alias. This change should have no observable effect for users outside the module documentation (https://github.com/ansible-collections/amazon.aws/pull/1199). + +Deprecated Features +------------------- + +- amazon.aws collection - Support for the ``EC2_ACCESS_KEY`` environment variable has been deprecated and will be removed in a release after 2024-12-01. Please use the ``access_key`` parameter or ``AWS_ACCESS_KEY_ID`` environment variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - Support for the ``EC2_REGION`` environment variable has been deprecated and will be removed in a release after 2024-12-01. Please use the ``region`` parameter or ``AWS_REGION`` environment variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - Support for the ``EC2_SECRET_KEY`` environment variable has been deprecated and will be removed in a release after 2024-12-01. Please use the ``secret_key`` parameter or ``AWS_SECRET_ACCESS_KEY`` environment variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - Support for the ``EC2_SECURITY_TOKEN`` environment variable has been deprecated and will be removed in a release after 2024-12-01. Please use the ``session_token`` parameter or ``AWS_SESSION_TOKEN`` environment variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - Support for the ``EC2_URL`` and ``S3_URL`` environment variables has been deprecated and will be removed in a release after 2024-12-01. Please use the ``endpoint_url`` parameter or ``AWS_ENDPOINT_URL`` environment variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - The ``access_token`` alias for the ``session_token`` parameter has been deprecated and will be removed in a release after 2024-12-01. Please use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - The ``access_token`` alias for the ``session_token`` parameter has been deprecated and will be removed in a release after 2024-12-01. Please use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - The ``aws_security_token`` alias for the ``session_token`` parameter has been deprecated and will be removed in a release after 2024-12-01. Please use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - The ``ec2_access_key`` alias for the ``access_key`` parameter has been deprecated and will be removed in a release after 2024-12-01. Please use the ``access_key`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - The ``ec2_region`` alias for the ``region`` parameter has been deprecated and will be removed in a release after 2024-12-01. Please use the ``region`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - The ``ec2_secret_key`` alias for the ``secret_key`` parameter has been deprecated and will be removed in a release after 2024-12-01. Please use the ``secret_key`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- amazon.aws collection - The ``security_token`` alias for the ``session_token`` parameter has been deprecated and will be removed in a release after 2024-12-01. Please use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). +- ec2_security_group - support for passing nested lists to ``cidr_ip`` and ``cidr_ipv6`` has been deprecated. Nested lists can be passed through the ``flatten`` filter instead ``cidr_ip: '{{ my_cidrs | flatten }}'`` (https://github.com/ansible-collections/amazon.aws/pull/1213). +- module_utils.url - ``ansible_collections.amazon.aws.module_utils.urls`` is believed to be unused and has been deprecated and will be removed in release 7.0.0. + +Security Fixes +-------------- + +- ec2_instance - fixes leak of password into logs when using ``tower_callback.windows=True`` and ``tower_callback.set_password`` (https://github.com/ansible-collections/amazon.aws/pull/1199). + +Bugfixes +-------- + +- ec2_instance - fixes ``Invalid type for parameter TagSpecifications, value None`` error when tags aren't specified (https://github.com/ansible-collections/amazon.aws/issues/1148). +- module_utils.transformations - ensure that ``map_complex_type`` still returns transformed items if items exists that are not in the type_map (https://github.com/ansible-collections/amazon.aws/pull/1163). + v5.0.2 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index b9f1853a260..aad34d46416 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1406,3 +1406,111 @@ releases: fragments: - 1134-ec2_metadata_facts-AttributeError.yml release_date: '2022-10-10' + 5.1.0: + changes: + bugfixes: + - ec2_instance - fixes ``Invalid type for parameter TagSpecifications, value + None`` error when tags aren't specified (https://github.com/ansible-collections/amazon.aws/issues/1148). + - module_utils.transformations - ensure that ``map_complex_type`` still returns + transformed items if items exists that are not in the type_map (https://github.com/ansible-collections/amazon.aws/pull/1163). + deprecated_features: + - amazon.aws collection - Support for the ``EC2_ACCESS_KEY`` environment variable + has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``access_key`` parameter or ``AWS_ACCESS_KEY_ID`` environment variable + instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - Support for the ``EC2_REGION`` environment variable + has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``region`` parameter or ``AWS_REGION`` environment variable instead + (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - Support for the ``EC2_SECRET_KEY`` environment variable + has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``secret_key`` parameter or ``AWS_SECRET_ACCESS_KEY`` environment + variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - Support for the ``EC2_SECURITY_TOKEN`` environment + variable has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``session_token`` parameter or ``AWS_SESSION_TOKEN`` environment variable + instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - Support for the ``EC2_URL`` and ``S3_URL`` environment + variables has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``endpoint_url`` parameter or ``AWS_ENDPOINT_URL`` environment variable + instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - The ``access_token`` alias for the ``session_token`` + parameter has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - The ``access_token`` alias for the ``session_token`` + parameter has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - The ``aws_security_token`` alias for the ``session_token`` + parameter has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - The ``ec2_access_key`` alias for the ``access_key`` + parameter has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``access_key`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - The ``ec2_region`` alias for the ``region`` parameter + has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``region`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - The ``ec2_secret_key`` alias for the ``secret_key`` + parameter has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``secret_key`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - The ``security_token`` alias for the ``session_token`` + parameter has been deprecated and will be removed in a release after 2024-12-01. Please + use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). + - 'ec2_security_group - support for passing nested lists to ``cidr_ip`` and + ``cidr_ipv6`` has been deprecated. Nested lists can be passed through the + ``flatten`` filter instead ``cidr_ip: ''{{ my_cidrs | flatten }}''`` (https://github.com/ansible-collections/amazon.aws/pull/1213).' + - module_utils.url - ``ansible_collections.amazon.aws.module_utils.urls`` is + believed to be unused and has been deprecated and will be removed in release + 7.0.0. + minor_changes: + - amazon.aws collection - The ``aws_access_key`` parameter has been renamed + to ``access_key``, ``access_key`` was previously an alias for this parameter + and ``aws_access_key`` remains as an alias. This change should have no observable + effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - The ``aws_secret_key`` parameter has been renamed + to ``secret_key``, ``secret_key`` was previously an alias for this parameter + and ``aws_secret_key`` remains as an alias. This change should have no observable + effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172). + - amazon.aws collection - The ``security_token`` parameter has been renamed + to ``session_token``, ``security_token`` was previously an alias for this + parameter and ``security_token`` remains as an alias. This change should + have no observable effect for users outside the module/plugin documentation. + (https://github.com/ansible-collections/amazon.aws/pull/1172). + - aws_account_attribute lookup plugin - use ``missing_required_lib`` for more + consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). + - aws_ec2 inventory plugin - use ``missing_required_lib`` for more consistent + error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). + - aws_rds inventory plugin - use ``missing_required_lib`` for more consistent + error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). + - aws_secret lookup plugin - use ``missing_required_lib`` for more consistent + error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). + - aws_ssm lookup plugin - use ``missing_required_lib`` for more consistent error + message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). + - ec2_instance - minor fix for launching an instance in specified AZ when ``vpc_subnet_id`` + is not provided (https://github.com/ansible-collections/amazon.aws/pull/1150). + - ec2_instance - refacter ``tower_callback`` code to handle parameter validation + as part of the argument specification (https://github.com/ansible-collections/amazon.aws/pull/1199). + - ec2_instance - the ``instance_role`` parameter has been renamed to ``iam_instance_profile`` + to better reflect what it is, ``instance_role`` remains as an alias (https://github.com/ansible-collections/amazon.aws/pull/1151). + - ec2_instance - the ``tower_callback`` parameter has been renamed to ``aap_callback``, + ``tower_callback`` remains as an alias. This change should have no observable + effect for users outside the module documentation (https://github.com/ansible-collections/amazon.aws/pull/1199). + release_summary: This release brings some minor changes, bugfixes, security + fixes and deprecated features. + security_fixes: + - ec2_instance - fixes leak of password into logs when using ``tower_callback.windows=True`` + and ``tower_callback.set_password`` (https://github.com/ansible-collections/amazon.aws/pull/1199). + fragments: + - 1148-build_run_instance_spec.yml + - 1150-ec2_instance-fix-instance-creation-in-az.yml + - 1152-missing-botocore.yml + - 1163-map_complex_type.yml + - 1172-credentials_parameters.yml + - 20221010-test-times.yml + - 20221021-ec2_instance-tower_callback.yml + - 20221026-pytest-forked.yml + - 20221027-ec2_security_group-nested.yml + - DEPRECATE-module_utils-urls.yml + - summary.yml + - version_added-5.yml + - workflows-add-intersphinx.yml + release_date: '2022-10-27' diff --git a/changelogs/fragments/1148-build_run_instance_spec.yml b/changelogs/fragments/1148-build_run_instance_spec.yml deleted file mode 100644 index 2e8a5f5db52..00000000000 --- a/changelogs/fragments/1148-build_run_instance_spec.yml +++ /dev/null @@ -1,7 +0,0 @@ -minor_changes: -- ec2_instance - the ``instance_role`` parameter has been renamed to ``iam_instance_profile`` to - better reflect what it is, ``instance_role`` remains as an alias - (https://github.com/ansible-collections/amazon.aws/pull/1151). -bugfixes: -- ec2_instance - fixes ``Invalid type for parameter TagSpecifications, value None`` error when - tags aren't specified (https://github.com/ansible-collections/amazon.aws/issues/1148). diff --git a/changelogs/fragments/1150-ec2_instance-fix-instance-creation-in-az.yml b/changelogs/fragments/1150-ec2_instance-fix-instance-creation-in-az.yml deleted file mode 100644 index 119d1b25209..00000000000 --- a/changelogs/fragments/1150-ec2_instance-fix-instance-creation-in-az.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- ec2_instance - minor fix for launching an instance in specified AZ when `vpc_subnet_id` is not provided (https://github.com/ansible-collections/amazon.aws/pull/1150). diff --git a/changelogs/fragments/1152-missing-botocore.yml b/changelogs/fragments/1152-missing-botocore.yml deleted file mode 100644 index 268805bde0c..00000000000 --- a/changelogs/fragments/1152-missing-botocore.yml +++ /dev/null @@ -1,6 +0,0 @@ -minor_changes: -- aws_ec2 inventory plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). -- aws_rds inventory plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). -- aws_account_attribute lookup plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). -- aws_secret lookup plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). -- aws_ssm lookup plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). diff --git a/changelogs/fragments/1163-map_complex_type.yml b/changelogs/fragments/1163-map_complex_type.yml deleted file mode 100644 index 6315b24128f..00000000000 --- a/changelogs/fragments/1163-map_complex_type.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- module_utils.transformations - ensure that ``map_complex_type`` still returns transformed items if items exists that are not in the type_map (https://github.com/ansible-collections/amazon.aws/pull/1163). diff --git a/changelogs/fragments/1172-credentials_parameters.yml b/changelogs/fragments/1172-credentials_parameters.yml deleted file mode 100644 index 1e7f573c916..00000000000 --- a/changelogs/fragments/1172-credentials_parameters.yml +++ /dev/null @@ -1,57 +0,0 @@ -minor_changes: -- amazon.aws collection - The ``aws_access_key`` parameter has been renamed to ``access_key``, - ``access_key`` was previously an alias for this parameter and ``aws_access_key`` remains as an - alias. This change should have no observable effect for users outside the module/plugin documentation. - (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - The ``aws_secret_key`` parameter has been renamed to ``secret_key``, - ``secret_key`` was previously an alias for this parameter and ``aws_secret_key`` remains as an - alias. This change should have no observable effect for users outside the module/plugin documentation. - (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - The ``security_token`` parameter has been renamed to ``session_token``, - ``security_token`` was previously an alias for this parameter and ``security_token`` remains as an - alias. This change should have no observable effect for users outside the module/plugin documentation. - (https://github.com/ansible-collections/amazon.aws/pull/1172). - -deprecated_features: -- amazon.aws collection - The ``ec2_access_key`` alias for the ``access_key`` parameter has been - deprecated and will be removed in a release after 2024-12-01. Please use the ``access_key`` - name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - The ``ec2_secret_key`` alias for the ``secret_key`` parameter has been - deprecated and will be removed in a release after 2024-12-01. Please use the ``secret_key`` - name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - The ``access_token`` alias for the ``session_token`` parameter has been - deprecated and will be removed in a release after 2024-12-01. Please use the ``session_token`` - name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - The ``security_token`` alias for the ``session_token`` parameter has been - deprecated and will be removed in a release after 2024-12-01. Please use the ``session_token`` - name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - The ``aws_security_token`` alias for the ``session_token`` parameter has - been deprecated and will be removed in a release after 2024-12-01. Please use the - ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - The ``access_token`` alias for the ``session_token`` parameter has - been deprecated and will be removed in a release after 2024-12-01. Please use the - ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - The ``ec2_region`` alias for the ``region`` parameter has - been deprecated and will be removed in a release after 2024-12-01. Please use the - ``region`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172). - -- amazon.aws collection - Support for the ``EC2_URL`` and ``S3_URL`` environment variables has - been deprecated and will be removed in a release after 2024-12-01. Please use the - ``endpoint_url`` parameter or ``AWS_ENDPOINT_URL`` environment variable instead - (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - Support for the ``EC2_REGION`` environment variable has - been deprecated and will be removed in a release after 2024-12-01. Please use the - ``region`` parameter or ``AWS_REGION`` environment variable instead - (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - Support for the ``EC2_SECURITY_TOKEN`` environment variable has - been deprecated and will be removed in a release after 2024-12-01. Please use the - ``session_token`` parameter or ``AWS_SESSION_TOKEN`` environment variable instead - (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - Support for the ``EC2_SECRET_KEY`` environment variable has - been deprecated and will be removed in a release after 2024-12-01. Please use the - ``secret_key`` parameter or ``AWS_SECRET_ACCESS_KEY`` environment variable instead - (https://github.com/ansible-collections/amazon.aws/pull/1172). -- amazon.aws collection - Support for the ``EC2_ACCESS_KEY`` environment variable has - been deprecated and will be removed in a release after 2024-12-01. Please use the - ``access_key`` parameter or ``AWS_ACCESS_KEY_ID`` environment variable instead - (https://github.com/ansible-collections/amazon.aws/pull/1172). diff --git a/changelogs/fragments/20221010-test-times.yml b/changelogs/fragments/20221010-test-times.yml deleted file mode 100644 index 039fdb28182..00000000000 --- a/changelogs/fragments/20221010-test-times.yml +++ /dev/null @@ -1,4 +0,0 @@ -trivial: -- ec2_metadata_facts - enable ec2_metadata_facts integration tests. -- ec2_vol - add duration information to integration test metadata. -- ec2_vpc_route_table - add duration information to integration test metadata. diff --git a/changelogs/fragments/20221021-ec2_instance-tower_callback.yml b/changelogs/fragments/20221021-ec2_instance-tower_callback.yml deleted file mode 100644 index ae961144f29..00000000000 --- a/changelogs/fragments/20221021-ec2_instance-tower_callback.yml +++ /dev/null @@ -1,5 +0,0 @@ -minor_changes: -- ec2_instance - refacter ``tower_callback`` code to handle parameter validation as part of the argument specification (https://github.com/ansible-collections/amazon.aws/pull/1199). -- ec2_instance - the ``tower_callback`` parameter has been renamed to ``aap_callback``, ``tower_callback`` remains as an alias. This change should have no observable effect for users outside the module documentation (https://github.com/ansible-collections/amazon.aws/pull/1199). -security_fixes: -- ec2_instance - fixes leak of password into logs when using ``tower_callback.windows=True`` and ``tower_callback.set_password`` (https://github.com/ansible-collections/amazon.aws/pull/1199). diff --git a/changelogs/fragments/20221026-pytest-forked.yml b/changelogs/fragments/20221026-pytest-forked.yml deleted file mode 100644 index 50a918cab3d..00000000000 --- a/changelogs/fragments/20221026-pytest-forked.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- test-requirements - add pytest-forked to requirements for unit tests diff --git a/changelogs/fragments/20221027-ec2_security_group-nested.yml b/changelogs/fragments/20221027-ec2_security_group-nested.yml deleted file mode 100644 index 514e2d7878e..00000000000 --- a/changelogs/fragments/20221027-ec2_security_group-nested.yml +++ /dev/null @@ -1,4 +0,0 @@ -deprecated_features: -- > - ec2_security_group - support for passing nested lists to ``cidr_ip`` and ``cidr_ipv6`` has been deprecated. - Nested lists can be passed through the ``flatten`` filter instead ``cidr_ip: '{{ my_cidrs | flatten }}'`` (https://github.com/ansible-collections/amazon.aws/pull/1213). diff --git a/changelogs/fragments/DEPRECATE-module_utils-urls.yml b/changelogs/fragments/DEPRECATE-module_utils-urls.yml deleted file mode 100644 index 4cea0c1c43e..00000000000 --- a/changelogs/fragments/DEPRECATE-module_utils-urls.yml +++ /dev/null @@ -1,2 +0,0 @@ -deprecated_features: -- module_utils.url - ``ansible_collections.amazon.aws.module_utils.urls`` is believed to be unused and has been deprecated and will be removed in release 7.0.0. diff --git a/changelogs/fragments/version_added-5.yml b/changelogs/fragments/version_added-5.yml deleted file mode 100644 index 80b01e53d16..00000000000 --- a/changelogs/fragments/version_added-5.yml +++ /dev/null @@ -1,3 +0,0 @@ -trivial: -- various modules - bumped module ``version_added`` to match when they were added to the amazon.aws collection -- various modules - added ``version_added_collection`` where features were added as part of community.aws diff --git a/changelogs/fragments/workflows-add-intersphinx.yml b/changelogs/fragments/workflows-add-intersphinx.yml deleted file mode 100644 index 104b3d3f327..00000000000 --- a/changelogs/fragments/workflows-add-intersphinx.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: -- Update docs build/test workflows to use intersphinx links between amazon.aws and community.aws. diff --git a/galaxy.yml b/galaxy.yml index 85bbeb1f1c3..e03641c065d 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: amazon name: aws -version: 5.0.2 +version: 5.1.0 readme: README.md authors: - Ansible (https://github.com/ansible) From dd9683d4928e60aac9c29148dab7125fb1b7da4a Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Fri, 28 Oct 2022 14:38:46 +0200 Subject: [PATCH 2/2] Rebase --- CHANGELOG.rst | 2 ++ changelogs/changelog.yaml | 5 ++++- changelogs/fragments/1181-stable-5-linting.yml | 3 --- 3 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 changelogs/fragments/1181-stable-5-linting.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c0cf91a522c..f8111759b34 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -20,6 +20,7 @@ Minor Changes - amazon.aws collection - The ``aws_secret_key`` parameter has been renamed to ``secret_key``, ``secret_key`` was previously an alias for this parameter and ``aws_secret_key`` remains as an alias. This change should have no observable effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172). - amazon.aws collection - The ``security_token`` parameter has been renamed to ``session_token``, ``security_token`` was previously an alias for this parameter and ``security_token`` remains as an alias. This change should have no observable effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172). - aws_account_attribute lookup plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). +- aws_ec2 inventory - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). - aws_ec2 inventory plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). - aws_rds inventory plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). - aws_secret lookup plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). @@ -28,6 +29,7 @@ Minor Changes - ec2_instance - refacter ``tower_callback`` code to handle parameter validation as part of the argument specification (https://github.com/ansible-collections/amazon.aws/pull/1199). - ec2_instance - the ``instance_role`` parameter has been renamed to ``iam_instance_profile`` to better reflect what it is, ``instance_role`` remains as an alias (https://github.com/ansible-collections/amazon.aws/pull/1151). - ec2_instance - the ``tower_callback`` parameter has been renamed to ``aap_callback``, ``tower_callback`` remains as an alias. This change should have no observable effect for users outside the module documentation (https://github.com/ansible-collections/amazon.aws/pull/1199). +- s3_object_info - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). Deprecated Features ------------------- diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index aad34d46416..98659bcf479 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1477,6 +1477,7 @@ releases: (https://github.com/ansible-collections/amazon.aws/pull/1172). - aws_account_attribute lookup plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). + - aws_ec2 inventory - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). - aws_ec2 inventory plugin - use ``missing_required_lib`` for more consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152). - aws_rds inventory plugin - use ``missing_required_lib`` for more consistent @@ -1494,6 +1495,7 @@ releases: - ec2_instance - the ``tower_callback`` parameter has been renamed to ``aap_callback``, ``tower_callback`` remains as an alias. This change should have no observable effect for users outside the module documentation (https://github.com/ansible-collections/amazon.aws/pull/1199). + - s3_object_info - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). release_summary: This release brings some minor changes, bugfixes, security fixes and deprecated features. security_fixes: @@ -1505,6 +1507,7 @@ releases: - 1152-missing-botocore.yml - 1163-map_complex_type.yml - 1172-credentials_parameters.yml + - 1181-stable-5-linting.yml - 20221010-test-times.yml - 20221021-ec2_instance-tower_callback.yml - 20221026-pytest-forked.yml @@ -1513,4 +1516,4 @@ releases: - summary.yml - version_added-5.yml - workflows-add-intersphinx.yml - release_date: '2022-10-27' + release_date: '2022-10-28' diff --git a/changelogs/fragments/1181-stable-5-linting.yml b/changelogs/fragments/1181-stable-5-linting.yml deleted file mode 100644 index f35c983d90b..00000000000 --- a/changelogs/fragments/1181-stable-5-linting.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: -- aws_ec2 inventory - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181). -- s3_object_info - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181).