title: How to input the dictionary structure in 'values' argument using the aws_ssm_parameter in terraform?
body: <p>I have one parameter in AWS System Manager, type of the value is string, but value has a dictionary structure:</p>
  
  <p>Value:</p>
  
  <p>{"key1": "value1","key2": "value2","key3": "value3"}</p>
  
  <p>Now i'm trying to create this parameter using the Terraform. But i received an error, when trying to write this in <em>aws_ssm_parameter resource</em>:</p>
  
  <pre><code>resource "aws_ssm_parameter" "Paramet" {
    name = "/dev/parameter/new"
    description = "Sample config values"
    type = "String"
    value = "{key1" : "value1", "key2" : "value2", "key3" : "value3}"
  }
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>$ terraform plan</p>
    
    <p>Error: Missing newline after argument</p>
    
    <p>on main.tf line 90, in resource "aws_ssm_parameter" "Paramet":   90:
    value = "{key1" : "value1", "key2" : "value2", "key3" : "value3}"</p>
    
    <p>An argument definition must end with a newline.</p>
  </blockquote>
  
  <p>This error is connected with  syntax, but i can't understand, how to fix this correctly.</p>
  
  <p>Please advice, how to input correctly this value in aws_ssm_parameter resource?</p>