Terraform Runbooks
Plan/apply errors, state corruption, provider drift, and lock issues.
20 scenarios · search and filter below, or jump via the quick nav.
Backend initialization required: please run "terraform init"
An argument named "instance_typo" is not expected here
Error acquiring the state lock: Error message: ConditionalCheckFailedException
terraform plan shows - destroy for resources that should exist
Error: resource <type> requires version X.Y.Z but provider only has version A.B.C
The given "for_each" argument value is unsuitable: must be a map, or set of strings
aws_instance.example: creating... error: InvalidVpcID.NotFound
Error: Unable to find matching value for tag
Failed to request access to registry.terraform.io
This object does not have an attribute named "ids"
terraform plan output shows plaintext passwords or API keys
terraform init -upgrade pulls a breaking module version
Terraform variable value contains unexpected commas or spaces
Error: Cycle: resource A -> resource B -> resource A
terraform plan shows - destroy for a resource that is still live
terraform plan takes > 10 minutes for a small change
Error: Error loading state: SyntaxError: JSON input
Warning: -lock=false is set, skipping state lock
terraform plan shows everything will be created (no existing resources in state)
terraform destroy shows all resources will be destroyed