-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
51 lines (45 loc) · 1.11 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
variable "project" {
description = "The GCP project ID to deploy resources into."
type = string
default = "your-project-id"
}
variable "region" {
description = "The GCP region to deploy resources into."
type = string
default = "us-east1"
}
variable "zone" {
description = "The GCP zone within the specified region to deploy resources into."
type = string
default = "us-east1-b"
}
variable "GOOGLE_CREDENTIALS" {
description = "The JSON key file content for the GCP service account."
type = string
}
variable "vm" {
type = map(object({
name = string
machine_type = string
boot_disk = object({
initialize_params = object({
image = string
size = number
type = string
})
})
network_interface = object({
network = string
})
scheduling = object({
preemptible = bool
automatic_restart = bool
provisioning_model = string
})
tags = list(string)
allow_stopping_for_update = bool
desired_status = string
}))
}
locals {
}