Skip to content

Commit 28466ba

Browse files
committed
fix e2e
1 parent a9bb1e3 commit 28466ba

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

preview_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,6 @@ func Test_Extract(t *testing.T) {
619619
errorDiagnostics("The set of options cannot be resolved"),
620620
},
621621
variables: map[string]assertVariable{
622-
// For now, unknown values are treated as nil :shrug:
623622
"unknown": av().def(cty.NilVal),
624623
},
625624
},

testdata/static/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ variable "complex" {
3838
name = string
3939
age = number
4040
})
41+
default = {
42+
list = []
43+
name = "John Doe"
44+
age = 30
45+
}
4146
}
4247

4348

testdata/unknownoption/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ terraform {
1414
}
1515

1616
variable "unknown" {
17-
default = data.docker_registry_image.ubuntu.sha256_digest
17+
default = null
1818
}
1919

2020
data "coder_parameter" "unknown" {

0 commit comments

Comments
 (0)