Unable to specify target_group_arn for ALB
I am writing a terraform script in which i have separate modules. I want to create two different target groups for my ALB (one for the front-end, one for the back-end), but im having troubles in doing that. Here is my code: alb/main.tf resource "aws_lb" "main" { name = "${var.name}-alb-${var.environment}" internal = false load_balancer_type =… Read More Unable to specify target_group_arn for ALB