Skip to content

Commit

Permalink
WIP - crash repro
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Mar 11, 2021
1 parent e553869 commit 59b71de
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions builtin/providers/terraform/data_source_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
},
}
Expand Down

0 comments on commit 59b71de

Please sign in to comment.