-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
seo improvements data sources references
- Loading branch information
1 parent
2e60923
commit 8eb277b
Showing
8 changed files
with
69 additions
and
86 deletions.
There are no files selected for viewing
15 changes: 6 additions & 9 deletions
15
website/content/docs/datasources/hcp/hcp-packer-artifact.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 5 additions & 9 deletions
14
website/content/docs/datasources/hcp/hcp-packer-iteration.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 10 additions & 13 deletions
23
website/content/docs/datasources/hcp/hcp-packer-version.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,39 @@ | ||
--- | ||
description: | | ||
Data sources used to data from the HCP Packer registry. | ||
page_title: HCP - Data sources | ||
HCP Packer data sources query data stored to the HCP Packer registry. Use the data sources when your artifact metadata is centralized in HCP. | ||
page_title: HCP Packer Registry Data sources overview | ||
sidebar_title: Overview | ||
--- | ||
|
||
<BadgesHeader> | ||
<PluginBadge type="official" /> | ||
</BadgesHeader> | ||
|
||
# HCP Packer Registry Data sources | ||
# HCP Packer Registry data sources overview | ||
|
||
The HCP Packer Registry bridges the gap between artifact factories and artifact | ||
deployments, allowing development and security teams to work together to create, | ||
The HCP Packer Registry connects artifact factories and artifact | ||
deployments so that development and security teams can work together to create, | ||
manage, and consume artifacts in a centralized way. | ||
|
||
## Introduction | ||
|
||
The HCP Packer Registry stores metadata about your artifacts, including when they | ||
were created, where the artifacts exists in the cloud, and what (if any) git commit | ||
is associated with your build. You can use the registry to track | ||
were created, where the artifacts exists in the cloud, and git commit | ||
information associated with your build. You can use the registry to track | ||
information about the artifacts your Packer builds produce, clearly | ||
designate which artifacts are appropriate for test and production environments, | ||
and query for the right artifacts to use in both Packer and Terraform | ||
configurations. | ||
|
||
Packer has two data sources that work together to retrieve information from the | ||
The following Packer data sources work together to determine and retrieve information from the | ||
HCP Packer registry: | ||
|
||
- [hcp-packer-version](/packer/docs/datasources/hcp/hcp-packer-version) - | ||
retrieves information about an HCP Packer Version in HCP Packer Registry | ||
- [hcp-packer-artifact](/packer/docs/datasources/hcp/hcp-packer-artifact) - retrieves | ||
information about a specific artifact created in the HCP Packer registry | ||
|
||
Deprecated data sources: (Please use above given data sources instead) | ||
- [hcp-packer-iteration](/packer/docs/datasources/hcp/hcp-packer-iteration) - | ||
retrieves information about an iteration in HCP Packer registry | ||
- [hcp-packer-image](/packer/docs/datasources/hcp/hcp-packer-image) - retrieves | ||
information about a specific image created in the HCP Packer registry | ||
|
||
These data sources are intended to be used together to determine source artifact | ||
for pipelined Packer builds. | ||
- [hcp-packer-version](/packer/docs/datasources/hcp/hcp-packer-version): Retrieves information about an HCP Packer version in the HCP Packer registry. | ||
- [hcp-packer-artifact](/packer/docs/datasources/hcp/hcp-packer-artifact): Retrieves | ||
information about a specific artifact created in the HCP Packer registry. | ||
|
||
## How to use this plugin | ||
The following data source types are deprecated since v1.10.1: | ||
|
||
This plugin comes bundled with the Packer core, so you do not need to install | ||
it separately. Please install Packer v1.7.7 or above to use the latest version | ||
of the HCP Packer Registry data sources. | ||
- [hcp-packer-iteration](/packer/docs/datasources/hcp/hcp-packer-iteration): Retrieves information about an iteration in HCP Packer registry. This data source type is deprecated. Use `hcp-packer-version` instead. | ||
- [hcp-packer-image](/packer/docs/datasources/hcp/hcp-packer-image): Retrieves | ||
information about a specific image created in the HCP Packer registry. This data source type is deprecated. Use `hcp-packer-artifact` instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
--- | ||
page_title: Data sources overview | ||
description: | | ||
Data sources allow data to be fetched for use in Packer configuration. Use of data sources | ||
allows a build to use information defined outside of Packer. | ||
page_title: Data Sources | ||
A data source holds data you want to use in the Packer configuration. Define a data source in your configuration so that Packer can use external data during builds. | ||
--- | ||
|
||
# Data Sources | ||
# Data sources | ||
|
||
Data sources let Packer fetch data to use in a template, including information defined outside of Packer. | ||
|
||
Refer to the [`data`](/packer/docs/templates/hcl_templates/datasources) block documentation to learn more about working with data sources. The documentation also contains details about each type of data source. | ||
|
||
-> **Note:** Data sources is a feature exclusively available to HCL2 templates included in Packer `v1.7.0` (and newer). | ||
Data sources are only available in HCL2 templates and require Packer `v1.7.0` and newer. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters