Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 4.08 KB

README.md

File metadata and controls

37 lines (30 loc) · 4.08 KB

depot/connection/aws

module "connection" {
  source            = "depot/connection/aws"
  version           = "x.x.x"
  connection-id     = "xxxxxx"
  connection-token  = "xxxxxx"
  availability-zone = "us-east-1a"
}

Inputs

Name Description Type Default Required
availability-zone Availability zone to use for the builder instances string n/a yes
connection-id ID for the Depot connection (provided in the Depot console) string n/a yes
connection-token API token for the Depot connection (provided in the Depot console) string n/a yes
allow-ssm-access Controls if SSM access should be allowed for the builder instances bool false no
cloud-agent-version Version tag for ghcr.io/depot/cloud-agent container string "1.0.0" no
create Controls if Depot connection resources should be created bool true no
instance-types Instance types to use for the builder instances object({ x86 = string, arm = string })
{
"arm": "c6g.xlarge",
"x86": "c6i.xlarge"
}
no
tags A map of tags to apply to all resources map(string) {} no
vpc-cidr-prefix VPC CIDR prefix string "10.0" 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
vpc-id Builder VPC ID "VPC-ID" no