Possible to taint multiple resources created with for_each

Is it possible to taint multiple resources that are created with a for_each?

# single resource
terraform taint null_resource.foo[\"foo\"]

# multiple resources?
terraform taint null_resource.foo[*]
terraform taint null_resource.foo['*']
terraform taint null_resource.foo["*"]
terraform taint null_resource.foo[\"*\"]
terraform taint null_resource.foo.*

The attempts at tainting multiple resources error with Splat expressions (.*) may not be used here.

I know there are some gotcha’s around quoting to delete individual resources by key name Taint a resource created with for_each, but I haven’t found a way to taint ALL the resources in a single command.

You need to taint each instance separately.