From 0c908a3a758a171be10fdccd4729d417ea26cc82 Mon Sep 17 00:00:00 2001 From: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> Date: Thu, 3 Mar 2022 18:29:53 -0500 Subject: [PATCH 1/4] Remove Beta language from HCP packer data sources pages --- website/content/docs/datasources/hcp/hcp-packer-image.mdx | 3 +-- website/content/docs/datasources/hcp/hcp-packer-iteration.mdx | 3 +-- .../content/docs/datasources/hcp/packer-image-iteration.mdx | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/website/content/docs/datasources/hcp/hcp-packer-image.mdx b/website/content/docs/datasources/hcp/hcp-packer-image.mdx index 921c10fbd..3b16e3734 100644 --- a/website/content/docs/datasources/hcp/hcp-packer-image.mdx +++ b/website/content/docs/datasources/hcp/hcp-packer-image.mdx @@ -19,8 +19,7 @@ The `HCP Packer Image` Data Source retrieves information about an image from the HCP Packer registry. This information can be used to provide a source image to various Packer builders. -~> **Note:** HCP Packer is under active development, and we are currently offering a [public beta version](https://portal.cloud.hashicorp.com) to collect feedback and continue improving the product. -To get started, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. +~> **Note:** To get started with HCP Packer, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. ## Basic Example diff --git a/website/content/docs/datasources/hcp/hcp-packer-iteration.mdx b/website/content/docs/datasources/hcp/hcp-packer-iteration.mdx index 1f1f43b09..8f5c2b10d 100644 --- a/website/content/docs/datasources/hcp/hcp-packer-iteration.mdx +++ b/website/content/docs/datasources/hcp/hcp-packer-iteration.mdx @@ -19,8 +19,7 @@ The `HCP Packer Iteration` Data Source retrieves information about an iteration from the HCP Packer registry. This information can be used to query HCP for a source image for various Packer builders. -~> **Note:** HCP Packer is under active development, and we are currently offering a [public beta version](https://portal.cloud.hashicorp.com) to collect feedback and continue improving the product. -To get started, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. +~> **Note:** To get started with HCP Packer, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. ## Basic Example diff --git a/website/content/docs/datasources/hcp/packer-image-iteration.mdx b/website/content/docs/datasources/hcp/packer-image-iteration.mdx index b1204d80c..5888096ae 100644 --- a/website/content/docs/datasources/hcp/packer-image-iteration.mdx +++ b/website/content/docs/datasources/hcp/packer-image-iteration.mdx @@ -19,8 +19,7 @@ The `Packer Image Iteration` Data Source retrieves information about an iteration from the HCP Packer registry. This information can be parsed to provide a source image to various Packer builders. -~> **Note:** HCP Packer is under active development, and we are currently offering a [public beta version](https://portal.cloud.hashicorp.com) to collect feedback and continue improving the product. -To get started, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. +~> **Note:** To get started with HCP Packer, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. ## Basic Example From d4447c3c17ae6577f010c437b2a9ef29f5685072 Mon Sep 17 00:00:00 2001 From: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> Date: Thu, 3 Mar 2022 18:38:15 -0500 Subject: [PATCH 2/4] Fix langauge on docs intro page and templates build block page --- website/content/docs/index.mdx | 4 +--- .../hcl_templates/blocks/build/hcp_packer_registry.mdx | 8 +------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/website/content/docs/index.mdx b/website/content/docs/index.mdx index 186ad6e51..2758108db 100644 --- a/website/content/docs/index.mdx +++ b/website/content/docs/index.mdx @@ -12,10 +12,8 @@ To install Packer and learn the standard Packer workflow, try the [Get Started t ## HCP Packer -The HCP Packer registry bridges the gap between image factories and image deployments, allowing development and security teams to work together to create, manage, and consume golden images in a centralized way. +The HCP Packer registry bridges the gap between image factories and image deployments, allowing development and security teams to work together to create, manage, and consume images in a centralized way. The HCP Packer registry stores metadata about your images, including when they were created, where the image exists in the cloud, and what (if any) git commit is associated with your image build. You can use the registry to track information about the golden images your Packer builds produce, clearly designate which images are appropriate for test and production environments, and query for the right golden images to use in both Packer and Terraform configurations. -HCP Packer is under active development, and we are currently offering a [public beta version](https://portal.cloud.hashicorp.com) to collect feedback and continue improving the product. We encourage you to try HCP Packer and submit your feedback. - To get started, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. diff --git a/website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx b/website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx index ef341fd06..84c102811 100644 --- a/website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx +++ b/website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx @@ -7,13 +7,7 @@ page_title: hcp_packer_registry - build - Blocks # The `hcp_packer_registry` block -~> **Note:** HCP Packer is under active development, and we are currently -offering a [public beta version](https://portal.cloud.hashicorp.com) to collect -feedback and continue improving the product. -To get started, visit the -[HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the -[Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) -collection on HashiCorp Learn. +~> **Note:** To get started with HCP Packer, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. The `hcp_packer_registry` block allows operators the ability to customize the From 4a61d4ad0b1e27af60f6d50aa85262570704def5 Mon Sep 17 00:00:00 2001 From: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> Date: Thu, 3 Mar 2022 18:48:08 -0500 Subject: [PATCH 3/4] Add notes about deactivated registries --- .../content/docs/datasources/hcp/hcp-packer-image.mdx | 4 +++- .../docs/datasources/hcp/hcp-packer-iteration.mdx | 4 +++- .../docs/datasources/hcp/packer-image-iteration.mdx | 4 +++- .../hcl_templates/blocks/build/hcp_packer_registry.mdx | 9 +++++---- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/website/content/docs/datasources/hcp/hcp-packer-image.mdx b/website/content/docs/datasources/hcp/hcp-packer-image.mdx index 3b16e3734..443716eb5 100644 --- a/website/content/docs/datasources/hcp/hcp-packer-image.mdx +++ b/website/content/docs/datasources/hcp/hcp-packer-image.mdx @@ -19,7 +19,9 @@ The `HCP Packer Image` Data Source retrieves information about an image from the HCP Packer registry. This information can be used to provide a source image to various Packer builders. -~> **Note:** To get started with HCP Packer, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. +To get started with HCP Packer, refer to the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. + +~> **Note:** You will receive an error if you try to reference metadata from a deactivated or deleted registry. An administrator can manually deactivate or delete a registry, and HCP Packer automatically deactivates registries with billing issues. Contact [HashiCorp Support](https://support.hashicorp.com/) with questions. ## Basic Example diff --git a/website/content/docs/datasources/hcp/hcp-packer-iteration.mdx b/website/content/docs/datasources/hcp/hcp-packer-iteration.mdx index 8f5c2b10d..1b28fa696 100644 --- a/website/content/docs/datasources/hcp/hcp-packer-iteration.mdx +++ b/website/content/docs/datasources/hcp/hcp-packer-iteration.mdx @@ -19,7 +19,9 @@ The `HCP Packer Iteration` Data Source retrieves information about an iteration from the HCP Packer registry. This information can be used to query HCP for a source image for various Packer builders. -~> **Note:** To get started with HCP Packer, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. +To get started with HCP Packer, refer to the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. + +~> **Note:** You will receive an error if you try to reference metadata from a deactivated or deleted registry. An administrator can manually deactivate or delete a registry, and HCP Packer automatically deactivates registries with billing issues. Contact [HashiCorp Support](https://support.hashicorp.com/) with questions. ## Basic Example diff --git a/website/content/docs/datasources/hcp/packer-image-iteration.mdx b/website/content/docs/datasources/hcp/packer-image-iteration.mdx index 5888096ae..4ac872505 100644 --- a/website/content/docs/datasources/hcp/packer-image-iteration.mdx +++ b/website/content/docs/datasources/hcp/packer-image-iteration.mdx @@ -19,7 +19,9 @@ The `Packer Image Iteration` Data Source retrieves information about an iteration from the HCP Packer registry. This information can be parsed to provide a source image to various Packer builders. -~> **Note:** To get started with HCP Packer, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. +To get started with HCP Packer, refer to the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. + +~> **Note:** You will receive an error if you try to reference metadata from a deactivated or deleted registry. An administrator can manually deactivate or delete a registry, and HCP Packer automatically deactivates registries with billing issues. Contact [HashiCorp Support](https://support.hashicorp.com/) with questions. ## Basic Example diff --git a/website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx b/website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx index 84c102811..666b152b3 100644 --- a/website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx +++ b/website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx @@ -7,12 +7,11 @@ page_title: hcp_packer_registry - build - Blocks # The `hcp_packer_registry` block -~> **Note:** To get started with HCP Packer, visit the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. +The `hcp_packer_registry` block lets you customize the metadata Packer sends to HCP Packer Registry. It configures the details of an image that is created or updated within the HCP Packer registry. +To get started with HCP Packer, refer to the [HCP Packer documentation](https://cloud.hashicorp.com/docs/packer) or try the [Get Started with HCP Packer](https://learn.hashicorp.com/collections/packer/hcp-get-started) collection on HashiCorp Learn. -The `hcp_packer_registry` block allows operators the ability to customize the -metadata sent to HCP Packer Registry. It configures the details of an image -that is created or updated within the HCP Packer registry. +## Usage This block is available from version 1.7.7 of Packer. @@ -23,6 +22,8 @@ registry if the appropriate HCP credentials are set (`HCP_CLIENT_ID` and and exit immediately to avoid any potential artifact drift between the defined builders (source blocks) and the HCP Packer registry. +~> **Note:** You will receive an error if you try to reference metadata from a deactivated or deleted registry. An administrator can manually deactivate or delete a registry, and HCP Packer automatically deactivates registries with billing issues. Contact [HashiCorp Support](https://support.hashicorp.com/) with questions. + ```hcl # file: builds.pkr.hcl source "happycloud" "macos" { From e47821f13bf2cc451089007217f75e8489a4a7c5 Mon Sep 17 00:00:00 2001 From: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> Date: Thu, 3 Mar 2022 18:51:29 -0500 Subject: [PATCH 4/4] Remove beta language from data sources overview page --- website/content/docs/datasources/hcp/index.mdx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/website/content/docs/datasources/hcp/index.mdx b/website/content/docs/datasources/hcp/index.mdx index 3355a7a58..22af507ff 100644 --- a/website/content/docs/datasources/hcp/index.mdx +++ b/website/content/docs/datasources/hcp/index.mdx @@ -13,7 +13,7 @@ sidebar_title: Overview The HCP Packer registry bridges the gap between image factories and image deployments, allowing development and security teams to work together to create, -manage, and consume golden images in a centralized way. +manage, and consume images in a centralized way. The HCP Packer registry stores metadata about your images, including when they were created, where the image exists in the cloud, and what (if any) git commit @@ -23,10 +23,6 @@ designate which images are appropriate for test and production environments, and query for the right golden images to use in both Packer and Terraform configurations. -HCP Packer is under active development, and we are currently offering a public -beta version to collect feedback and continue improving the product. We -encourage you to try HCP Packer and submit your feedback. - Packer has two data sources that work together to retrieve information from the HCP Packer registry: