-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
39 lines (38 loc) · 931 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
//general_variables
variable "do_token" {
//provide full path to file where do_token exists, e.g ~/.config/digital_ocean/do_token
default=""
}
variable "ssh_id" {
//provide full path to id_rsa key to connect DigitalOcean Droplets via ssh, e.g ~/.ssh/id_rsa
default=""
}
//do_variables
variable "instance_count" {}
variable "image" {
//provide image_id from the list-distribution list from DigitalOcean API
default=""
}
variable "region" {
//provide available region from region list from DigitalOcean API
default=""
}
variable "my_key" {
//provide ssh_id key from ssk-key list from DigitalOcean API
default=
}
variable "p_networking" {
default=true
}
variable "droplet_name" {
type="list"
default = ["jenkins-master", "jenkins-rig-slave"]
}
variable "size" {
type="list"
default = ["2gb", "1gb"]
}
variable "tag" {
type="list"
default = ["master","rig"]
}