terraform-provider-fusionauth
terraform-provider-fusionauth copied to clipboard
When application.data contains an array getting Error expected type 'string'
When the following data is stored in the application data in a valid json format:
{
"defaultLanguage" : "de",
"languages" : [ "de", "fr", "en" ]
}
It will complain with the following error:
│ Error: application.data: data.languages: '' expected type 'string', got unconvertible type '[]interface {}', value: '[de fr en]'
│
│ with fusionauth_application.syrakus-oldcapitol,
│ on syrakus-oldcapitol.tf line 6, in resource "fusionauth_application" "syrakus-oldcapitol":
│ 6: resource "fusionauth_application" "syrakus-oldcapitol" {