Skip to content

Commit

Permalink
Add documentation for TargetGroupName (ansible-collections#1366)
Browse files Browse the repository at this point in the history
elb_application_lb/elb_network_lb - Add documentation for TargetGroupName

SUMMARY
fixes: ansible-collections#915
elb_application_lb and elb_network_lb have a poorly documented feature, that you can use TargetGroupName instead of TargetGroupArn.  While this is shown in the examples, it's in the options documentation.
While undocumented the feature's been there since at release 1.0.0
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
plugins/modules/elb_application_lb.py
plugins/modules/elb_network_lb.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
  • Loading branch information
tremble authored Jul 22, 2022
1 parent 0efacbc commit cfcd799
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion elb_application_lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,14 @@
description: The type of action.
type: str
TargetGroupArn:
description: The Amazon Resource Name (ARN) of the target group.
description:
- The Amazon Resource Name (ARN) of the target group.
- Mutually exclusive with I(TargetGroupName).
type: str
TargetGroupName:
description:
- The name of the target group.
- Mutually exclusive with I(TargetGroupArn).
Rules:
type: list
elements: dict
Expand Down
8 changes: 7 additions & 1 deletion elb_network_lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,14 @@
description: The type of action.
type: str
TargetGroupArn:
description: The Amazon Resource Name (ARN) of the target group.
description:
- The Amazon Resource Name (ARN) of the target group.
- Mutually exclusive with I(TargetGroupName).
type: str
TargetGroupName:
description:
- The name of the target group.
- Mutually exclusive with I(TargetGroupArn).
name:
description:
- The name of the load balancer. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric
Expand Down

0 comments on commit cfcd799

Please sign in to comment.