forked from alibabacloud-automation/terraform-alicloud-vpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
77 lines (64 loc) · 2.08 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
76
77
variable "availability_zones" {
description = "List available zones to launch several VSwitches."
type = "list"
default = [""]
}
variable "number_format" {
description = "The number format used to output."
default = "%02d"
}
# Instance typs variables
variable "cpu_core_count" {
description = "CPU core count used to fetch instance types."
default = 1
}
variable "memory_size" {
description = "Memory size used to fetch instance types."
default = 2
}
# VPC variables
variable "vpc_id" {
description = "The vpc id used to launch several vswitches."
default = ""
}
variable "vpc_name" {
description = "The vpc name used to launch a new vpc when 'vpc_id' is not specified."
default = "TF-VPC"
}
variable "vpc_description" {
description = "The vpc description used to launch a new vpc when 'vpc_id' is not specified."
default = "A new VPC created by Terrafrom module tf-alicloud-vpc-cluster"
}
variable "vpc_cidr" {
description = "The cidr block used to launch a new vpc when 'vpc_id' is not specified."
default = "172.16.0.0/12"
}
# VSwitch variables
variable "vswitch_cidrs" {
description = "List of cidr blocks used to launch several new vswitches."
type = "list"
default = []
}
variable "vswitch_name" {
description = "The vswitch name prefix used to launch several new vswitch."
default = "TF_VSwitch"
}
variable "vswitch_description" {
description = "The vswitch description used to launch several new vswitch."
default = "New VSwitch created by Terrafrom module tf-alicloud-vpc-cluster."
}
// According to the vswitch cidr blocks to launch several vswitches
variable "route_table_id" {
description = "The route table ID of virtual router in the specified VPC."
default = ""
}
variable "destination_cidrs" {
description = "List of destination CIDR block of virtual router in the specified VPC."
type = "list"
default = []
}
variable "nexthop_ids" {
description = "List of next hop instance IDs of virtual router in the specified VPC."
type = "list"
default = []
}