You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: variables.tf
+37Lines changed: 37 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,31 @@ variable "region" {
6
6
default="cn-beijing"
7
7
}
8
8
9
+
variable"profile" {
10
+
description="The profile name as set in the shared credentials file. If not set, it will be sourced from the ALICLOUD_PROFILE environment variable."
11
+
default=""
12
+
}
13
+
variable"shared_credentials_file" {
14
+
description="This is the path to the shared credentials file. If this is not set and a profile is specified, $HOME/.aliyun/config.json will be used."
15
+
default=""
16
+
}
17
+
18
+
variable"skip_region_validation" {
19
+
description="Skip static validation of region ID. Used by users of alternative AlibabaCloud-like APIs or users w/ access to regions that are not public (yet)."
20
+
default=false
21
+
}
22
+
23
+
variable"filter_with_name_regex" {
24
+
description="A default filter applied to retrieve existing vswitches, nat gateway, eip, snat entry and kubernetes clusters by name regex."
25
+
default=""
26
+
}
27
+
28
+
variable"filter_with_tags" {
29
+
description="A default filter applied to retrieve existing vswitches, nat gateway, eip, snat entry and kubernetes clusters by tags."
30
+
type=map(string)
31
+
default={}
32
+
}
33
+
9
34
variable"availability_zone" {
10
35
description="The available zone to launch ecs instance and other resources."
11
36
default=""
@@ -48,6 +73,18 @@ variable "vpc_cidr" {
48
73
}
49
74
50
75
# VSwitch variables
76
+
77
+
variable"vswitch_name_regex" {
78
+
description="A default filter applied to retrieve existing vswitches by name regex. If not set, `filter_with_name_regex` will be used."
79
+
default=""
80
+
}
81
+
82
+
variable"vswitch_tags" {
83
+
description="A default filter applied to retrieve existing vswitches by tags. If not set, `filter_with_tags` will be used."
84
+
type=map(string)
85
+
default={}
86
+
}
87
+
51
88
variable"vswitch_name_prefix" {
52
89
description="The vswitch name prefix used to create several new vswitches. Default to variable `example_name`"
0 commit comments