-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
73 lines (61 loc) · 1.62 KB
/
variables.tf
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
70
71
72
73
# Description: List of variables which can be provided ar runtime to override the specified defaults
variable "project" {
description = "GCP Project ID"
type = string
nullable = false
}
variable "name" {
description = "Base name to derive everythign else from"
default = "grunner"
type = string
}
variable "region" {
description = "Deployment region (us-west1)"
default = "us-west1"
type = string
}
variable "vms" {
description = "Managed instance group size (default: 4)"
default = 4
type = number
}
variable "repo" {
description = "GitHub Repo (owner/repo)"
type = string
nullable = false
}
variable "machine" {
description = "GCE machine type (default: e2-medium)"
default = "e2-medium"
type = string
}
variable "scopes" {
description = "GCE machine scopes (default: cloud-platform)"
type = list(string)
default = ["cloud-platform"]
}
variable "size" {
description = "GCE machine size in GBs (default: 10GB)"
default = 10
type = number
}
variable "image" {
description = "GCE machine image (default: ubuntu-2204-jammy-v20230616)"
default = "ubuntu-2204-jammy-v20230616"
type = string
}
variable "disk" {
description = "The type of disk to use (default: pd-ssd)"
default = "pd-ssd"
type = string
}
variable "token" {
description = "GitHub Personal Access Token"
type = string
nullable = false
}
variable "network" {
description = "CIDR block to allocate for the VM network (default: 10.10.0.0/16)"
type = string
default = "10.10.0.0/16"
}