Skip to content

depot/terraform-aws-connection

Repository files navigation

depot/connection/aws

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" },
  ]
}

Inputs

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

Outputs

Name Description Value Sensitive
instance-role-arn ARN of the instance role "ROLE-ARN" no
instance-role-id ID of the instance role "ROLE-ID" no
route-table-id VPC route table ID "null" no
vpc-id VPC ID "VPC-ID" no

Packages

 
 
 

Contributors

Languages