vars.tf 1.09 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
variable "internal-net" {
  default = "clusternet"
}

variable "internal-subnet" {
  default = "clustersubnet"
}

variable "external-net" {
  default = "dmznet"
}

variable "external-subnet" {
  default = "dmzsubnet"
}
16

17
18
variable "router" {
  default = "borderrouter"
19
}
20

Ryan Randles Jones's avatar
Ryan Randles Jones committed
21
22
23
24
variable "image" {
  default = "CentOS-7-x86_64-GenericCloud-1905"
}

25
variable "ohpc-user" {
26
27
28
  default = "centos"
}
  
Ryan Randles Jones's avatar
Ryan Randles Jones committed
29
30
31
32
variable "flavor" {
  default = "m1.medium"
}

33
variable "public-network-name" {
Ryan Randles Jones's avatar
Ryan Randles Jones committed
34
  default = "bright-external-flat-externalnet"
Ryan Jones's avatar
Ryan Jones committed
35
}
36

37
38
39
variable "keypair-name" {
  default = "os-gen-keypair"
}
40

41
variable "ssh-public-key" {
42
  description = "Path to file containing public key"
Ryan Jones's avatar
Ryan Jones committed
43
  default = "~/.ssh/id_rsa.pub"
44
45
}

46
variable "ssh-private-key" {
47
  description = "Path to file containing private key"
Ryan Jones's avatar
Ryan Jones committed
48
  default =  "~/.ssh/id_rsa"
49
50
}

51
variable "host-prefix" {
Ryan Randles Jones's avatar
Ryan Randles Jones committed
52
  description = "prefix of host id."
Ryan Randles Jones's avatar
Ryan Randles Jones committed
53
  default = "164.111.161.%s"
Ryan Jones's avatar
Ryan Jones committed
54
}
Ryan Randles Jones's avatar
Ryan Randles Jones committed
55

56
57
58
variable "enable-dhcp" {
  description = "whether dhcp in enabled. defualt is true"
  default = true
Ryan Jones's avatar
Ryan Jones committed
59
}
60

61
variable "admin-state-up" {
62
63
64
65
  description = "whether admin state in enabled. defualt is true"
  default = true
}