Terraform state leaking CXone OAuth client_secret

Running terraform plan prints the raw client_secret for our CXone OAuth app. It’s sitting right there in the state file. Setting sensitive = true on the variable doesn’t hide it in the output. How do I stop the provider from writing the plain text secret to the state?