Sending custom request headers when creating a bucket


We are using Cloudian, therefore we have the option of specifying the storage policy for the bucket by sending a x-gmt-policyid header when creating a bucket.

It is currently possible with boto3 by injecting it into the event system for boto3 (Adding custom headers to all boto3 requests - Stack Overflow).
Is there anything similar possible for the AWS terraform provider?

After a look through the code, it does not seem like it is supported.
But it is possible to add custom headers, like in this example addHeader.go - AWS Code Sample