title: Adding a default field for type = map(object()) in variavles.tf
body: <p>I have the following variable in my variables.tf file:</p>
  <pre><code>variable &quot;accounts&quot; {
     type = map(object({
         field1       = string,
         field2       = list(string),
         field3       = list(string),
         field4       = list(string),
         field5       = string
    }))
   }
  </code></pre>
  <p>I need to add a default field so that my users don't have to specify every field. For example, if field2 is an empty list, I don't want the user to have to define <code>field2 =[]</code></p>
  <p>I've tried some variations of the following but nothing seems to work.</p>
  <pre><code>default = {
    default = {
      &quot;field1&quot;   = &quot;&quot;,
      &quot;field2&quot;   = [],
      &quot;field3&quot;   = [],
      &quot;field4&quot;   = [],
      &quot;field5&quot;   = &quot;&quot;
    }
  }
  </code></pre>
  <p>Anyone have any idea of how to do it or know if it's even possible?</p>