You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After introducing AnyExpression as part of #174 we forgot to also update certain parts of the core schema which involve complex type constraints, such as provisioner blocks:
Description: lang.Markdown("A list of command strings. They are executed in the order they are provided."+
" This cannot be provided with `script` or `scripts`."),
},
This means that currently we don't allow interpolation in various places, e.g.
Proposal
Go through all places where we use schema.List, schema.Set, schema.Tuple, schema.Map and schema.Object and check if they need updating to schema.OneOf{} variation, such as
Context
After introducing
AnyExpression
as part of #174 we forgot to also update certain parts of the core schema which involve complex type constraints, such as provisioner blocks:terraform-schema/internal/schema/0.12/provisioners.go
Lines 118 to 125 in 664a8e0
This means that currently we don't allow interpolation in various places, e.g.
Proposal
Go through all places where we use
schema.List
,schema.Set
,schema.Tuple
,schema.Map
andschema.Object
and check if they need updating toschema.OneOf{}
variation, such asterraform-schema/schema/convert_json_test.go
Lines 191 to 196 in 664a8e0
The text was updated successfully, but these errors were encountered: