Current Terraform Version
Terraform v0.15.4
on darwin_amd64
Use-cases
To use the Google Cloud Storage (GCS) backend through a Private Service Connect endpoint, which can be used to provide a custom endpoint for the Storage API, e.g. storage-xyz.p.googleapis.com.
Using a custom endpoint with GCS should be able to be configured in the backend block, or through an OS environment variable.
Attempted Solutions
None
Proposal
The Private Service Connect endpoint documentation provides the following info:
Go: You can configure WithEndpoint in the Client options package in the api package.
To allow specifying custom endpoints for the GCS API, e.g. storage-xyz.p.googleapis.com.
Then from a usage perspective I believe this could follow a similar implementation method to the S3 backend config that can be specified through endpoint.
References
None