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
I think the detail of what can be used for output is best described in the data source docs where it states:
"The JSON can be a complex nested JSON, but will be flattened into a map[string]string. The reason for this is that your JSON payload variables can be accessed from the output map of this resource and used like a normal terraform output, so the value must be a string. You can use the built-in jsondecode() function to read nested JSON values if you really need to.".
Docs could certainly be better for this; the example referenced in the tests is:
I tried outputting a JSON string for create. Didn't work.
I tried outputting a JSON object. That worked.
It would be good to documentation what JSON types are permitted.
The text was updated successfully, but these errors were encountered: