Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot enable your VPC for ClassicLink if any of your VPC’s route tables have existing routes for address ranges within the 10.0.0.0/8 IP address range , excluding local routes for VPCs in the 10.0.0.0/16 and 10.1.0.0/16 IP address ranges.

type

boolean

default

{
  enableClassicLink = false;
}

enableDnsHostnames

Specifies whether DNS hostnames are provided for the instances launched in this VPC. You can only set this attribute to true if EnableDnsSupport is also true.

type

boolean

default

{
  enableDnsHostnames = false;
}

enableDnsSupport

Specifies whether the DNS server provided by Amazon is enabled for the VPC.

type

boolean

default

{
  enableDnsSupport = false;
}

accessKeyId

The AWS Access Key ID.

type

string

default

{
  accessKeyId = "";
}

amazonProvidedIpv6CidrBlock

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block.

type

boolean

default

{
  amazonProvidedIpv6CidrBlock = false;
}

cidrBlock

The CIDR block for the VPC

type

string

instanceTenancy

The supported tenancy options for instances launched into the VPC. Valid values are "default" and "dedicated".

type

string

default

{
  instanceTenancy = "default";
}

name

Name of the VPC.

type

string

default

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

region

AWS region.

type

string

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 = {};
}

vpcId

The VPC id generated from AWS. This is set by NixOps

type

string

default

{
  vpcId = "";
}