From b1aed8f76ad1a3d7717a6937524b129a49328b45 Mon Sep 17 00:00:00 2001 From: Simon Huang Date: Thu, 24 Oct 2024 10:14:38 -0700 Subject: [PATCH] Fix example that is too specific to AWS provider --- website/docs/cloud-docs/registry/publish-providers.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/cloud-docs/registry/publish-providers.mdx b/website/docs/cloud-docs/registry/publish-providers.mdx index 2b376ec87..7f59ae660 100644 --- a/website/docs/cloud-docs/registry/publish-providers.mdx +++ b/website/docs/cloud-docs/registry/publish-providers.mdx @@ -129,7 +129,7 @@ Create a file named `version.json` with the following contents. Replace the valu } ``` -Use the [Create a Provider Version endpoint](/terraform/cloud-docs/api-docs/private-registry/provider-versions-platforms#create-a-provider-version) to create a version for your provider. Replace `TOKEN` in the `Authorization` header with your HCP Terraform API token, and replace both instances of `ORG_NAME` with the name of your organization. +Use the [Create a Provider Version endpoint](/terraform/cloud-docs/api-docs/private-registry/provider-versions-platforms#create-a-provider-version) to create a version for your provider. Replace `TOKEN` in the `Authorization` header with your HCP Terraform API token, and replace both instances of `ORG_NAME` with the name of your organization. Replace `TF_PROVIDER_NAME` in the URL path with your terraform provider name ```shell-session $ curl \ @@ -137,7 +137,7 @@ $ curl \ --header "Content-Type: application/vnd.api+json" \ --request POST \ --data @payload.json \ - https://app.terraform.io/api/v2/organizations/ORG_NAME/registry-providers/private/ORG_NAME/aws/versions + https://app.terraform.io/api/v2/organizations/ORG_NAME/registry-providers/private/ORG_NAME/TF_PROVIDER_NAME/versions ``` The response includes URL links that you will use to upload the `SHA256SUMS` and `SHA256.sig` files.