should this work, if the var passed on, doesn’t have the default value filled in?
variable “variable” { description = “configs” type = list( object( { arg1 = string arg2 = string arg3 = string arg4 = string } ) ) default = [ { arg1 = null arg2 = null arg3 = null arg4 = “foobar” } ] }
it is failing with
Error: Invalid value for input variable
The environment variable TF_VAR_variable does not contain a valid value for
variable “variable”: element 0: attribute “arg4” is required.