WIP - crash repro

json-schema-export-crash
Radek Simko 5 years ago
parent 0750a16cce
commit 63e43187f5
No known key found for this signature in database
GPG Key ID: 1F1C84FE689A88D7

@ -56,6 +56,24 @@ func dataSourceRemoteStateGetSchema() providers.Schema {
DescriptionKind: configschema.StringMarkdown,
Optional: true,
},
"foo": {
NestedType: &configschema.Object{
Attributes: map[string]*configschema.Attribute{
"one": {
Type: cty.String,
Optional: true,
},
"two": {
Type: cty.Number,
Optional: true,
},
},
Nesting: configschema.NestingSingle,
},
Description: "Testing something",
DescriptionKind: configschema.StringMarkdown,
Optional: true,
},
},
},
}

Loading…
Cancel
Save