-
Notifications
You must be signed in to change notification settings - Fork 0
/
default-vars.tf
48 lines (39 loc) · 1.04 KB
/
default-vars.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
# See Digital Ocean API Documentation
# @ <https://developers.digitalocean.com/documentation/v2/>
# for determining available images, regions and sizes.
# Terraform Digital Ocean API Key
variable "do_token" {}
# 2stacks AWS API credentials
variable "aws_access_key" {}
variable "aws_secret_key" {}
# CloudInit Variables
variable "user_name" {}
variable "user_passwd" {}
variable "ssh_authorized-key" {}
# Digital Ocean SSH Keys
variable "do_ssh_keys" {}
# Upload directory for container configs
variable "project_dir" {
description = "Docker Project Directory"
default = "/opt/project-k"
}
# AWS Hosted DNS Zone
variable "dns_zone" {
description = "AWS Hosted DNS Zone"
default = "bsptn.xyz."
}
# Default OS Images
variable "image" {
description = "Default LTS"
default = "ubuntu-16-04-x64"
}
# Default Region Name
variable "region" {
description = "Region in which to create Droplet"
default = "nyc3"
}
# Number of nodes to create
variable "node_count" {
description = "Number of droplets to create"
default = 1
}