Skip to content

Commit

Permalink
Tagging fragment - Move simplest cases over to the docs fragment. (an…
Browse files Browse the repository at this point in the history
…sible-collections#1182)

Tagging fragment - Move simplest cases over to the docs fragment.

Depends-On: ansible-collections#844
SUMMARY
Migrate simplest cases over to the new docs fragment and add resource_tags as an alias to tags.
ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
changelogs/fragments/1182-tagging.yml
plugins/modules/aws_glue_job.py
plugins/modules/aws_msk_cluster.py
plugins/modules/aws_secret.py
plugins/modules/aws_step_functions_state_machine.py
plugins/modules/dynamodb_table.py
plugins/modules/ec2_eip.py
plugins/modules/ec2_transit_gateway_vpc_attachment.py
plugins/modules/ec2_vpc_peer.py
plugins/modules/elb_application_lb.py
plugins/modules/elb_network_lb.py
plugins/modules/iam_role.py
plugins/modules/iam_user.py
plugins/modules/networkfirewall.py
plugins/modules/networkfirewall_policy.py
plugins/modules/networkfirewall_rule_group.py
plugins/modules/rds_cluster.py
plugins/modules/rds_instance.py
plugins/modules/rds_instance_snapshot.py
plugins/modules/rds_option_group.py
plugins/modules/rds_subnet_group.py
plugins/modules/redshift.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@b11ffae
  • Loading branch information
tremble authored and goneri committed Sep 21, 2022
1 parent fc0800a commit 28d3513
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions plugins/modules/rds_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
description:
- Create, modify, and delete RDS clusters.
extends_documentation_fragment:
- amazon.aws.aws
- amazon.aws.ec2
- amazon.aws.aws
- amazon.aws.ec2
- amazon.aws.tags
author:
- Sloane Hertel (@s-hertel)
- Alina Buzachis (@alinabuzachis)
Expand Down Expand Up @@ -47,12 +48,6 @@
Set I(enable_cloudwatch_logs_exports) to an empty list to disable all.
type: bool
default: true
purge_tags:
description:
- Whether or not to remove tags assigned to the DB cluster if not specified in the playbook. To remove all tags
set I(tags) to an empty dictionary in conjunction with this.
type: bool
default: true
purge_security_groups:
description:
- Set to C(false) to retain any enabled security groups that aren't specified in the task and are associated with the cluster.
Expand Down Expand Up @@ -322,10 +317,6 @@
description:
- Whether the DB cluster is encrypted.
type: bool
tags:
description:
- A dictionary of key value pairs to assign the DB cluster.
type: dict
use_earliest_time_on_point_in_time_unavailable:
description:
- If I(backtrack_to) is set to a timestamp earlier than the earliest backtrack time, this value backtracks the DB cluster to
Expand Down Expand Up @@ -951,7 +942,7 @@ def main():
source_engine_version=dict(),
source_region=dict(),
storage_encrypted=dict(type='bool'),
tags=dict(type='dict'),
tags=dict(type='dict', aliases=['resource_tags']),
use_earliest_time_on_point_in_time_unavailable=dict(type='bool'),
use_latest_restorable_time=dict(type='bool'),
vpc_security_group_ids=dict(type='list', elements='str'),
Expand Down

0 comments on commit 28d3513

Please sign in to comment.