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
It would be very useful to make hclField more powerful to handle complex struct so the effort of support a new field in Terraform resource or module can be largely reduced, i.e. just adding {{hclField . "new_field" -}} in the template and allow that field as an object in the schema.
We could add support ourselves. Right now it just calls the lib https://github.com/rodaine/hclencoder so there isn't much we can do, apart from adding support there.
For example
In Terraform Engine config:
with
{{hclField . "notification_config" -}}
will be turned to
and with more complicated struct, for example
with with
{{hclField . "stream_configs" -}}
will be turned to
The text was updated successfully, but these errors were encountered: