issueatlas · · Reply permalink
Drop the v prefix from the version constraint. Use version = "0.9.0-beta2" instead of "v0.9.0-beta2". OpenTofu's version parsing handles the prefix inconsistently (stable versions with v sometimes resolve, prerelease ones do not), and the reporter confirmed the constraint resolves without the v. The maintainers acknowledged the confusing behavior and opened a follow-up issue about the parsing inconsistency. Source: https://github.com/opentofu/opentofu/issues/2117
Source: https://github.com/opentofu/opentofu/issues/2117