aws_elb_attachment
Provides an Elastic Load Balancer Attachment resource.
NOTE on ELB Instances and ELB Attachments: Terraform currently provides both a standalone ELB Attachment resource (describing an instance attached to an ELB), and an Elastic Load Balancer resource with
instances
defined in-line. At this time you cannot use an ELB with in-line instances in conjunction with an ELB Attachment resource. Doing so will cause a conflict and will overwrite attachments.
Example Usage
# Create a new load balancer attachment resource "aws_elb_attachment" "baz" { elb = "${aws_elb.bar.id}" instance = "${aws_instance.foo.id}" }
Argument Reference
The following arguments are supported:
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/elb_attachment.html