Aws Systems manager document help

Trying to create an aws systems manager document with automation to basically execute the hello world
as below and running into issues
resource “aws_ssm_association” “testa” {
name = aws_ssm_document.test.name
schedule_expression = “cron(0 0 0 ? * * *)”
targets {
key = “tag:run_ssm_document”
values = [“yes”]
}
}

resource “aws_ssm_document” “test” {
name = “testdone”
document_format = “YAML”
document_type = “Automation”

content =<<DOC
{
schemaVersion:“0.3”,
assumeRole:
parameters:
{},

mainSteps: [
{
-name:runtestpose
action: “aws:executeScript”
inputs:
Runtime: python3.6
Handler: script_handler
Script:|
def script_handler(events, context):
import boto3
ec2 = boto3.client(‘ec2’)
print(“hello world”)
}
}
]
DOC
}