Resource manager for v2 ELB target groups.
Filter all application elb target groups within the default vpc
policies: - name: appelb-targetgroups-default-vpc resource: app-elb-target-group filters: - default-vpc
properties: type: enum: - default-vpc required: - type
Permissions - ec2:DescribeVpcs
Action to delete ELB target group
It is recommended to apply a filter to the delete policy to avoid unwanted deletion of any app elb target groups.
policies: - name: appelb-targetgroups-delete-unused resource: app-elb-target-group filters: - "tag:SomeTag": absent actions: - delete
properties: type: enum: - delete required: - type
Permissions - elasticloadbalancing:DeleteTargetGroup