title: how to fix attribute value type error for tags in terraform?
body: <p>I'm getting below attribute error while trying to upgrade the  terraform code from 0.11 to 0.12.29.</p>
  <p>Could anyone please help me on resolving the below error.</p>
  <p>Error:</p>
  <pre><code>Error: Incorrect attribute value type
  
    on ../../asg.tf line 68, in resource &quot;aws_autoscaling_group&quot; &quot;asg&quot;:
    68:   tags = concat( 
  
  Inappropriate value for attribute &quot;tags&quot;: element 18: map of string required.
  </code></pre>
  <p>0.11 code:</p>
  <pre><code>tags = [&quot;${concat( 
      list(
        map(&quot;key&quot;, &quot;Name&quot;, &quot;value&quot;, &quot;${lookup(var.common, &quot;Name&quot;)}&quot;, &quot;propagate_at_launch&quot;, true),
        map(&quot;key&quot;, &quot;Project&quot;, &quot;value&quot;, &quot;${lookup(var.common, &quot;project&quot;)}&quot;, &quot;propagate_at_launch&quot;, true)
        ),
      var.asgcustomtags)
  }&quot;]
  </code></pre>
  <p>0.12 code:</p>
  <pre><code>tags = concat( 
      [
        {&quot;key&quot; = &quot;Name&quot;, &quot;value&quot; = &quot;${lookup(var.common, &quot;Name&quot;)}&quot;, &quot;propagate_at_launch&quot; = true},
        {&quot;key&quot; = &quot;Project&quot;, &quot;value&quot; = &quot;${lookup(var.common, &quot;project&quot;)}&quot;, &quot;propagate_at_launch&quot; = true},
      ],
      var.asgcustomtags,
    )
  </code></pre>
  <p>Thank you in advance.</p>