Difference between revisions of "Terraform resource: aws lb target group attachment"
Jump to navigation
Jump to search
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 | ||
+ | } | ||
== See also == | == See also == |
Revision as of 10:11, 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 }
See also
- Terraform AWS: providers, modules, resources
hashicorp/aws
- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
Advertising: