-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
59 lines (49 loc) · 941 Bytes
/
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
variable "cloud_provider" {
type = string # can be 'aws', 'hetzner', 'scaleway'
default = "scaleway"
}
# Common
variable "node_name" {
type = string
default = "transport"
}
variable "node_count" {
type = string
default = "1"
}
variable "ssh_user" {
type = string
default = "root"
}
variable "ip_admin" {
type = list
default = [ "0.0.0.0/0" ]
description = "Firewall rules IPs"
}
variable "private_key" {
type = string
default = "~/.ssh/id_rsa"
description = "The path to your private key"
}
# Cloud-specific
## Scaleway
variable "scaleway_server_arch" {
type = string
default = "x86_64"
}
variable "scaleway_server_image" {
type = string
default = "Ubuntu Bionic"
}
variable "scaleway_server_type" {
type = string
default = "DEV1-S"
}
variable "region" {
type = string
default = "nl-ams"
}
variable "zone" {
type = string
default = "nl-ams-1"
}