Aws ssm maintenance window task parameter as List of Empty String sends empty list

We’ve been trying to create an Automation task using the AWS-PatchAsgInstance document, which when used in a patch window specifies not to populate InstanceID (but it’s a required parameter nonetheless), and the subsequent task invocation fails because the task isn’t populated properly.

When passing (which is the right value to set for this task in an automation window)

      parameter {
        name   = "InstanceId"
        values = [""]

terraform actually sends


to the AWS API, which has the impact that the SSM task is malformed - is there any way of forcing Terraform to actually send the list with a single element of an empty string into the API (which is what the AWS console does)