Provisioner "local-exec" - Unknown options

provisioner "local-exec" {
command = "aws athena start-query-execution --work-group \"${aws_athena_workgroup.dw_test-wg.name}\" --query-execution-context \"Database=xxx-fis-2-xxxxxx-db,Catalog=AwsDataCatalog\" --query-string \"select 1\" --result-configuration \"OutputLocation=s3://xxx-rd-athena-results\""
     
     }

Error i get is:

Unknown options: 1"

It seems that it has a problem with whitespace. That’s just a test query. Before it listem all the words after ‘select’ as unknown options.

I’ve been dealing with this for multiple hours now. Please advise.
Command work perfectly fine from AWS CLI.