forked from quarks-labs/gcp-network-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tf-variables.tf
36 lines (33 loc) · 834 Bytes
/
tf-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
variable "region" {
type = string
description = "GCP Region"
}
variable "name" {
type = string
description = "Name of GCP Network"
}
variable "project" {
type = string
description = "Name of GCP Network"
}
variable "subnetworks" {
type = list(object({
name = string
region = string
ip_cidr_range = string
private_ip_google_access = bool
nat = object({
nat_ip_allocate_option = string
source_subnetwork_ip_ranges_to_nat = string
})
secondary_ip_ranges = list(object({
range_name = string
ip_cidr_range = string
}))
}))
description = "List of GCP Subnetworks"
}
variable "auto_create_subnetworks" {
type = bool
description = "If auto_crea_subnetworks is true, subnet is created automality"
}