File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff 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 },
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ terraform {
1414}
1515
1616variable "unknown" {
17- default = data . docker_registry_image . ubuntu . sha256_digest
17+ default = null
1818}
1919
2020data "coder_parameter" "unknown" {
You can’t perform that action at this time.
0 commit comments