From ba9b19194ad257a2707827f617c28b4542190163 Mon Sep 17 00:00:00 2001 From: Sarah French Date: Fri, 7 Oct 2022 17:27:39 +0100 Subject: [PATCH] Add documentation for new `storage_custom_endpoint` endpoint --- website/docs/language/settings/backends/gcs.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/docs/language/settings/backends/gcs.mdx b/website/docs/language/settings/backends/gcs.mdx index f4de34a3a4fd..c69992b3993c 100644 --- a/website/docs/language/settings/backends/gcs.mdx +++ b/website/docs/language/settings/backends/gcs.mdx @@ -130,4 +130,5 @@ The following configuration options are supported: used when reading and writing state files in the bucket. Format should be `projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{name}}`. For more information, including IAM requirements, see [Customer-managed Encryption - Keys](https://cloud.google.com/storage/docs/encryption/customer-managed-keys). \ No newline at end of file + Keys](https://cloud.google.com/storage/docs/encryption/customer-managed-keys). +- `storage_custom_endpoint` / `GOOGLE_BACKEND_STORAGE_CUSTOM_ENDPOINT` / `GOOGLE_STORAGE_CUSTOM_ENDPOINT` - (Optional) A URL containing three parts: the protocol, the DNS name pointing to a Private Service Connect endpoint, and the path for the storage API (`/storage/v1/b`, [see here](https://cloud.google.com/storage/docs/json_api/v1/buckets/get#http-request)). You can either use [a DNS name automatically made by the Service Directory](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis#configure-p-dns) or a [custom DNS name](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis#configure-dns-default) made by you. For example, if you create an endpoint called `xyz` and want to use the automatically-created DNS name, you should set the field value as `https://storage-xyz.p.googleapis.com/storage/v1/b`. For help creating a Private Service Connect endpoint using Terraform, [see this guide](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis#terraform_1). \ No newline at end of file