github.com/hashicorp/packer@v1.14.3/website/content/partials/datasource/hcp-packer-image/Config-required.mdx (about)

     1  <!-- Code generated from the comments of the Config struct in datasource/hcp-packer-image/data.go; DO NOT EDIT MANUALLY -->
     2  
     3  - `bucket_name` (string) - The name of the bucket your image is in.
     4  
     5  - `channel` (string) - The name of the channel to use when retrieving your image.
     6    Either this or `iteration_id` MUST be set.
     7    Mutually exclusive with `iteration_id`.
     8    If using several images from a single iteration, you may prefer
     9    sourcing an iteration first, and referencing it for subsequent uses,
    10    as every `hcp-packer-image` with the channel set will generate a
    11    potentially billable HCP Packer request, but if several
    12    `hcp-packer-image`s use a shared `hcp-packer-iteration` that will
    13    only generate one potentially billable request.
    14  
    15  - `iteration_id` (string) - The ID of the iteration to use when retrieving your image
    16    Either this or `channel` MUST be set.
    17    Mutually exclusive with `channel`
    18  
    19  - `cloud_provider` (string) - The name of the cloud provider that your image is for. For example,
    20    "aws" or "gce".
    21  
    22  - `region` (string) - The name of the cloud region your image is in. For example "us-east-1".
    23  
    24  <!-- End of code generated from the comments of the Config struct in datasource/hcp-packer-image/data.go; -->