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 6d83d05 commit 587c3d6Copy full SHA for 587c3d6
types/terraform.go
@@ -6,9 +6,11 @@ import (
6
7
type Variable struct {
8
Name string `json:"name"`
9
- // Unsure how cty values json marshal
10
- Default cty.Value `json:"default"`
11
- Type cty.Type `json:"type"`
+ // JSON marshalling of cty types and values is not safe. Until these json values
+ // are needed, serialization of them is not supported.
+ // If serialization is supported, a custom marshaller will be needed.
12
+ Default cty.Value `json:"-"`
13
+ Type cty.Type `json:"-"`
14
Description string `json:"description"`
15
Nullable bool `json:"nullable"`
16
Sensitive bool `json:"sensitive"`
0 commit comments