Skip to content

Commit 1fec644

Browse files
committed
fix typos and terraform validate
1 parent c29960f commit 1fec644

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

examples/templates/aws-windows/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ data "coder_parameter" "region" {
108108

109109
data "coder_parameter" "instance_type" {
110110
name = "instance_type"
111-
dsiplay_name = "Instance Type"
111+
display_name = "Instance Type"
112112
description = "What instance type should your workspace use?"
113113
default = "t3.micro"
114114
mutable = false

examples/templates/azure-linux/main.tf

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ data "coder_parameter" "location" {
151151
}
152152

153153
data "coder_parameter" "instance_type" {
154-
name = "instance_type"
155-
display = "Instance Type"
156-
description = "What instance type should your workspace use?"
157-
default = "Standard_B4ms"
158-
icon = "/icon/azure.png"
159-
mutable = false
154+
name = "instance_type"
155+
display_name = "Instance Type"
156+
description = "What instance type should your workspace use?"
157+
default = "Standard_B4ms"
158+
icon = "/icon/azure.png"
159+
mutable = false
160160
option {
161161
name = "Standard_B1ms (1 vCPU, 2 GiB RAM)"
162162
value = "Standard_B1ms"
@@ -204,13 +204,13 @@ data "coder_parameter" "instance_type" {
204204
}
205205

206206
data "coder_parameter" "home_size" {
207-
name = "home_size"
208-
display = "Home Volume Size"
209-
description = "How large would you like your home volume to be (in GB)?"
210-
default = 20
211-
type = "number"
212-
icon = "/icon/azure.png"
213-
mutable = false
207+
name = "home_size"
208+
display_name = "Home Volume Size"
209+
description = "How large would you like your home volume to be (in GB)?"
210+
default = 20
211+
type = "number"
212+
icon = "/icon/azure.png"
213+
mutable = false
214214
validation {
215215
min = 1
216216
max = 1024

0 commit comments

Comments
 (0)