Issue with elb_network_lb?

41 views
Skip to first unread message

Karl Auer

unread,
Aug 30, 2018, 4:05:26 AM8/30/18
to ansible-project
Has anyone here managed to associate an Elastic IP address with an AWS Network Load Balancer?

I'm having problems with the AWS module elb_network_lb.

I'm trying to associate Elastic IPs with the subnets I'm attaching the load balancer to, and I keep getting the same message:

An error occurred (ValidationError) when calling the CreateLoadBalancer operation: At least one subnet must be specified"

If I use the subnet_ids attribute, I get a load balancer across two subnets, but without Elastic IP addresses. But if I use the subnet_mappings attribute, which is the only way to associate an Elastic IP address with a subnet, I get the above error message.
Uncle Google has been of little help...

Regards, K.


--
Karl Auer

Email  : ka...@2pisoftware.com
Website: 
http://2pisoftware.com

GPG/PGP : 958A 2647 6C44 D376 3D63 86A5 FFB2 20BC 0257 5816
Previous: F0AB 6C70 A49D 1927 6E05 81E7 AD95 268F 2AB6 40EA

Reply all
Reply to author
Forward
0 new messages