mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
Merge pull request #11271 from hashicorp/hcp-packer-registry-doc-changes
hcp packer registry doc changes
This commit is contained in:
commit
5c38202b46
2 changed files with 2 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ source "file" "basic-example" {
|
|||
|
||||
build {
|
||||
hcp_packer_registry {
|
||||
slug = "sample-artifact"
|
||||
bucket_name = "sample-artifact"
|
||||
|
||||
description = <<EOT
|
||||
Some nice description about the image which artifact is being published to HCP Packer Registry. =D
|
||||
|
|
@ -38,7 +38,7 @@ Some nice description about the image which artifact is being published to HCP P
|
|||
}
|
||||
```
|
||||
|
||||
- `slug` (string) - The image name when published to the HCP Packer registry. Should always be the same, otherwise a new image will be created.
|
||||
- `bucket_name` (string) - The image name when published to the HCP Packer registry. Should always be the same, otherwise a new image will be created.
|
||||
Defaults to `build.name` if not set. Will be overwritten if `HCP_PACKER_BUCKET_NAME` is set.
|
||||
|
||||
- `description` (string) - The image description. Useful to provide a summary about the image. The description will appear
|
||||
|
|
|
|||
|
|
@ -75,10 +75,6 @@
|
|||
"title": "Overview",
|
||||
"path": "templates/hcl_templates/blocks/build"
|
||||
},
|
||||
{
|
||||
"title": "<code>hcp_packer_registry</code>",
|
||||
"path": "templates/hcl_templates/blocks/build/hcp_packer_registry"
|
||||
},
|
||||
{
|
||||
"title": "<code>source</code>",
|
||||
"path": "templates/hcl_templates/blocks/build/source"
|
||||
|
|
|
|||
Loading…
Reference in a new issue