Files
opentf/internal/command/cliconfig/testdata/provider-installation-oci-missingnamespace
Martin Atkins 6dab83e3bc cliconfig+main: Allow oci_mirror as a new provider installation method
It's now valid to include an oci_mirror block in the provider_installation
block in the CLI configuration, specifying that OpenTofu should try to
install providers from OCI repositories based on a template that maps
from OpenTofu-style provider source addresses into OCI repository
addresses.

The getproviders.Source implementation for this was added in a previous
commit, so this is mainly just wiring it up to the cliconfig layer and
the dependency wiring code in package main.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-03-26 09:52:07 -07:00

6 lines
105 B
Plaintext

provider_installation {
oci_mirror {
repository_template = "example.com/${hostname}/${type}"
}
}