module "connection" {
source = "depot/connection/aws"
version = "x.x.x"
connection-id = "xxxxxx"
connection-token = "xxxxxx"
availability-zone = "us-east-1a"
}
| 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 |