<commit_before>---
layout: "aws"
page_title: "AWS: aws_network_interface"
sidebar_current: "docs-aws-resource-network-interface"
description: |-
  Provides an Elastic network interface (ENI) resource.
---

# aws\_network\_interface

Provides an Elastic network interface (ENI) resource.

## Example Usage

```
resource "aws_network_interface" "test" {
    subnet_id = "${aws_subnet.public_a.id}"
	private_ips = ["10.0.0.50"]
	security_groups = ["${aws_security_group.web.name}"]<commit_msg>List of security groups should be ID/s not name/s<commit_after>---
layout: "aws"
page_title: "AWS: aws_network_interface"
sidebar_current: "docs-aws-resource-network-interface"
description: |-
  Provides an Elastic network interface (ENI) resource.
---

# aws\_network\_interface

Provides an Elastic network interface (ENI) resource.

## Example Usage

```
resource "aws_network_interface" "test" {
    subnet_id = "${aws_subnet.public_a.id}"
	private_ips = ["10.0.0.50"]
	security_groups = ["${aws_security_group.web.id}"]
{'fraction_non_alphanumeric': 0.14201183431952663, 'fraction_numerical': 0.011834319526627219, 'mean_word_length': 5.151515151515151, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1217380', 'n_tokens_mistral': 351, 'n_tokens_neox': 346, 'n_words': 77}