accessKeyId

The AWS Access Key ID.

type

string

default

{
  accessKeyId = "";
}

description

A description for the network interface.

type

string

default

{
  description = "";
}

name

Name of the VPC network interface.

type

string

default

{
  name = "nixops-{uuid}-{name}";
}

primaryPrivateIpAddress

The primary private IPv4 address of the network interface. If you don't specify an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range.

type

null or string

default

{
  primaryPrivateIpAddress = null;
}

privateIpAddresses

One or more secondary private IPv4 addresses.

type

list of string

default

{
  privateIpAddresses = [];
}

region

AWS region.

type

string

secondaryPrivateIpAddressCount

The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify privateIpAddresses in the same time.

type

null or signed integer

default

{
  secondaryPrivateIpAddressCount = null;
}

securityGroups

The IDs of one or more security groups.

type

list of string or resource of type ‘ec2-security-group’

default

{
  securityGroups = null;
}

sourceDestCheck

Indicates whether source/destination checking is enabled. Default value is true.

type

boolean

default

{
  sourceDestCheck = true;
}

subnetId

Subnet Id to create the ENI in.

type

string or resource of type ‘vpc-subnet’

tags

Tags assigned to the instance. Each tag name can be at most 128 characters, and each tag value can be at most 256 characters. There can be at most 10 tags.

type

attribute set of string

example

{
  tags = {
    foo = "bar";
    xyzzy = "bla";
  };
}

default

{
  tags = {};
}