diff --git a/plugins/modules/elb_application_lb.py b/plugins/modules/elb_application_lb.py index 2e84242d382..2a2dd771528 100644 --- a/plugins/modules/elb_application_lb.py +++ b/plugins/modules/elb_application_lb.py @@ -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 diff --git a/plugins/modules/elb_network_lb.py b/plugins/modules/elb_network_lb.py index 00b8f466f8a..3c6b283d03f 100644 --- a/plugins/modules/elb_network_lb.py +++ b/plugins/modules/elb_network_lb.py @@ -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