accessKeyId
The AWS Access Key ID.
type
string
default
{
accessKeyId = "";
}
cidrBlock
The CIDR block for the VPC subnet
type
string
ipv6CidrBlock
The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.
type
null or string
default
{
ipv6CidrBlock = null;
}
mapPublicIpOnLaunch
Indicates whether instances launched into the subnet should be assigned a public IP in launch. Default is false.
type
boolean
default
{
mapPublicIpOnLaunch = false;
}
name
Name of the subnet VPC.
type
string
default
{
name = "nixops-{uuid}-{name}";
}
region
AWS region.
type
string
subnetId
The VPC subnet id generated from AWS. This is set by NixOps
type
string
default
{
subnetId = "";
}
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 ID of the VPC where the subnet will be created
type
string or resource of type ‘vpc’
zone
The availability zone for the VPC subnet. By default AWS selects one for you.
type
string