Skip to content

Commit 517895d

Browse files
committed
module: update default value
1 parent 05ce3b4 commit 517895d

File tree

4 files changed

+29
-72
lines changed

4 files changed

+29
-72
lines changed

examples/complete/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
provider "alicloud" {
2-
region = "cn-shanghai"
2+
region = "cn-zhangjiakou"
33
}
44

55
data "alicloud_ecd_bundles" "bundles" {

examples/complete/tfvars/01-update.tfvars

Lines changed: 0 additions & 43 deletions
This file was deleted.

examples/complete/variables.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ variable "visual_quality" {
135135
variable "watermark_transparency" {
136136
description = "The watermark transparency. Valid values: DARK, LIGHT, MIDDLE."
137137
type = string
138-
default = "DARK"
138+
default = null
139139
}
140140

141141
variable "watermark_type" {
142142
description = "The type of watemark. Valid values: EndUserId, HostName."
143143
type = string
144-
default = "HostName"
144+
default = null
145145
}
146146

147147
#alicloud_ecd_desktop
@@ -208,7 +208,7 @@ variable "root_disk_size_gib" {
208208
variable "desktop_status" {
209209
description = "The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping."
210210
type = string
211-
default = "Pending"
211+
default = null
212212
}
213213

214214
variable "stopped_mode" {
@@ -247,7 +247,7 @@ variable "bandwidth" {
247247
variable "mount_target_domain" {
248248
description = "The domain of mount target."
249249
type = string
250-
default = ""
250+
default = null
251251
}
252252

253253
variable "reset" {

variables.tf

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ variable "create_office_site" {
88
variable "office_site_name" {
99
description = "The office site name."
1010
type = string
11-
default = ""
11+
default = null
1212
}
1313

1414
variable "cidr_block" {
1515
description = "Workspace Corresponds to the Security Office Network of IPv4 Segment."
1616
type = string
17-
default = ""
17+
default = null
1818
}
1919

2020
variable "desktop_access_type" {
@@ -69,25 +69,25 @@ variable "create_user" {
6969
variable "end_user_id" {
7070
description = "The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters."
7171
type = string
72-
default = ""
72+
default = null
7373
}
7474

7575
variable "user_email" {
7676
description = "The email of the user email."
7777
type = string
78-
default = ""
78+
default = null
7979
}
8080

8181
variable "user_phone" {
8282
description = "The phone of the mobile phone number."
8383
type = string
84-
default = ""
84+
default = null
8585
}
8686

8787
variable "user_password" {
8888
description = "The password of the user password."
8989
type = string
90-
default = ""
90+
default = null
9191
}
9292

9393
variable "user_status" {
@@ -106,7 +106,7 @@ variable "create_policy_group" {
106106
variable "policy_group_name" {
107107
description = "The name of policy group."
108108
type = string
109-
default = ""
109+
default = null
110110
}
111111

112112
variable "policy_clipboard" {
@@ -148,7 +148,7 @@ variable "authorize_security_policy_rules" {
148148
variable "domain_list" {
149149
description = "The list of domain."
150150
type = string
151-
default = ""
151+
default = null
152152
}
153153

154154
variable "html_access" {
@@ -172,13 +172,13 @@ variable "visual_quality" {
172172
variable "watermark_transparency" {
173173
description = "The watermark transparency. Valid values: DARK, LIGHT, MIDDLE."
174174
type = string
175-
default = "DARK"
175+
default = null
176176
}
177177

178178
variable "watermark_type" {
179179
description = "The type of watemark. Valid values: EndUserId, HostName."
180180
type = string
181-
default = "HostName"
181+
default = null
182182
}
183183

184184
#alicloud_ecd_desktop
@@ -191,31 +191,31 @@ variable "create_desktop" {
191191
variable "desktop_name" {
192192
description = " The desktop name of the Desktop."
193193
type = string
194-
default = ""
194+
default = null
195195
}
196196

197197
variable "user_id" {
198198
description = "The desktop end user id of the Desktop.It will be ignored when create_user = true"
199199
type = string
200-
default = ""
200+
default = null
201201
}
202202

203203
variable "bundle_id" {
204204
description = "The bundle id of the Desktop."
205205
type = string
206-
default = ""
206+
default = null
207207
}
208208

209209
variable "office_site_id" {
210210
description = "The ID of the Simple Office Site."
211211
type = string
212-
default = ""
212+
default = null
213213
}
214214

215215
variable "policy_group_id" {
216216
description = "The policy group id of the Desktop.It will be ignored when create_policy_group = true"
217217
type = string
218-
default = ""
218+
default = null
219219
}
220220

221221
variable "amount" {
@@ -239,13 +239,13 @@ variable "auto_renew" {
239239
variable "desktop_type" {
240240
description = "The desktop type of the Desktop."
241241
type = string
242-
default = ""
242+
default = null
243243
}
244244

245245
variable "host_name" {
246246
description = " The hostname of the Desktop."
247247
type = string
248-
default = ""
248+
default = null
249249
}
250250

251251
variable "payment_type" {
@@ -311,7 +311,7 @@ variable "create_network_package" {
311311
variable "bandwidth" {
312312
description = "The bandwidth of package public network bandwidth peak. Valid values: 1~200. Unit:Mbps."
313313
type = string
314-
default = ""
314+
default = null
315315
}
316316

317317
#alicloud_ecd_nas_file_system
@@ -324,7 +324,7 @@ variable "create_nas_file_system" {
324324
variable "nas_file_system_description" {
325325
description = "The description of nas file system."
326326
type = string
327-
default = ""
327+
default = null
328328
}
329329

330330
variable "mount_target_domain" {
@@ -342,7 +342,7 @@ variable "reset" {
342342
variable "nas_file_system_name" {
343343
description = "The name of nas file system."
344344
type = string
345-
default = ""
345+
default = null
346346
}
347347
#alicloud_ecd_image
348348
variable "create_image" {
@@ -354,17 +354,17 @@ variable "create_image" {
354354
variable "image_name" {
355355
description = "The name of the image."
356356
type = string
357-
default = ""
357+
default = null
358358
}
359359

360360
variable "image_description" {
361361
description = "The description of the image."
362362
type = string
363-
default = ""
363+
default = null
364364
}
365365

366366
variable "desktop_id" {
367367
description = "The desktop id of the desktop.It will be ignored when create_desktop = true"
368368
type = string
369-
default = ""
370-
}
369+
default = null
370+
}

0 commit comments

Comments
 (0)