-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
77 lines (60 loc) · 2.25 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
variable "project_id" {
description = "GCP Project ID"
type = string
}
variable "public_key_path" {
description = "Local path to public SSH key. To generate the key pair use `ssh-keygen -t rsa -C admin -N '' -f id_rsa` If you do not have a public key, run `ssh-keygen -f ~/.ssh/demo-key -t rsa -C admin`"
type = string
}
variable "mgmt_allow_ips" {
description = "A list of IP addresses to be added to the management network's ingress firewall rule. The IP addresses will be able to access to the VM-Series management interface."
type = list(string)
}
variable "create_test_vms" {
description = "If set to true, test workloads will be deployed to test IPv6 and IPv4 traffic."
type = bool
}
variable "vmseries_image" {
description = "Name of the VM-Series image within the paloaltonetworksgcp-public project. To list available images, run: `gcloud compute images list --project paloaltonetworksgcp-public --no-standard-images`. If you are using a custom image in a different project, please update `local.vmseries_iamge_url` in `main.tf`."
type = string
}
variable "region" {
description = "GCP Region"
default = "us-central1"
type = string
}
variable "prefix" {
description = "Prefix to GCP resource names, an arbitrary string"
default = ""
type = string
}
variable "subnet_cidr_mgmt" {
description = "IPv4 CIDR for the VM-Series mgmt subnetwork."
default = "10.0.0.0/28"
type = string
}
variable "subnet_cidr_untrust" {
description = "IPv4 CIDR for the VM-Series untrust subnetwork."
default = "10.0.1.0/28"
type = string
}
variable "subnet_cidr_untrust_lb" {
description = "IPv4 CIDR for the external load balancer subnetwork."
default = "10.0.1.16/28"
type = string
}
variable "subnet_cidr_trust" {
description = "IPv4 CIDR for the VM-Series trust subnetwork."
default = "10.0.2.0/28"
type = string
}
variable "subnet_cidr_web" {
description = "IPv4 CIDR for the external network for ingress testing."
default = "10.0.3.0/28"
type = string
}
variable "subnet_cidr_external" {
description = "IPv4 CIDR for the external network for ingress testing."
default = "192.168.0.0/28"
type = string
}