Replace additional Terraform -> OpenTofu (#1007)

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: James Humphries <jamesh@spacelift.io>
This commit is contained in:
Christian Mesh
2023-12-13 11:35:41 -05:00
committed by GitHub
parent 54d2130473
commit 06b31cd26f
75 changed files with 250 additions and 250 deletions

View File

@@ -53,15 +53,15 @@ func (s *RegistrySource) AvailableVersions(ctx context.Context, provider addrs.P
// We ignore protocols here because our goal is to find out which versions
// are available _at all_. Which ones are compatible with the current
// Terraform becomes relevant only once we've selected one, at which point
// OpenTofu becomes relevant only once we've selected one, at which point
// we'll return an error if the selected one is incompatible.
//
// We intentionally produce an error on incompatibility, rather than
// silently ignoring an incompatible version, in order to give the user
// explicit feedback about why their selection wasn't valid and allow them
// to decide whether to fix that by changing the selection or by some other
// action such as upgrading Terraform, using a different OS to run
// Terraform, etc. Changes that affect compatibility are considered breaking
// action such as upgrading OpenTofu, using a different OS to run
// OpenTofu, etc. Changes that affect compatibility are considered breaking
// changes from a provider API standpoint, so provider teams should change
// compatibility only in new major versions.
ret := make(VersionList, 0, len(versionsResponse))