ErrLookup › hashicorp/terraform
hashicorp/terraform
Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned. · Go · 1,321 source files
Analyzed at d32a084675 on 2026-08-11. 760 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| not all parts uploaded successfully, multipart upload… | error_code | error | oci, multipart-upload, concurrency, cleanup |
| approved using the UI or API | console | info | terraform, remote-backend, tfe, terraform-cloud, run, apply, sentinel |
| operation timed out | console | error | terraform, cloud-backend, tfe, configuration-upload, network, timeout, plan |
| Invalid value | validation | warning | terraform, interactive-input, config, type-conversion, cli |
| Failed to parse ssh private key | exception | error | ssh, crypto, private-key, pem, key-format |
| can't show a saved cloud plan unless the current root… | exception | error | show, cloud, backend-mismatch, plan, latent-bug, terraform-cli |
| this version of Terraform does not support any of the… | exception | error | authentication, checksum, lock-file, version-skew, hash |
| invalid value for in state | validation | error | flatmap, hcl2shim, state-corruption, type-conversion, go |
| : Type and NestedType cannot both be set | validation | error | schema-validation, configschema, terraform-provider, go |
| failed to decode state_store's nested provider config | exception | error | terraform, state-store, provider-schema, config-decode, planfile |
errRunOverridden overridden using the UI or API | console | info | terraform, cloud, policy, run-lifecycle, confirmation, concurrency |
| Provider download blocked due to policy violations. Please… | exception | error | terraform, policy, provider, init, security, compliance |
| error decoding trust signature | exception | error | authentication, signature, pgp, openpgp, registry, trust-signature, partner |
| Failed to create API client | exception | error | terraform, login, tfe-client, authentication, config |
| invalid provider matching pattern | validation | error | provider-config, pattern, validation, multi-source |
| cannot check archive hash for non-archive location | exception | error | authentication, archive, checksum, type-guard, package-location |
errRunDiscarded discarded using the UI or API | console | info | terraform, cloud, run-lifecycle, confirmation, concurrency |
| populating details for | exception | error | azure, terraform-backend, arm, storage-account, remote-state, configuration |
errRunApproved approved using the UI or API | console | info | terraform, cloud, apply, run-lifecycle, confirmation, concurrency |
| must not be a whole number | validation | error | backend, cty, integer-validation, misleading-message, terraform |
| State store provider | panic | critical | panic, state-store, provider-supply, exhaustive-switch, init, internal-bug |
| error decoding signing key | exception | error | authentication, signature, pgp, openpgp, registry, signing-key |
| not a valid registry module source | validation | error | registry, module-source, validation, terraform |
| source and content cannot both be null | validation | error | terraform, provisioner, file-provisioner, runtime, config |
| registry response includes invalid SHASUMS signature URL… | exception | error | registry, url-validation, security, scheme, getproviders |
| Registry returned provider with type | error_code | error | registry, provider-source, validation, mirror |
| SSH authentication failed | exception | error | terraform, ssh, authentication, handshake, connection, provisioner |
| resource has an unsupported mode | validation | error | terraform, json-plan, resource-mode, serialization, enum-exhaustiveness |
| failed to read state | exception | error | serialization, state-persist, internal, terraform, statefile |
| strings.Join(errs, "\n") | http | error | terraform, cloud-backend, tfe, http, api, error-handling |
ErrStateVersionUnauthorizedUpgradeState You are not authorized to read the full state version containing outputs.
State… | console | error | terraform, cloud, state, permissions, version-upgrade, outputs |
| resource has an unsupported action reason | validation | error | terraform, json-plan, action-reason, enum-exhaustiveness, serialization |
| failed to create project | exception | error | tfe, hcp, cloud-backend, project, permissions |
| failed to clean up file lock after DynamoDB lock error | exception | error | locking, s3, dynamodb, remote-state, rollback, consistency, race-condition |
| unable to determine credentials file path | console | error | cli-config, credentials, unreachable, dead-code, defensive |
| lock id does not match existing lock | validation | error | oss, alibaba, state-lock, lock-mismatch, concurrency |
| error creating HashiCorp keyring | exception | critical | authentication, signature, pgp, openpgp, build, keyring |
| Attempted to find configured project | exception | error | terraform, cloud-backend, project, state-manager, tfe-api, go |
| could not interpret value | exception | error | outputs, cty, type-mismatch, value-coercion, tfe, terraform |
| downloaded archive does not match the release checksum | validation | critical | security, checksum, sha256, integrity, terraform |
| failed to lock state in Consul | exception | error | consul, backend, state-locking, terraform |
| error verifying trust signature | exception | error | pgp, signature, authentication, trust, provider |
| failed to create temp known_hosts file | exception | error | ssh, filesystem, temp-file, provisioner, infrastructure |
errApplyDiscarded Apply discarded. | console | info | terraform, cloud, apply, run-lifecycle, confirmation |
ErrInvalidRemotePlanFormat invalid remote plan format, must be 1 | validation | error | terraform, cloud-backend, cloudplan, saved-plan, json, validation |
| discarded using the UI or API | console | error | terraform, remote-backend, tfe, terraform-cloud, run, discard, sentinel |
| lookup() takes two or three arguments, got | validation | error | terraform, hcl-functions, lookup, argument-count, validation |
| Additionally, unlocking the state in Kubernetes failed… | exception | critical | kubernetes-backend, lock, force-unlock, init, compound-error |
| invalid collection length | exception | error | terraform, hcl-functions, one, cty, internal-bug |
| resource identity schema not found for type | exception | error | grpcwrap, identity, schema, upgrade, terraform, resource-type |
| failed to copy from to | error_code | error | filesystem, module-installation, caching, copy |
| Failed to marshal index step key %#v | exception | error | terraform, json-plan, cty, path-encoding, sensitive-values, for-each |
| can't locate credentials file | console | error | cli-config, credentials, home-directory, environment |
| lock file not exists | exception | error | terraform, cos, tencent-cloud, state-lock, remote-state, go |
| a network issue prevented cloud configuration; | exception | error | network, terraform-cloud, service-discovery, tfe, dns |
| Cannot lock workspace; already locked for workspace creation | exception | error | postgres, state-lock, advisory-lock, workspace-creation, concurrency |
| Error migrating the workspace %[1]q from the previous %[2]q… | exception | error | backend, migration, multi-workspace, partial-failure, hcp-terraform |
| missing provider schema | validation | critical | terraform, provider, grpc, plugin-v5, schema |
| failed to create backend alias from alias | exception | critical | remote-backend, hostname, service-discovery, bug, configuration, svchost |
| Lock Info: ID: } Path: } Operation: } Who: } Version: }… | exception | error | state-lock, concurrency, lock-conflict, terraform |
| resource not found in state | panic | critical | panic, state-show, state, recursion, defensive, module-tree |
| failed to lock oci state | exception | error | oci, state-locking, concurrency, terraform, object-storage |
| Using the C:\Windows\Temp folder is not supported. Please… | validation | error | winrm, windows, script-path, provisioner, configuration |
| invalid provider type | validation | error | provider-config, pattern, provider-type, validation, multi-source |
| : cannot serialize value marked as %#v for inclusion in a… | exception | error | terraform, json-state, cty-marks, bug, serialization |
| error uploading state | exception | critical | network, state-persist, tfe, upload, authentication, locking, terraform |
| Ephemeral resources failed to Close during renew operations | validation | warning | ephemeral-resources, goroutine-leak, timeout, terraform |
| failed to upload part | error_code | error | oci, multipart-upload, concurrency, network, diagnostics |
| your version of Terraform Enterprise does not support… | validation | error | terraform, cloud-backend, tfe, terraform-enterprise, tags, version-mismatch, config |
| error when obtaining provider instance during state store… | exception | error | terraform, provider, state-store, plugin, plan, grpc |
| failed to marshal outputs to json | exception | error | serialization, json, outputs, state-persist, terraform |
| failed to write temp known_hosts file | exception | error | ssh, filesystem, io-write, provisioner, host-key |
| failed to load state | exception | error | outputs, state-refresh, legacy-state, fallback, tfe, terraform |
| can't set both encryption_key and kms_encryption_key | exception | error | terraform, gcs, google-cloud, encryption, config, validation, remote-state, go |
| Failed to | exception | error | network, transport, tls, http-backend, timeout |
| Invalid workspace name set using | validation | error | terraform, workspace, env-var, validation, config |
| retrieving : %+v | exception | error | azure, backend, arm, storage-account, permissions, network, retryable |
| can not read leafPassphraseBytes from | exception | error | oci, authentication, filesystem, certificates, instance-principal, bug, terraform-backend |
| invalid registry namespace | validation | error | provider-config, pattern, namespace, validation, bug-in-message, multi-source |
| failed to verify checksum of | exception | error | terraform, provider, checksum, cache, io, lock-file |
| no releases match the given constraints | exception | error | terraform, provider, mirror, version-constraint, registry |
| no suitable TCP ports | exception | error | terraform, login, oauth, network, tcp, ports, loopback |
| The builtin provider does not support provider upgrades… | exception | error | terraform, terraform-data, identity-schema, state-upgrade, go |
| provider package doesn't match the expected checksum | exception | error | authentication, checksum, tampering, lock-file, hash |
| ${resp.Error} | exception | error | terraform, provider, grpc, plugin-v5, shutdown |
| failed to create cert signer | exception | error | ssh, crypto, certificate, key-mismatch, panic-risk |
| current outputs were not ready to be read within the… | exception | error | outputs, context, tfe, timeout, retry, terraform |
| preparing attribute values for | exception | error | terraform, json-state, attribute-values, serialization, cty |
| cannot load client certificate | exception | error | tls, mtls, crypto, http-backend, config |
| Migrating state from HCP Terraform or Terraform Enterprise… | exception | error | backend, migration, hcp-terraform, not-implemented, cloud |
| Error initializing backend %T | exception | error | terraform, backend, init, bug, cli |
| error reading source block | error_code | warning | oci, multipart-upload, defensive, io |
| error splitting data into parts | error_code | error | oci, multipart-upload, state-file, configuration |
| top-level block schema is nil | validation | critical | schema, validation, provider-development, nil-pointer, internal |
| Error starting script | exception | error | terraform, remote-exec, provisioner, ssh, execution, go |
| error creating HashiCorp Partners keyring | exception | critical | authentication, signature, pgp, openpgp, build, keyring, partner |
| attribute is read-only | validation | error | terraform, terraform-data, computed-attributes, validation, hcl |
| URL is not a valid GCS URL | validation | error | gcs, module-address, url-parsing, detection |
| Error checking remote Terraform version | exception | error | terraform, version, state, compatibility, remote-backend |
| failed to read dependency lock file | exception | error | terraform, lock-file, provider, init, config-parse |