-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
50 lines (39 loc) · 1.14 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
variable "prefix" {
description = <<-EOT
Prefix for all resources created by this configuration. Use an
abbreviation of your name. For example, 'jdoe' for John Doe.
EOT
type = string
default = "user"
}
variable "gcp_zone" {
description = "GCP zone to launch servers in."
type = string
default = "europe-west3-b" # E2,N2,N1,M1,M2,C2
}
variable "gcp_region" {
description = "GCP region to launch servers in."
type = string
default = "europe-west3" # Frankfurt (Germany)
}
variable "gcp_project_id" {
description = "Identifier of GCP project to use for the deployment."
type = string
default = null
}
variable "accessible_from" {
description = <<-EOT
A list of networks from which the entire deployment will be accessible,
specified in CIDR format.
EOT
type = list(string)
default = null
}
variable "ssh_public_key_path" {
description = <<-EOT
Path to the SSH public key to be used for authentication. Ensure this
keypair is added to your local SSH agent so provisioners can connect.
EOT
type = string
default = "./ssh/key.pub"
}