-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathvariables.tf
More file actions
44 lines (35 loc) · 1.7 KB
/
variables.tf
File metadata and controls
44 lines (35 loc) · 1.7 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
# variables - see template.local.env for the required variables
variable "resource_group_name" {
description = "Exiting resource group that will contain all the resources created by the script."
}
variable "ssh_key_name" {
description = "SSH keys are needed to connect to virtual instances. https://cloud.ibm.com/docs/vpc?topic=vpc-getting-started"
}
variable "prefix" {
description = "resources created will be named: $${prefix}vpc-pubpriv, vpc name will be $${prefix} or will be defined by vpc_name"
default = "vpns2s"
}
variable "region" {
description = "Availability zone that will have the resources deployed to. To obtain a list of availability zones you can run the ibmcloud cli: ibmcloud is regions."
default = "us-south"
}
variable "zone_number" {
description = "Availability zone number (1,2,3) that will have the resources deployed to. To obtain a list of availability zones you can run the ibmcloud cli: ibmcloud is zones."
default = "1"
}
variable "cloud_pgw" {
description = "set to true if the cloud should have a public gateway. This is used to provision software."
default = true
}
variable "bastion_pgw" {
description = "set to true if the bastion should have a public gateway. This is used to provision software."
default = false
}
variable "profile" {
description = "Indicates the compute resources assigned to the instance. To see a list of available options you can run the ibmcloud cli: ibmcloud is instance-profiles."
default = "cx2-2x4"
}
variable "maintenance" {
description = "when true, the cloud instance will add the bastion maintenance security group to their security group list, allowing ssh access from the bastion."
default = true
}