.terraform directory

The hidden folder terraform init creates beside your configuration, holding downloaded providers, fetched modules and backend settings.

In more detail

It is disposable: delete it and run terraform init again and you are back where you were. Never commit it; add it to .gitignore. Providers are stored under a path made from the registry host, namespace, name, version and platform.

Example

.terraform/providers/registry.terraform.io/hashicorp/local/2.5.2/darwin_arm64/

Related terms

Taught in

References

Certification courses