Difference between revisions of "Terraform resource: aws lb target group attachment"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<code>aws_lb_target_group_attachment</code>  
 
<code>aws_lb_target_group_attachment</code>  
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group_attachment
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group_attachment
 +
 +
 +
resource "aws_lb_target_group_attachment" "test" {
 +
  target_group_arn = aws_lb_target_group.test.arn
 +
  target_id        = aws_instance.test.id
 +
  port            = 80
 +
}
 +
 +
== Related terms ==
 +
* <code>[[aws elbv2 register-targets]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{aws_lb}}
 
* {{terraform AWS}}
 
* {{terraform AWS}}
* {{terraform aws resources}}
 
  
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 11:15, 22 October 2021

aws_lb_target_group_attachment


resource "aws_lb_target_group_attachment" "test" {
  target_group_arn = aws_lb_target_group.test.arn
  target_id        = aws_instance.test.id
  port             = 80
}

Related terms[edit]

See also[edit]

Advertising: