News for hackers. Stuff that matters.
Re:Terraform 0.15 General Availability by apple4ever on Thursday April 15, 2021 @12:43AM (#26816270)
How do you ensure you have say 2 web servers created and connected to a load balancer? Is that part of your custom module?
Re:Terraform 0.15 General Availability by mr_C on Thursday April 15, 2021 @04:25AM (#26817622)
Using ec2_instance_info to check if the instance exists filtering by name (eg: selectattr('tags.Name', 'defined') | selectattr('tags.Name', 'equalto', server_name) ) and then standard ec2_instance module, same for lb.