The Packer Channel resource allows you to manage a bucket channel within an active HCP Packer Registry.
resource "hcp_packer_channel" "staging" {
name = "staging"
bucket_name = "alpine"
}
bucket_name
(String) The name of the HCP Packer Registry bucket where the channel should be created.name
(String) The name of the channel being managed.project_id
(String) The ID of the HCP project where this channel is located.
If not specified, the project specified in the HCP Provider config block will be used, if configured.
If a project is not configured in the HCP Provider config block, the oldest project in the organization will be used.restricted
(Boolean) If true, the channel is only visible to users with permission to create and manage it. If false, the channel is visible to every member of the organization.timeouts
(Block, Optional) (see below for nested schema)author_id
(String) The author of this channel.created_at
(String) The creation time of this channel.id
(String) The ID of this resource.managed
(Boolean) If true, the channel is an HCP Packer managed channelorganization_id
(String) The ID of the HCP organization where this channel is located.updated_at
(String) The time this channel was last updated.timeouts
Optional:
create
(String)default
(String)delete
(String)update
(String)Import is supported using the following syntax:
# Using an explicit project ID, the import ID is:
# {project_id}:{bucket_name}:{channel_name}
terraform import hcp_packer_channel.staging f709ec73-55d4-46d8-897d-816ebba28778:alpine:staging
# Using the provider-default project ID, the import ID is:
# {bucket_name}:{channel_name}
terraform import hcp_packer_channel.staging alpine:staging