mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 10:00:44 -05:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user