Skip to content

Commit

Permalink
Fix version_added (#1484)
Browse files Browse the repository at this point in the history
* Fix version_added

Signed-off-by: Alina Buzachis <[email protected]>

* Update

Signed-off-by: Alina Buzachis <[email protected]>

* Not backported

---------

Signed-off-by: Alina Buzachis <[email protected]>
Co-authored-by: Mark Chappell <[email protected]>
  • Loading branch information
alinabuzachis and tremble authored May 4, 2023
1 parent 1ea813c commit 1f51ad4
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 23 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).
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
minor_changes:
- lambda_layer_info - add support for parameter version_number to retrieve detailed information for a specific layer version (https://github.com/ansible-collections/amazon.aws/pull/1241).
- lambda_layer_info - add support for parameter version_number to retrieve detailed information for a specific layer version (https://github.com/ansible-collections/amazon.aws/pull/1293).
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 @@ -41,7 +41,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
default: []
suboptions:
Expand Down Expand Up @@ -132,7 +132,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 @@ -148,6 +148,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 @@ -157,12 +158,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 @@ -256,7 +256,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 @@ -39,7 +39,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 @@ -67,7 +67,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 @@ -430,7 +430,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 @@ -141,7 +141,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 @@ -365,7 +365,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 @@ -83,7 +83,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 @@ -7,7 +7,7 @@
DOCUMENTATION = r"""
---
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
6 changes: 3 additions & 3 deletions plugins/modules/lambda_layer_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
DOCUMENTATION = r"""
---
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 All @@ -28,7 +28,7 @@
type: int
aliases:
- layer_version
version_added: 5.2.0
version_added: 6.0.0
compatible_runtime:
description:
- A runtime identifier.
Expand Down Expand Up @@ -129,7 +129,7 @@
description: Details about the layer version.
returned: if I(version_number) was provided
type: complex
version_added: 5.2.0
version_added: 6.0.0
contains:
location:
description: A link to the layer archive in Amazon S3 that is valid for 10 minutes.
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 @@ -169,7 +169,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 @@ -181,7 +181,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 @@ -192,15 +192,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 @@ -209,7 +209,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 @@ -219,7 +219,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 @@ -229,7 +229,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 1f51ad4

Please sign in to comment.