Skip to content

Commit 54ce7db

Browse files
Prep 5.1.0 release (#1216)
Prep 5.1.0 release SUMMARY Prep 5.1.0 release ISSUE TYPE Feature Pull Request COMPONENT NAME several Reviewed-by: Mark Chappell <None> Reviewed-by: Jill R <None>
1 parent ff97b24 commit 54ce7db

16 files changed

+167
-100
lines changed

CHANGELOG.rst

+55
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,61 @@ amazon.aws Release Notes
55
.. contents:: Topics
66

77

8+
v5.1.0
9+
======
10+
11+
Release Summary
12+
---------------
13+
14+
This release brings some minor changes, bugfixes, security fixes and deprecated features.
15+
16+
Minor Changes
17+
-------------
18+
19+
- 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).
20+
- 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).
21+
- 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).
22+
- 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).
23+
- aws_ec2 inventory - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181).
24+
- 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).
25+
- 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).
26+
- 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).
27+
- 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).
28+
- 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).
29+
- 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).
30+
- 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).
31+
- 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).
32+
- s3_object_info - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181).
33+
34+
Deprecated Features
35+
-------------------
36+
37+
- 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).
38+
- 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).
39+
- 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).
40+
- 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).
41+
- 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).
42+
- 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).
43+
- 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).
44+
- 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).
45+
- 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).
46+
- 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).
47+
- 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).
48+
- 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).
49+
- 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).
50+
- 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.
51+
52+
Security Fixes
53+
--------------
54+
55+
- 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).
56+
57+
Bugfixes
58+
--------
59+
60+
- 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).
61+
- 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).
62+
863
v5.0.2
964
======
1065

changelogs/changelog.yaml

+111
Original file line numberDiff line numberDiff line change
@@ -1406,3 +1406,114 @@ releases:
14061406
fragments:
14071407
- 1134-ec2_metadata_facts-AttributeError.yml
14081408
release_date: '2022-10-10'
1409+
5.1.0:
1410+
changes:
1411+
bugfixes:
1412+
- ec2_instance - fixes ``Invalid type for parameter TagSpecifications, value
1413+
None`` error when tags aren't specified (https://github.com/ansible-collections/amazon.aws/issues/1148).
1414+
- module_utils.transformations - ensure that ``map_complex_type`` still returns
1415+
transformed items if items exists that are not in the type_map (https://github.com/ansible-collections/amazon.aws/pull/1163).
1416+
deprecated_features:
1417+
- amazon.aws collection - Support for the ``EC2_ACCESS_KEY`` environment variable
1418+
has been deprecated and will be removed in a release after 2024-12-01. Please
1419+
use the ``access_key`` parameter or ``AWS_ACCESS_KEY_ID`` environment variable
1420+
instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1421+
- amazon.aws collection - Support for the ``EC2_REGION`` environment variable
1422+
has been deprecated and will be removed in a release after 2024-12-01. Please
1423+
use the ``region`` parameter or ``AWS_REGION`` environment variable instead
1424+
(https://github.com/ansible-collections/amazon.aws/pull/1172).
1425+
- amazon.aws collection - Support for the ``EC2_SECRET_KEY`` environment variable
1426+
has been deprecated and will be removed in a release after 2024-12-01. Please
1427+
use the ``secret_key`` parameter or ``AWS_SECRET_ACCESS_KEY`` environment
1428+
variable instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1429+
- amazon.aws collection - Support for the ``EC2_SECURITY_TOKEN`` environment
1430+
variable has been deprecated and will be removed in a release after 2024-12-01. Please
1431+
use the ``session_token`` parameter or ``AWS_SESSION_TOKEN`` environment variable
1432+
instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1433+
- amazon.aws collection - Support for the ``EC2_URL`` and ``S3_URL`` environment
1434+
variables has been deprecated and will be removed in a release after 2024-12-01. Please
1435+
use the ``endpoint_url`` parameter or ``AWS_ENDPOINT_URL`` environment variable
1436+
instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1437+
- amazon.aws collection - The ``access_token`` alias for the ``session_token``
1438+
parameter has been deprecated and will be removed in a release after 2024-12-01. Please
1439+
use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1440+
- amazon.aws collection - The ``access_token`` alias for the ``session_token``
1441+
parameter has been deprecated and will be removed in a release after 2024-12-01. Please
1442+
use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1443+
- amazon.aws collection - The ``aws_security_token`` alias for the ``session_token``
1444+
parameter has been deprecated and will be removed in a release after 2024-12-01. Please
1445+
use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1446+
- amazon.aws collection - The ``ec2_access_key`` alias for the ``access_key``
1447+
parameter has been deprecated and will be removed in a release after 2024-12-01. Please
1448+
use the ``access_key`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1449+
- amazon.aws collection - The ``ec2_region`` alias for the ``region`` parameter
1450+
has been deprecated and will be removed in a release after 2024-12-01. Please
1451+
use the ``region`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1452+
- amazon.aws collection - The ``ec2_secret_key`` alias for the ``secret_key``
1453+
parameter has been deprecated and will be removed in a release after 2024-12-01. Please
1454+
use the ``secret_key`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1455+
- amazon.aws collection - The ``security_token`` alias for the ``session_token``
1456+
parameter has been deprecated and will be removed in a release after 2024-12-01. Please
1457+
use the ``session_token`` name instead (https://github.com/ansible-collections/amazon.aws/pull/1172).
1458+
- 'ec2_security_group - support for passing nested lists to ``cidr_ip`` and
1459+
``cidr_ipv6`` has been deprecated. Nested lists can be passed through the
1460+
``flatten`` filter instead ``cidr_ip: ''{{ my_cidrs | flatten }}''`` (https://github.com/ansible-collections/amazon.aws/pull/1213).'
1461+
- module_utils.url - ``ansible_collections.amazon.aws.module_utils.urls`` is
1462+
believed to be unused and has been deprecated and will be removed in release
1463+
7.0.0.
1464+
minor_changes:
1465+
- amazon.aws collection - The ``aws_access_key`` parameter has been renamed
1466+
to ``access_key``, ``access_key`` was previously an alias for this parameter
1467+
and ``aws_access_key`` remains as an alias. This change should have no observable
1468+
effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172).
1469+
- amazon.aws collection - The ``aws_secret_key`` parameter has been renamed
1470+
to ``secret_key``, ``secret_key`` was previously an alias for this parameter
1471+
and ``aws_secret_key`` remains as an alias. This change should have no observable
1472+
effect for users outside the module/plugin documentation. (https://github.com/ansible-collections/amazon.aws/pull/1172).
1473+
- amazon.aws collection - The ``security_token`` parameter has been renamed
1474+
to ``session_token``, ``security_token`` was previously an alias for this
1475+
parameter and ``security_token`` remains as an alias. This change should
1476+
have no observable effect for users outside the module/plugin documentation.
1477+
(https://github.com/ansible-collections/amazon.aws/pull/1172).
1478+
- aws_account_attribute lookup plugin - use ``missing_required_lib`` for more
1479+
consistent error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152).
1480+
- aws_ec2 inventory - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181).
1481+
- aws_ec2 inventory plugin - use ``missing_required_lib`` for more consistent
1482+
error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152).
1483+
- aws_rds inventory plugin - use ``missing_required_lib`` for more consistent
1484+
error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152).
1485+
- aws_secret lookup plugin - use ``missing_required_lib`` for more consistent
1486+
error message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152).
1487+
- aws_ssm lookup plugin - use ``missing_required_lib`` for more consistent error
1488+
message when boto3/botocore is not available (https://github.com/ansible-collections/amazon.aws/pull/1152).
1489+
- ec2_instance - minor fix for launching an instance in specified AZ when ``vpc_subnet_id``
1490+
is not provided (https://github.com/ansible-collections/amazon.aws/pull/1150).
1491+
- ec2_instance - refacter ``tower_callback`` code to handle parameter validation
1492+
as part of the argument specification (https://github.com/ansible-collections/amazon.aws/pull/1199).
1493+
- ec2_instance - the ``instance_role`` parameter has been renamed to ``iam_instance_profile``
1494+
to better reflect what it is, ``instance_role`` remains as an alias (https://github.com/ansible-collections/amazon.aws/pull/1151).
1495+
- ec2_instance - the ``tower_callback`` parameter has been renamed to ``aap_callback``,
1496+
``tower_callback`` remains as an alias. This change should have no observable
1497+
effect for users outside the module documentation (https://github.com/ansible-collections/amazon.aws/pull/1199).
1498+
- s3_object_info - minor linting fixes (https://github.com/ansible-collections/amazon.aws/pull/1181).
1499+
release_summary: This release brings some minor changes, bugfixes, security
1500+
fixes and deprecated features.
1501+
security_fixes:
1502+
- ec2_instance - fixes leak of password into logs when using ``tower_callback.windows=True``
1503+
and ``tower_callback.set_password`` (https://github.com/ansible-collections/amazon.aws/pull/1199).
1504+
fragments:
1505+
- 1148-build_run_instance_spec.yml
1506+
- 1150-ec2_instance-fix-instance-creation-in-az.yml
1507+
- 1152-missing-botocore.yml
1508+
- 1163-map_complex_type.yml
1509+
- 1172-credentials_parameters.yml
1510+
- 1181-stable-5-linting.yml
1511+
- 20221010-test-times.yml
1512+
- 20221021-ec2_instance-tower_callback.yml
1513+
- 20221026-pytest-forked.yml
1514+
- 20221027-ec2_security_group-nested.yml
1515+
- DEPRECATE-module_utils-urls.yml
1516+
- summary.yml
1517+
- version_added-5.yml
1518+
- workflows-add-intersphinx.yml
1519+
release_date: '2022-10-28'

changelogs/fragments/1148-build_run_instance_spec.yml

-7
This file was deleted.

changelogs/fragments/1150-ec2_instance-fix-instance-creation-in-az.yml

-2
This file was deleted.

changelogs/fragments/1152-missing-botocore.yml

-6
This file was deleted.

changelogs/fragments/1163-map_complex_type.yml

-2
This file was deleted.

0 commit comments

Comments
 (0)