-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
42 lines (36 loc) · 1020 Bytes
/
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
variable "name" {
type = "string"
description = "Name of subnet."
}
variable "description" {
type = "string"
description = "Description usage of subnet"
default = ""
}
variable "ip_cidr_range" {
type = "string"
description = "IP range in CIDR format of the subnet"
}
variable "network" {
type = "string"
description = "Name of self-link to the VPC this subnet will be linked to. Defaults to 'default' network"
}
variable "region" {
type = "string"
description = "Region in which subnet will be created. Defaults to the region in the terraform provider"
default = ""
}
variable "create_secondary_ranges" {
default = false
description = "Enable secondary ip ranges to be used with 'secondary_ranges' variable"
}
/*
* Parameters authorized:
* - range_name
* - ip_cidr_range
*/
variable "secondary_ranges" {
type = "list"
default = []
description = "Create up to 5 alternative CIDR range to represent this subnetwork"
}