Skip to content

Add capability to GCS backend to allow use of a Private Service Connect endpoint for Google Storage API #28856

@nathanzanon

Description

@nathanzanon

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions