Skip to content

Commit 664da4c

Browse files
Prep 3.3.0 release (#842)
Prep 3.3.0 release SUMMARY Run add_docs, generate changelog ISSUE TYPE Feature Pull Request COMPONENT NAME several Reviewed-by: Joseph Torcasso <None> Reviewed-by: Markus Bergholz <[email protected]> Reviewed-by: Mark Chappell <None>
1 parent 31776d9 commit 664da4c

File tree

59 files changed

+571
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+571
-148
lines changed

CHANGELOG.rst

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

77

8+
v3.3.0
9+
======
10+
11+
Minor Changes
12+
-------------
13+
14+
- aws_ec2 inventory - Allow for literal strings in hostname that don't match filter parameters in ec2 describe-instances (https://github.com/ansible-collections/amazon.aws/pull/826).
15+
- aws_ssm - Add support for ``endpoint`` parameter (https://github.com/ansible-collections/amazon.aws/pull/837).
16+
- module.utils.rds - add retry_codes to get_rds_method_attribute return data to use in call_method and add unit tests (https://github.com/ansible-collections/amazon.aws/pull/776).
17+
- module.utils.rds - refactor to utilize get_rds_method_attribute return data (https://github.com/ansible-collections/amazon.aws/pull/776).
18+
- module_utils - add new aliases ``aws_session_token`` and ``session_token`` to the ``security_token`` parameter to be more in-line with the boto SDK (https://github.com/ansible-collections/amazon.aws/pull/631).
19+
- module_utils.rds - Add support and unit tests for addition/removal of IAM roles to/from a db instance in module_utils.rds with waiters (https://github.com/ansible-collections/amazon.aws/pull/714).
20+
21+
Bugfixes
22+
--------
23+
24+
- Include ``PSF-license.txt`` file for ``plugins/module_utils/_version.py``.
25+
- aws_account_attribute lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
26+
- aws_ec2 inventory plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
27+
- aws_rds inventory plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
28+
- aws_resource_actions callback plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
29+
- aws_secret lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
30+
- aws_service_ip_ranges lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
31+
- aws_ssm - Fix environment variables for client configuration (e.g., AWS_PROFILE, AWS_ACCESS_KEY_ID) (https://github.com/ansible-collections/amazon.aws/pull/837).
32+
- aws_ssm lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
33+
- ec2_instance - ec2_instance module broken in Python 3.8 - dict keys modified during iteration (https://github.com/ansible-collections/amazon.aws/issues/709).
34+
- module.utils.rds - Add waiter for promoting read replica to fix idempotency issue (https://github.com/ansible-collections/amazon.aws/pull/714).
35+
- module.utils.rds - Catch InvalidDBSecurityGroupStateFault when modifying a db instance (https://github.com/ansible-collections/amazon.aws/pull/776).
36+
- module.utils.s3 - Update validate_bucket_name minimum length to 3 (https://github.com/ansible-collections/amazon.aws/pull/802).
37+
838
v3.2.0
939
======
1040

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ AWS related modules and plugins supported by the Ansible community are in the [c
88

99
This collection has been tested against following Ansible versions: **>=2.9.10**.
1010

11+
For collections that support Ansible 2.9, please ensure you update your `network_os` to use the
12+
fully qualified collection name (for example, `cisco.ios.ios`).
1113
Plugins and modules within a collection may be tested with only specific Ansible versions.
1214
A collection may contain metadata that identifies these versions.
1315
PEP440 is the schema used to describe the versions of Ansible.
@@ -62,7 +64,7 @@ Name | Description
6264
[amazon.aws.ec2_key](https://github.com/ansible-collections/amazon.aws/blob/stable-3/docs/amazon.aws.ec2_key_module.rst)|create or delete an ec2 key pair
6365
[amazon.aws.ec2_metadata_facts](https://github.com/ansible-collections/amazon.aws/blob/stable-3/docs/amazon.aws.ec2_metadata_facts_module.rst)|gathers facts (instance metadata) about remote hosts within EC2
6466
[amazon.aws.ec2_snapshot](https://github.com/ansible-collections/amazon.aws/blob/stable-3/docs/amazon.aws.ec2_snapshot_module.rst)|Creates a snapshot from an existing volume
65-
[amazon.aws.ec2_snapshot_info](https://github.com/ansible-collections/amazon.aws/blob/stable-3/docs/amazon.aws.ec2_snapshot_info_module.rst)|Gather information about ec2 volume snapshots in AWS
67+
[amazon.aws.ec2_snapshot_info](https://github.com/ansible-collections/amazon.aws/blob/stable-3/docs/amazon.aws.ec2_snapshot_info_module.rst)|Gathers information about EC2 volume snapshots in AWS
6668
[amazon.aws.ec2_spot_instance](https://github.com/ansible-collections/amazon.aws/blob/stable-3/docs/amazon.aws.ec2_spot_instance_module.rst)|request, stop, reboot or cancel spot instance
6769
[amazon.aws.ec2_spot_instance_info](https://github.com/ansible-collections/amazon.aws/blob/stable-3/docs/amazon.aws.ec2_spot_instance_info_module.rst)|Gather information about ec2 spot instance requests
6870
[amazon.aws.ec2_tag](https://github.com/ansible-collections/amazon.aws/blob/stable-3/docs/amazon.aws.ec2_tag_module.rst)|create and remove tags on ec2 resources

changelogs/changelog.yaml

+46
Original file line numberDiff line numberDiff line change
@@ -743,3 +743,49 @@ releases:
743743
- 696-elbv2-support-alb-attributes.yml
744744
- 719-ec2_instance-fix-deprecation-warning-scope.yml
745745
release_date: '2022-04-05'
746+
3.3.0:
747+
changes:
748+
bugfixes:
749+
- Include ``PSF-license.txt`` file for ``plugins/module_utils/_version.py``.
750+
- aws_account_attribute lookup plugin - fix linting errors in documentation
751+
data (https://github.com/ansible-collections/amazon.aws/pull/701).
752+
- aws_ec2 inventory plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
753+
- aws_rds inventory plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
754+
- aws_resource_actions callback plugin - fix linting errors in documentation
755+
data (https://github.com/ansible-collections/amazon.aws/pull/701).
756+
- aws_secret lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
757+
- aws_service_ip_ranges lookup plugin - fix linting errors in documentation
758+
data (https://github.com/ansible-collections/amazon.aws/pull/701).
759+
- aws_ssm - Fix environment variables for client configuration (e.g., AWS_PROFILE,
760+
AWS_ACCESS_KEY_ID) (https://github.com/ansible-collections/amazon.aws/pull/837).
761+
- aws_ssm lookup plugin - fix linting errors in documentation data (https://github.com/ansible-collections/amazon.aws/pull/701).
762+
- ec2_instance - ec2_instance module broken in Python 3.8 - dict keys modified
763+
during iteration (https://github.com/ansible-collections/amazon.aws/issues/709).
764+
- module.utils.rds - Add waiter for promoting read replica to fix idempotency
765+
issue (https://github.com/ansible-collections/amazon.aws/pull/714).
766+
- module.utils.rds - Catch InvalidDBSecurityGroupStateFault when modifying a
767+
db instance (https://github.com/ansible-collections/amazon.aws/pull/776).
768+
- module.utils.s3 - Update validate_bucket_name minimum length to 3 (https://github.com/ansible-collections/amazon.aws/pull/802).
769+
minor_changes:
770+
- aws_ec2 inventory - Allow for literal strings in hostname that don't match
771+
filter parameters in ec2 describe-instances (https://github.com/ansible-collections/amazon.aws/pull/826).
772+
- aws_ssm - Add support for ``endpoint`` parameter (https://github.com/ansible-collections/amazon.aws/pull/837).
773+
- module.utils.rds - add retry_codes to get_rds_method_attribute return data
774+
to use in call_method and add unit tests (https://github.com/ansible-collections/amazon.aws/pull/776).
775+
- module.utils.rds - refactor to utilize get_rds_method_attribute return data
776+
(https://github.com/ansible-collections/amazon.aws/pull/776).
777+
- module_utils - add new aliases ``aws_session_token`` and ``session_token``
778+
to the ``security_token`` parameter to be more in-line with the boto SDK (https://github.com/ansible-collections/amazon.aws/pull/631).
779+
- module_utils.rds - Add support and unit tests for addition/removal of IAM
780+
roles to/from a db instance in module_utils.rds with waiters (https://github.com/ansible-collections/amazon.aws/pull/714).
781+
fragments:
782+
- 655-aws_ec2-aws_rds-add-support-for-hostvars_prefix-and-hostvars_suffix.yml
783+
- 709-ec_2_instance-python-3-8-compatibility.yml
784+
- 714-module_util_rds-support-iam-roles-add-waiters.yml
785+
- 776-module_util_rds-add-extra-retry-codes-refactor.yml
786+
- 802-update-s3-module_util-validate_bucket_name-to-accept-3-character-bucket-name.yml
787+
- 826-inventory-aws_ec2-allow-literal-string-in-hostname.yml
788+
- 837-aws_ssm-envars.yml
789+
- psf-license.yml
790+
- validate-plugins.yml
791+
release_date: '2022-05-26'

changelogs/fragments/655-aws_ec2-aws_rds-add-support-for-hostvars_prefix-and-hostvars_suffix.yml

-2
This file was deleted.

changelogs/fragments/709-ec_2_instance-python-3-8-compatibility.yml

-3
This file was deleted.

changelogs/fragments/714-module_util_rds-support-iam-roles-add-waiters.yml

-4
This file was deleted.

changelogs/fragments/776-module_util_rds-add-extra-retry-codes-refactor.yml

-6
This file was deleted.

changelogs/fragments/802-update-s3-module_util-validate_bucket_name-to-accept-3-character-bucket-name.yml

-2
This file was deleted.

changelogs/fragments/826-inventory-aws_ec2-allow-literal-string-in-hostname.yml

-2
This file was deleted.

changelogs/fragments/837-aws_ssm-envars.yml

-5
This file was deleted.

changelogs/fragments/psf-license.yml

-2
This file was deleted.

changelogs/fragments/validate-plugins.yml

-9
This file was deleted.

docs/amazon.aws.aws_account_attribute_lookup.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Requirements
2525
The below requirements are needed on the local Ansible controller node that executes this lookup.
2626

2727
- python >= 3.6
28-
- boto3
28+
- boto3 >= 1.16.0
2929
- botocore >= 1.19.0
3030

3131

@@ -230,7 +230,7 @@ Status
230230
Authors
231231
~~~~~~~
232232

233-
- Sloane Hertel <[email protected]>
233+
- Sloane Hertel (@s-hertel) <[email protected]>
234234

235235

236236
.. hint::

docs/amazon.aws.aws_az_info_module.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ Parameters
216216
<div><code>AWS STS security token</code>. If not set then the value of the <code>AWS_SECURITY_TOKEN</code> or <code>EC2_SECURITY_TOKEN</code> environment variable is used.</div>
217217
<div>If <em>profile</em> is set this parameter is ignored.</div>
218218
<div>Passing the <em>security_token</em> and <em>profile</em> options at the same time has been deprecated and the options will be made mutually exclusive after 2022-06-01.</div>
219-
<div style="font-size: small; color: darkgreen"><br/>aliases: aws_security_token, access_token</div>
219+
<div>Aliases <em>aws_session_token</em> and <em>session_token</em> have been added in version 3.2.0.</div>
220+
<div style="font-size: small; color: darkgreen"><br/>aliases: aws_session_token, session_token, aws_security_token, access_token</div>
220221
</td>
221222
</tr>
222223
<tr>

docs/amazon.aws.aws_caller_info_module.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ Parameters
195195
<div><code>AWS STS security token</code>. If not set then the value of the <code>AWS_SECURITY_TOKEN</code> or <code>EC2_SECURITY_TOKEN</code> environment variable is used.</div>
196196
<div>If <em>profile</em> is set this parameter is ignored.</div>
197197
<div>Passing the <em>security_token</em> and <em>profile</em> options at the same time has been deprecated and the options will be made mutually exclusive after 2022-06-01.</div>
198-
<div style="font-size: small; color: darkgreen"><br/>aliases: aws_security_token, access_token</div>
198+
<div>Aliases <em>aws_session_token</em> and <em>session_token</em> have been added in version 3.2.0.</div>
199+
<div style="font-size: small; color: darkgreen"><br/>aliases: aws_session_token, session_token, aws_security_token, access_token</div>
199200
</td>
200201
</tr>
201202
<tr>

0 commit comments

Comments
 (0)