-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathvariables.tf
59 lines (49 loc) · 1.18 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
#####################################################
# Subnet Parameters
# Copyright 2020 IBM
#####################################################
variable "name" {
description = "Name of the subnet"
type = string
}
variable "vpc_id" {
description = "VPC ID"
type = string
}
variable "location" {
description = "location of the subnet"
type = string
}
#####################################################
# Optional Parameters
#####################################################
variable "ip_range" {
description = "IP range or CIDR block"
type = string
default = null
}
variable "resource_group_id" {
description = "Resource group ID"
type = string
default = null
}
variable "number_of_addresses" {
description = "Number of IPV4 Addresses"
type = number
default = null
}
variable "subnet_access_control_list" {
description = "Network ACL ID"
type = string
default = null
}
variable "public_gateway" {
description = "Public Gateway ID"
type = string
default = null
}
variable "routing_table" {
description = "Routing Table ID"
type = string
default = null
}