-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
105 lines (87 loc) · 2.73 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
variable "name" {
type = string
description = "Name of the environment being protected. All resources will be prefixed with this name"
}
variable "project" {
type = string
description = "GCloud project name where AccessTier is deployed"
}
variable "region" {
type = string
description = "Region in which to create the Accestier"
}
variable "site_name" {
type = string
description = "Name to use when registering this AccessTier with the console"
}
variable "refresh_token" {
type = string
description = "API token generated from the Banyan console"
}
variable "site_domain_names" {
type = list(string)
description = "List of aliases or CNAMEs that will direct traffic to this AccessTier"
}
variable "api_server" {
type = string
description = "URL to the Banyan API server"
default = "https://net.banyanops.com/api/v1"
}
variable "cluster_name" {
type = string
description = "Name of an existing Shield cluster to register this AccessTier with"
}
// might be added later
//variable "custom_user_data" {
// type = list(string)
// description = "Custom commands to append to the startup script."
// default = []
//}
variable "redirect_http_to_https" {
type = bool
description = "If true, requests to the AccessTier on port 80 will be redirected to port 443"
default = false
}
variable "machine_type" {
type = string
description = "Google compute instance types"
default = "e2-standard-4"
}
variable "network" {
type = string
description = "Name of the network the AccessTier will belong to"
}
variable "subnetwork" {
type = string
description = "Name of the subnetwork the AccessTier will belong to"
}
variable "minimum_num_of_instances" {
type = number
description = "The minimum number of instances that should be running"
default = 2
}
variable "deb_repo" {
type = string
description = "the repo holding the netagent binaries"
default = "www.banyanops.com"
}
variable "at_version" {
type = string
description = "version specified to install if left blank, latest will be installed"
default = ""
}
variable "ssh_source_ip_ranges" {
type = list(string)
description = "Source ip ranges which are allowed ssh access to the access tier"
default = ["0.0.0.0/0"]
}
variable "service_source_ip_ranges" {
type = list(string)
description = "List of ip ranges which will be allows access through the firewall to the accesstier"
default = ["0.0.0.0/0"]
}
variable "service_source_tags" {
type = list(string)
description = "List of network tags which will be allows access through the firewall to the accesstier"
default = []
}