hashicorp/packer
Documented errors, page 3 of 5. Back to hashicorp/packer
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| private key does not implement crypto.Signer | validation | error | go, crypto, pkcs8, attestation |
| bundle-based Rekor or timestamp verification requires… | validation | error | sigstore, rekor, missing-argument |
| error parsing output_dir template | validation | error | interpolation, validation, configuration, provenance |
| the `channel_name` must be specified | validation | error | hcp-packer, validation, config, deprecated |
| The provided source URL is invalid. The following errors… | validation | error | validation, plugin-source, hcl2, required-plugins |
| clean up script failed to upload | exception | error | network, upload, powershell, cleanup |
| error validating SBOM file: invalid SBOM format | exception | error | sbom, validation, format, parsing |
| failed to open for hashing | exception | error | filesystem, file-io, sha256, go |
| there is no version associated with the channel | exception | error | hcp-packer, channel, registry-state, datasource |
| unexpected number of organizations: expected 1, actual | console | error | hcp, configuration, multi-organization |
| error initializing post-processor | error_code | error | packer, plugin, post-processor, initialization |
| failed to download Packer release zip | exception | error | network, http, download, filesystem |
| sbom=true requires sbom_scan_path when artifact files span… | validation | error | packer, provenance, sbom, config |
| decode signer : no PEM block found | validation | error | go, pem, encoding, signing |
| Either a script file or inline script must be specified. | validation | error | packer, provisioner, powershell, config-validation |
| failed to interpolate `max_retries | error_code | error | provisioner, interpolation, template-variables |
| signer does not implement crypto.Signer | validation | error | go, crypto, pkcs8, signing |
| Unknown provisioner | exception | error | plugin-registry, provisioner, config |
| `channel` is currently a required field. | validation | error | hcp-packer, validation, config, datasource |
| could not write final plugin binary file | exception | error | plugin-install, filesystem, io-error, packer |
| error retrieving iteration from HCP Packer registry | exception | error | hcp-packer, api, network, authentication |
| Unable to open for reading | exception | error | file-io, manifest, post-processor, permissions |
| error retrieving channel from HCP Packer Registry | exception | error | hcp-packer, http-client, registry-lookup, datasource |
| Error building powershell wrapper | exception | error | powershell, provisioner, template-interpolation, inline-script |
| failed to download and verify Packer release zip | exception | error | network, retry, download, provisioner |
| Invalid execution policy provided. Please supply one of… | validation | error | powershell, provisioner, execution-policy, configuration |
| Plugin source has a type with the prefix | validation | error | validation, plugin-source, hcl2, required-plugins |
| Error interpolating destination | exception | error | packer, file-provisioner, interpolation, template |
| failed to retrieve packer release index from | exception | error | json, network, proxy, parsing |
| something went wrong retrieving the version for bucket | exception | error | hcp, packer-registry, version |
| failed to download release checksums | exception | error | network, http, checksum, download |
| there is no iteration associated with the channel | exception | error | hcp-packer, datasource, channel, registry |
ErrInvalidCompressionLevel Invalid compression level. Expected an integer from -1 to 9. | exception | error | configuration, compression, validation |
| error retrieving HCP Packer Version from HCP Packer Registry | exception | error | hcp, datasource, api-error |
| binary reported version | exception | error | plugin-install, version-mismatch, checksum, packer |
| downloaded SBOM is empty | exception | error | packer, sbom, download, empty-output |
| unsupported scope | validation | error | go, validation, config, syft, sbom |
| builder and source policy checks require predicate type | validation | error | attestation, slsa, policy |
| cannot use multiple consecutive dashes | validation | error | validation, plugin-source, idna, hcl2 |
| error listing builds for this existing version | exception | error | hcp-packer, api-call, network, list-builds |
| failed to start scanner | exception | error | packer, provisioner, communicator, ssh |
| Only a script file or an inline script can be specified… | validation | error | packer, provisioner, powershell, config-validation |
| wrong version: does not match expected | validation | error | packer, plugin-getter, version-mismatch, validation |
| post-processor type not found | error_code | error | packer, plugin, post-processor, internal |
| attestation has unexpected payloadType (want ) | validation | error | attestation, dsse, intoto, validation |
| failed to add artifact for | exception | error | hcp-packer, artifact-upload, api-call |
| Failed to copy data to archive | exception | error | archive, tar, io, post-processor |
| could not install any compatible version of plugin | exception | error | plugin-install, version-constraint, packer, diagnostics |
| invalid bomFormat: , expected CycloneDX | validation | error | sbom, cyclonedx, validation, schema |
| malformed datasource reference | validation | error | hcl2template, refstring, datasource, parsing |
| No communicator found for provisioners! This is usually… | exception | error | provisioner, communicator, config |
| unable to create file | exception | error | packer, post-processor, checksum, filesystem, permissions |
| Unable to write | exception | error | file-io, manifest, post-processor, permissions |
| Error creating tar | exception | error | packer, post-processor, tar, archive |
| verify attestation envelope | exception | error | attestation, signature, dsse |
| failed to write SBOM to destination | exception | error | go, filesystem, file-io, permission |
| The checksum entries of this version carry no plugin… | exception | error | |
| failed to fetch release index | exception | error | network, http, dns, connectivity |
| could not find a local nor a remote checksum for plugin | exception | error | plugin-install, checksum, network, packer |
| unable to create dir | exception | error | packer, post-processor, checksum, filesystem, permissions |
| Failed to parse API Version from constraints | exception | error | plugin-getter, protocol-version, constraints, parsing |
| read attestation | exception | error | filesystem, io, attestation |
| Unrecognized checksum type | validation | error | packer, post-processor, checksum, config-validation |
| checksum mismatch for | exception | error | checksum, security, download, integrity |
| unable to open file | exception | error | packer, post-processor, checksum, filesystem, artifact |
| transformReleasesVersionStream got nil body | exception | error | plugin-install, network, github-api, packer |
| attestation verification for signing_mode | validation | error | attestation, config, missing-config |
| unsupported remote protocol MINOR version | exception | error | plugin-getter, protocol-version, incompatible-version, upgrade |
| keyless attestation does not contain a signing certificate | exception | error | go, keyless-signing, attestation, envelope |
| Must supply an 'elevated_user' if 'elevated_password'… | validation | error | packer, provisioner, powershell, config-validation |
| failed to describe plugin binary | exception | error | plugin-install, exec, binary, packer |
| failed to generate diff for | exception | warning | hcl2, fmt, diff |
| unhandled node type | exception | error | |
| Error interpolating output value | exception | error | hcl2, template, interpolation, post-processor |
| Process background check error | exception | error | |
| SBOM validation failed | exception | error | packer, sbom, validation, format |
| verify Sigstore bundle | console | error | sigstore, verification, certificate |
| failed to update HCP Packer Build status for | exception | error | hcp-packer, build-status, api-call, concurrency |
| Packer could not read the fingerprint from git. | exception | error | |
| request GitHub OIDC token: unexpected status | exception | error | go, http, github-actions, oidc, permissions |
| signing_mode requires keyless_identity and… | validation | error | keyless, configuration, oidc |
| transformVersionStream got nil body | exception | error | github, http, plugin-install |
| failed to checksum binary file | exception | warning | plugin-install, checksum, packer |
| read verifier | exception | error | go, file-io, pem, attestation |
| %s: %w | exception | error | packer, plugin-getter, error-wrapping, index-parsing |
| Self reference | console | error | dag, self-reference, graph |
| Unable to parse content from | exception | error | json, manifest, post-processor, parse-error |
| min_version is invalid | validation | error | packer, version, template, validation |
| No HCP Packer-compatible artifacts were found for the build | exception | error | hcp-packer, artifacts, registry |
| unsupported private key in signer | validation | error | go, crypto, pem, key-format |
| No files specified in artifice configuration | validation | error | packer, post-processor, artifice, config-validation |
| Unknown post-processor | exception | error | plugin-registry, post-processor, config |
| decode SBOM payload | exception | error | packer, provenance, sbom, json |
| Error creating zip | exception | error | packer, post-processor, zip, archive |
| failed to write file | exception | error | hcl2, function, file, base64 |
| Can only have 1 input file when not using tar/zip. Found | exception | error | packer, post-processor, config, archive |
| error creating writer | exception | error | compression, bgzf, configuration |
| unsupported scope: (supported: squashed, all-layers) | validation | error | go, validation, config, sbom |
| index.json contains no usable versions | exception | error | packer, plugin-getter, semver, index-validation |
| packer binary not found in release zip | exception | error | zip, archive, release-artifacts |