provider_installation {
  oci_mirror {
    repository_template = "example.com/${hostname}/${namespace}/${type}"
  }
  oci_mirror {
    repository_template = "example.net/opentofu-registry/${namespace}/${type}"
    include = ["registry.opentofu.org/*/*"]
  }
  oci_mirror {
    repository_template = "example.net/opentofu-registry/opentofu-namespace/${type}"
    include = ["registry.opentofu.org/opentofu/*"]
  }
  oci_mirror {
    repository_template = "example.net/opentofu-registry/opentofu-namespace/foo-type"
    include = ["registry.opentofu.org/opentofu/foo"]
  }
}
