Skip to content

Commit

Permalink
Fix version_added (#1484) (#1517)
Browse files Browse the repository at this point in the history
Manual backport of #1484

SUMMARY

Fix version_added for various PRs that were we didn't backport in time for 5.x point releases.

ISSUE TYPE

    Bugfix Pull Request

COMPONENT NAME

plugins/modules/cloudwatch_metric_alarm.py
plugins/modules/ec2_ami.py
plugins/modules/ec2_metadata_facts.py
plugins/modules/ec2_vpc_nat_gateway.py
plugins/modules/kms_key.py
plugins/modules/lambda.py
plugins/modules/lambda_event.py
plugins/modules/lambda_layer.py
plugins/modules/lambda_layer_info.py
plugins/modules/rds_cluster.py

ADDITIONAL INFORMATION
  • Loading branch information
tremble authored May 4, 2023
1 parent c60e0c2 commit 04ebac8
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 20 deletions.
10 changes: 10 additions & 0 deletions changelogs/fragments/fix_version_added.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
trivial:
- "Fix version_added (https://github.com/ansible-collections/amazon.aws/pull/1133)."
- "Fix version_added (https://github.com/ansible-collections/amazon.aws/pull/1267)."
- "Fix version_added (https://github.com/ansible-collections/amazon.aws/pull/1037)."
- "Fix version_added (https://github.com/ansible-collections/amazon.aws/pull/1186)."
- "Fix version_added (https://github.com/ansible-collections/amazon.aws/pull/1290)."
- "Fix version_added (https://github.com/ansible-collections/amazon.aws/pull/1209)."
- "Fix version_added (https://github.com/ansible-collections/amazon.aws/pull/1191)."
- "Fix version_added (https://github.com/ansible-collections/amazon.aws/pull/1118)."
- "Fix version_added (https://github.com/ansible-collections/amazon.aws/pull/1095)."
2 changes: 1 addition & 1 deletion changelogs/fragments/lambda-add-support-for-layers.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
minor_changes:
- lambda - add support for function layers when creating or updating lambda function.
- lambda - add support for function layers when creating or updating lambda function (https://github.com/ansible-collections/amazon.aws/pull/1118).
2 changes: 1 addition & 1 deletion changelogs/fragments/rds_cluster_engine_mode.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
minor_changes:
- "rds_cluster - New the engine_mode parameter (https://github.com/ansible-collections/amazon.aws/pull/941)."
- "rds_cluster - New ``engine_mode`` parameter (https://github.com/ansible-collections/amazon.aws/pull/941)."
4 changes: 2 additions & 2 deletions plugins/modules/cloudwatch_metric_alarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
you to create an alarm based on the result of a metric math expression.
type: list
required: false
version_added: "5.1.0"
version_added: "5.5.0"
elements: dict
suboptions:
id:
Expand Down Expand Up @@ -145,7 +145,7 @@
description: The percentile statistic for the metric specified in the metric name.
type: str
required: false
version_added: "5.1.0"
version_added: "5.5.0"
comparison:
description:
- Determines how the threshold value is compared
Expand Down
3 changes: 3 additions & 0 deletions plugins/modules/ec2_ami.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
- See the AWS documentation for more detail U(https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html).
type: str
choices: ['legacy-bios', 'uefi']
version_added: 5.5.0
tpm_support:
description:
- Set to v2.0 to enable Trusted Platform Module (TPM) support.
Expand All @@ -159,12 +160,14 @@
- Requires minimum botocore version 1.26.0.
- See the AWS documentation for more detail U(https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html).
type: str
version_added: 5.5.0
uefi_data:
description:
- Base64 representation of the non-volatile UEFI variable store.
- Requires minimum botocore version 1.26.0.
- See the AWS documentation for more detail U(https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html).
type: str
version_added: 5.5.0
author:
- "Evan Duffield (@scicoin-project) <[email protected]>"
- "Constantin Bugneac (@Constantin07) <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ec2_metadata_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
type: list
elements: str
sample: ["tagKey1", "tag_key2"]
version_added: 5.1.0
version_added: 5.5.0
ansible_ec2_instance_type:
description: The type of the instance.
type: str
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/ec2_vpc_nat_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
choices: ["public", "private"]
default: "public"
type: str
version_added: 5.2.0
version_added: 5.5.0
eip_address:
description:
- The elastic IP address of the EIP you want attached to this NAT Gateway.
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/kms_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
- Whether to create a multi-Region primary key or not.
default: False
type: bool
version_added: 5.2.0
version_added: 5.5.0
pending_window:
description:
- The number of days between requesting deletion of the CMK and when it will actually be deleted.
Expand Down Expand Up @@ -432,7 +432,7 @@
- Indicates whether the CMK is a multi-Region C(True) or regional C(False) key.
- This value is True for multi-Region primary and replica CMKs and False for regional CMKs.
type: bool
version_added: 5.2.0
version_added: 5.5.0
returned: always
sample: False
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
aliases: ['layer_version']
type: list
elements: dict
version_added: 5.1.0
version_added: 5.5.0
author:
- 'Steyn Huizinga (@steynovich)'
extends_documentation_fragment:
Expand Down Expand Up @@ -369,7 +369,7 @@
layers:
description: The function's layers.
returned: on success
version_added: 5.1.0
version_added: 5.5.0
type: complex
contains:
arn:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/lambda_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
type: list
elements: str
choices: [ReportBatchItemFailures]
version_added: 5.2.0
version_added: 5.5.0
required: true
type: dict
extends_documentation_fragment:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/lambda_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
DOCUMENTATION = '''
---
module: lambda_layer
version_added: 5.1.0
version_added: 5.5.0
short_description: Creates an AWS Lambda layer or deletes an AWS Lambda layer version
description:
- This module allows the management of AWS Lambda functions aliases via the Ansible
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/lambda_layer_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
DOCUMENTATION = '''
---
module: lambda_layer_info
version_added: 5.1.0
version_added: 5.5.0
short_description: List lambda layer or lambda layer versions
description:
- This module is used to list the versions of an Lambda layer or all available lambda layers.
Expand Down
14 changes: 7 additions & 7 deletions plugins/modules/rds_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
- This setting is required to create a Multi-AZ DB cluster.
- I(db_cluster_instance_class) require botocore >= 1.23.44.
type: str
version_added: 5.4.0
version_added: 5.5.0
enable_iam_database_authentication:
description:
- Enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
Expand All @@ -183,7 +183,7 @@
- This setting is required to create a Multi-AZ DB cluster.
- I(allocated_storage) require botocore >= 1.23.44.
type: int
version_added: 5.4.0
version_added: 5.5.0
storage_type:
description:
- Specifies the storage type to be associated with the DB cluster.
Expand All @@ -194,15 +194,15 @@
type: str
choices:
- io1
version_added: 5.4.0
version_added: 5.5.0
iops:
description:
- The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster.
- This setting is required to create a Multi-AZ DB cluster
- Must be a multiple between .5 and 50 of the storage amount for the DB cluster.
- I(iops) require botocore >= 1.23.44.
type: int
version_added: 5.4.0
version_added: 5.5.0
engine:
description:
- The name of the database engine to be used for this DB cluster. This is required to create a cluster.
Expand All @@ -211,7 +211,7 @@
L(Amazon RDS Documentation,https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html)."
- When I(engine=mysql), I(allocated_storage), I(iops) and I(db_cluster_instance_class) must also be specified.
- When I(engine=postgres), I(allocated_storage), I(iops) and I(db_cluster_instance_class) must also be specified.
- Support for C(postgres) and C(mysql) was added in amazon.aws 5.4.0.
- Support for C(postgres) and C(mysql) was added in amazon.aws 5.5.0.
choices:
- aurora
- aurora-mysql
Expand All @@ -221,7 +221,7 @@
type: str
engine_mode:
description:
- The DB engine mode of the DB cluster. The combinaison of I(engine) and I(engine_mode) may not be supported.
- The DB engine mode of the DB cluster. The combination of I(engine) and I(engine_mode) may not be supported.
- "See AWS documentation for details:
L(Amazon RDS Documentation,https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html)."
choices:
Expand All @@ -231,7 +231,7 @@
- global
- multimaster
type: str
version_added: 5.1.0
version_added: 5.5.0
engine_version:
description:
- The version number of the database engine to use.
Expand Down

0 comments on commit 04ebac8

Please sign in to comment.