-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
69 lines (57 loc) · 1.61 KB
/
variables.tf
File metadata and controls
69 lines (57 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
variable "team_name" {
description = "Team name (lowercase alphanumeric + hyphens)"
type = string
validation {
condition = can(regex("^[a-z][a-z0-9-]{1,28}[a-z0-9]$", var.team_name))
error_message = "Team name must be lowercase alphanumeric + hyphens, 3-30 chars."
}
}
variable "project_id" {
description = "GCP project ID"
type = string
default = "internal-sf-hackathon"
}
variable "org_id" {
description = "GCP organization ID"
type = string
}
variable "billing_account" {
description = "GCP billing account ID"
type = string
}
variable "region" {
description = "GCP region (derived from zone by provision.sh)"
type = string
}
variable "zone" {
description = "GCP zone (passed by provision.sh from config.yaml)"
type = string
}
variable "machine_type" {
description = "Machine type for GPU VM (passed by provision.sh from config.yaml)"
type = string
}
variable "reservation_prefix" {
description = "Reservation name prefix — must match reserve.sh / config.yaml"
type = string
}
variable "budget_amount" {
description = "Budget amount in USD"
type = number
default = 6000
}
variable "alert_emails" {
description = "Email addresses for budget alerts"
type = list(string)
default = ["sai@instalily.ai", "viraj@instalily.ai"]
}
variable "network_name" {
description = "Name of the shared VPC network"
type = string
default = "hackathon-vpc"
}
variable "subnet_name" {
description = "Name of the shared subnet"
type = string
default = "hackathon-subnet"
}