We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd15cc7 commit 5104c52Copy full SHA for 5104c52
types/parameter.go
@@ -95,7 +95,8 @@ type ParameterOption struct {
95
96
func (r *ParameterData) Valid(value HCLString) hcl.Diagnostics {
97
var defPtr *string
98
- if !r.DefaultValue.Value.IsNull() {
+
99
+ if r.DefaultValue.Valid() && r.DefaultValue.IsKnown() {
100
def := r.DefaultValue.Value.AsString()
101
defPtr = &def
102
}
0 commit comments