# Terraform Mirror (provider registry, IaC) in Iran

Canonical: https://mirror.rasanegaar.com/guides/en/terraform.html
Language: en

Terraform mirror and provider registry for IaC and OpenTofu from Iran — mirror.rasanegaar.com/terraform/

Terraform mirror (provider registry, IaC) — For <code>terraform init</code> in Iran, Rasanegaar Mirror keeps providers close to your workspace.

## About

The official Terraform registry distributes providers; each init can pull large binaries.
A local registry keeps the same providers reachable from inside Iran.

## Mirror in Iran

The Terraform registry at `mirror.rasanegaar.com/terraform` is live.
Landing page: `/repos/terraform/`.

Browse URL: https://mirror.rasanegaar.com/terraform/

## Configuration

1. In the CLI config, set a network mirror to Rasanegaar:
   ```
   provider_installation { network_mirror { url = "https://mirror.rasanegaar.com/terraform/" } }
   ```
2. Then init:
   ```
   terraform init
   ```

## Updates

terraform init in Iran finishes faster against the local registry when the official registry is slow.

## Related

Registry landing: https://mirror.rasanegaar.com/repos/terraform/en/
Guide HTML: https://mirror.rasanegaar.com/guides/en/terraform.html
