Error AtlasError Documentation and Resolution

Terraform documented errors

Browse documented Terraform errors with exact messages, troubleshooting context, and practical remediation steps.

Back to all products

Configuration errors

no Terraform configuration filesTerraform command ran without configuration files in the working directoryTerraform could not find any .tf configuration in the current working directory, so commands that depend on configuration cannot proceed normally.
Unsupported argumentTerraform configuration contains an unsupported argumentTerraform found an argument in a resource, module, or provider block that the target schema does not support.
Missing required argumentTerraform configuration is missing a required argumentTerraform rejected the configuration because a required argument for a resource, module, or provider block was omitted.
Invalid function argumentTerraform could not convert the value to boolTerraform could not convert the supplied value to a boolean because tobool only accepts booleans, null, or the exact strings true and false.
Invalid function argumentTerraform could not convert the value to numberTerraform could not convert the supplied value to a number because tonumber only accepts numbers, null, or strings containing decimal numeric text.
Reference to undeclared local valueTerraform could not find the referenced local valueTerraform could not evaluate the expression because the referenced local value was never declared in the current module.
Invalid expressionTerraform could not parse the expressionTerraform could not parse the expression because the value does not form a valid HCL expression in that position.
CycleTerraform detected a dependency cycleTerraform found a circular dependency in the resource graph, so it could not determine a valid order to create or update the resources involved.
Invalid "each" attributeTerraform each object does not contain the referenced attributeTerraform could not evaluate the each object because the expression referenced an attribute that does not exist for the current for_each context.
Unsupported block typeTerraform found a block type that is not expected hereTerraform found a nested block where the schema expected an argument assignment or a different configuration structure.
Invalid characterTerraform found an invalid character in the configurationTerraform could not parse the configuration because it encountered a character sequence that is not valid in the current expression or HCL syntax context.
Invalid referenceTerraform found an invalid resource referenceTerraform could not interpret the reference because it does not follow Terraform's expected resource, attribute, or collection access pattern.
Invalid function argumentTerraform one function received too many elementsTerraform could not use one because the collection contains more than one element, while one only accepts zero-or-one collections.
Missing resource instance keyTerraform requires a specific resource instance keyTerraform cannot access an attribute on a resource that uses for_each or count unless the expression identifies a specific instance or iterates over all instances.

Installation errors

Providers errors

State errors

Terraform Errors | Error Atlas