elb_target_group_info
Gather information about ELB target groups in AWS
Collection: community.aws
Full Name: community.aws.elb_target_group_info
Synopsis
Gather information about ELB target groups in AWS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| collect_targets_health | bool | false | ||
| debug_botocore_endpoint_logs | bool | false | ||
| endpoint_url | str | |||
| load_balancer_arn | str | |||
| names | list | |||
| profile | str | |||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| target_group_arns | list | |||
| validate_certs | bool | true |
Example
yaml
- name: Gather information about all target groups
community.aws.elb_target_group_info:
- name: Gather information about the target group attached to a particular ELB
community.aws.elb_target_group_info:
load_balancer_arn: "arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:loadbalancer/app/my-elb/aabbccddeeff"
- name: Gather information about a target groups named 'tg1' and 'tg2'
community.aws.elb_target_group_info:
names:
- tg1
- tg2