module "connection" {
source = "depot/connection/aws"
version = "x.x.x"
connection-id = "xxxxxx"
cidr-block = "10.0.0.0/16"
subnets = [
{ availability-zone = "us-east-1a", cidr-block = "10.0.1.0/18" },
{ availability-zone = "us-east-1b", cidr-block = "10.0.64.0/18" },
{ availability-zone = "us-east-1c", cidr-block = "10.0.128.0/18" },
]
}
| Name |
Description |
Type |
Default |
Required |
| connection-id |
ID for the Depot connection (provided in the Depot console) |
string |
n/a |
yes |
| subnets |
Subnets to use for the VPC |
list(object({ availability-zone = string, cidr-block = string })) |
n/a |
yes |
| allow-ssm-access |
Controls if SSM access should be allowed for the EC2 instances |
bool |
false |
no |
| cidr-block |
VPC CIDR block |
string |
"10.0.0.0/16" |
no |
| tags |
A map of tags to apply to all resources |
map(string) |
{} |
no |