-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
112 lines (97 loc) · 2.6 KB
/
Copy pathvariables.tf
File metadata and controls
112 lines (97 loc) · 2.6 KB
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
106
107
108
109
110
111
112
variable "Eth0SubnetName" {
description = "Name of the subnet associated with the first network interface"
type = string
}
variable "Eth0VpcNetworkName" {
description = "Name of the virtual private cloud associated with the first network interface"
type = string
}
variable "InstanceId" {
default = "app"
description = "Id of the instance of this module that ensures uniqueness"
type = string
}
variable "MachineType" {
default = "n1-standard-4"
description = "Designation for set of resources available to VM"
type = string
validation {
condition = contains([ "n1-standard-4", "n1-standard-8" ], var.MachineType)
error_message = <<EOF
MachineType must be one of the following types:
n1-standard-4, n1-standard-8
EOF
}
}
variable "MarketplaceImageName" {
default = "keysight-breakingpoint-virtual-controller-26-1-10-52"
description = "Identifier for image"
type = string
}
variable "MarketplaceImageProjectId" {
default = "mpi-keysight-public"
description = "Globally unique identifier for image source project"
type = string
}
variable "NetworkTargetTags" {
default = [
"bps-app"
]
description = "Network tags make firewall rules and routes applicable to specific VM instances."
type = list(string)
}
variable "RegionName" {
default = "us-central1"
description = "Geographical location where resources can be hosted"
type = string
}
variable "SleepDelay" {
default = "7m"
description = "Time duration to delay to allow application to perform internal initialization required before use"
type = string
}
variable "Tag" {
default = "bps"
description = "App ID tag of application using the deployment"
type = string
}
variable "UserEmailTag" {
default = "terraform@example.com"
description = "Email address tag of user creating the deployment"
type = string
validation {
condition = length(var.UserEmailTag) >= 14
error_message = "UserEmailTag minimum length must be >= 14."
}
}
variable "UserLoginTag" {
default = "terraform"
description = "Login ID tag of user creating the deployment"
type = string
validation {
condition = length(var.UserLoginTag) >= 4
error_message = "UserLoginTag minimum length must be >= 4."
}
}
variable "UserProjectTag" {
default = "module"
description = "Project tag of user creating the deployment"
type = string
}
variable "Version" {
default = "26.1.0"
description = "Versioning of the application using the deployment"
type = string
}
variable "ZoneName" {
default = "us-central1-a"
description = "Deployment area within a region"
type = string
}
variable "init_cli" {
default = <<-EOF
#!/bin/bash -xe
BLADE_IPS=(10.0.10.11)
EOF
type = string
}