S3 bucket used with another provider than AWS

Hi !

I’m currently facing issues while trying to upload file from my self-hosted deployment.
The storage engine is a S3 bucket provided by OVH Public Cloud. I correctly setup the endpoint and credentials, but I’m asking what to do about the region, which is not the AWS one, but the OVH one.
On my case, I’m using the “gra” region, but it is not matching a classic pattern, so it seems an internal penpot validator reject this value, but when a use something else, it is rejected by OVH …

Does someone found a solution when using S3 bucket provided by something else than AWS ?

Many thanks