title: How can combine the map values with terraform?
body: <p>I've tried this:</p>
  
  <pre><code>variable "records" {
    type = "map"
    default = {
      "mediapop.co." = ["www.mediapop.co"],
      "mediapopinc.com." = ["mediapopinc.com", "www.mediapopinc.com"] ,
      "mediapop.sg." = ["mediapop.sg", "www.mediapop.sg"],
    }
  }
  
  output "records" {
    value = "${flatten(values(var.records))}"
  }
  </code></pre>
  
  <p>but <code>values()</code> only allows for flat maps. Is there a workaround?</p>