ยปHCP Packer
packer (configsourcer)
Retrieve the image ID of an image whose metadata is pushed to an HCP Packer registry. The image ID is that of the HCP Packer bucketiteration assigned to the configured channel, with a matching cloud providerand region.
Examples
Required Parameters
These parameters are used in dynamic
for sourcing configuration values or input variable values.
bucket
The name of the HCP Packer bucket from which to source an image.
- Type: string
channel
The name of the HCP Packer channel from which to source the latest image.
- Type: string
cloud
The cloud provider of the machine image to source.
- Type: string
region
The region set for the machine image's cloud provider.
- Type: string
Optional Parameters
This plugin has no optional parameters.
Source Parameters
The parameters below are used with waypoint config source-set
to configure
the behavior this plugin. These are not used in dynamic
calls. The
parameters used for dynamic
are in the previous section.
Required Source Parameters
organization_id
The HCP organization ID.
- Type: string
project_id
The HCP Project ID.
- Type: string
Optional Source Parameters
client_id
The OAuth2 Client ID for HCP API operations.
- Type: string
- Optional
- Environment Variable: HCP_CLIENT_ID
client_secret
The OAuth2 Client Secret for HCP API operations.
- Type: string
- Optional
- Environment Variable: HCP_CLIENT_SECRET