0

AWS ALB has three target types - Instance, IP and Lambda.

If I want create Target group using Ansible playbook, there are only two options you can use - Instance and IP. Link Here

So, how to create target group for Lambda using Ansible ?

Dinesh Pundkar
  • 4,160
  • 1
  • 23
  • 37
  • 1
    I know CloudFormation doesn't yet support this. Could it be that Ansible ALSO doesn't yet support this? The feature just released at the end of November. – nicholas.hauschild Mar 18 '19 at 19:58
  • @nicholas.hauschild - Thanks !!! Any pointer or links - How to do it using AWS CLI ? – Dinesh Pundkar Mar 18 '19 at 20:04
  • 1
    To build out the whole ALB would require a couple CLI calls, but this is the page that would be for creating a target group (via elbv2 create-target-group). Remember that you will need to register the target group with the load balancer once you have created it. https://docs.aws.amazon.com/cli/latest/reference/elbv2/create-target-group.html – nicholas.hauschild Mar 18 '19 at 20:24

0 Answers0