-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
45 lines (38 loc) · 1.1 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
variable "do_token" {
type = string
sensitive = true
description = "Your DigitalOcean personal access token"
}
variable "tailscale_authkey" {
type = string
sensitive = true
description = "Tailscale auth key allowing the droplet to join your tailnet"
}
variable "ssh_key_name" {
type = string
default = "personal"
description = "The name of the DigitalOcean ssh key that will be granted SSH access to the droplet"
}
variable "ssh_private_key" {
type = string
description = "Path to the SSH private key that will be used to connect to the instance, this should match the key refered to by the `ssh_key_name` variable"
}
variable "user" {
type = string
default = "root"
}
variable "instance_name" {
type = string
default = "ubi"
description = "A name for the droplet"
}
variable "region" {
type = string
description = "The DigitalOcean region where the droplet will be created"
default = "lon1"
}
variable "size" {
type = string
description = "The DigitalOcean droplet size slug"
default = "s-1vcpu-1gb"
}