You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the OpenTofu Registry is at least partially unavailable due to an R2 outage on Cloudflare. While this is a rare event, we should make it easy to run the registry locally at least in a read-only fashion so people can reroute to it when the main OpenTofu Registry is unavailable.
The text was updated successfully, but these errors were encountered:
This seems like it overlaps with opentofu/opentofu#618, since running a local copy of the registry would only be useful if it were possible to convince OpenTofu to use that local copy as a substitute for registry.opentofu.org.
The possible design I described in opentofu/opentofu#618 (comment) could potentially accommodate this by allowing operators to configure OpenTofu with an overridden service discovery URL for registry.opentofu.org:
As long as the local copy of the registry can serve something like this /local-services.json discovery document announcing the same modules.v1 and providers.v1 services that the real registry provides, OpenTofu would then treat those local services as if they were the remote registry.
Since we use an upstream library for the service discovery system, I've opened hashicorp/terraform-svchost#85 to see if the maintainers would be willing to support this "service discovery URL override" mechanism.
Currently, the OpenTofu Registry is at least partially unavailable due to an R2 outage on Cloudflare. While this is a rare event, we should make it easy to run the registry locally at least in a read-only fashion so people can reroute to it when the main OpenTofu Registry is unavailable.
The text was updated successfully, but these errors were encountered: