Created
March 2, 2019 03:25
-
-
Save 100daysofdevops/5323836250c27853c6b9771da650c886 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "aws_lb_target_group_attachment" "my-tg-attachment1" { | |
| target_group_arn = "${aws_lb_target_group.my-alb-tg.arn}" | |
| target_id = "${var.instance_id1}" | |
| port = 80 | |
| } | |
| resource "aws_lb_target_group_attachment" "my-tg-attachment2" { | |
| target_group_arn = "${aws_lb_target_group.my-alb-tg.arn}" | |
| target_id = "${var.instance_id2}" | |
| port = 80 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment