aws_network_interface_attachment

Attach an Elastic network interface (ENI) resource with EC2 instance.

Example Usage

resource "aws_network_interface_attachment" "test" {
    instance_id = "${aws_instance.test.id}"
    network_interface_id = "${aws_network_interface.test.id}"
    device_index = 0
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to all arguments above, the following attributes are exported:

© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/network_interface_attachment.html