Terraform Registry Mirror

Service Logo

Source Code

https://github.com/jonasasx/terraform-registry-mirror

Overview

Welcome to the Terraform Registry Mirror Service repository! This service implements the Provider Network Mirror Protocol, enabling you to mirror repositories of Terraform providers across your network infrastructure. With Terraform Registry Mirror Service, you can efficiently manage and distribute Terraform provider repositories within your organization's network.

Features

Prerequisites

Before using the Terraform Registry Mirror Service, ensure you have the following:

Usage

Once installed, you can start using the Terraform Registry Mirror Service to mirror Terraform provider repositories.

Create .terraformrc file in the home directory:

provider_installation {
    network_mirror {
        url = "https://terraform-registry-mirror.ru/"
    }
}

You can use any terraform cli tool commands such as terraform init.

Installation

Choose one of the installation methods:

Docker

docker run -d -p 8080:8080 ghcr.io/jonasasx/terraform-registry-mirror:0.0.7

Docker Compose

version: '3'

services:
  terraform-registry-mirror:
    image: ghcr.io/jonasasx/terraform-registry-mirror:0.0.7
    ports:
      - "8080:8080"

Helm install

helm install <RELEASE_NAME> oci://ghcr.io/jonasasx/terraform-registry-mirror/terraform-registry-mirror --version 0.1.0

ArgoCD

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: terraform-registry-mirror
spec:
  destination:
    namespace: default
    server: https://kubernetes.default.svc
  project: default
  source:
    chart: terraform-registry-mirror
    repoURL: ghcr.io/jonasasx/terraform-registry-mirror
    targetRevision: 0.1.0

Contributing

Contributions to the Terraform Registry Mirror Service are welcome! If you encounter any issues, have suggestions for improvements, or would like to contribute code, feel free to open an issue or pull request in the GitHub repository.

License

The Terraform Registry Mirror Service is licensed under the MIT License, allowing for both personal and commercial use.


Thank you for choosing the Terraform Registry Mirror Service! If you have any questions or need assistance, don't hesitate to reach out.