Open c-baumgartner opened 1 week ago
Hey @c-baumgartner thank you for the issue! I believe you shouldn't specify the v
prefix in module version so version = "v0.9.0-beta"
becomes version = "0.9.0-beta"
. However, I agree error message doesn't make it clear at all.
Hi @ollevche - thank you for pointing that out - fun fact: Using "v0.8.1" ist working without any issue. It only fails for the version with the "-beta" suffix. The versions in the azurerm.json file are using the "v" too :-) So yeah, really confusing. But without the "v" it is working also for the -beta version constraint....
@c-baumgartner I agree, that's inconsistent. We will discuss this issue at the core team triage meeting and hopefully change the error message or parsing logic.
Thank you for reporting an issue.
Trying to use module
Azure/avm-ptn-alz/azurerm
I have a strange behavior. Without a version constraint it will always use version0.8.1
Trying specifing the version manually to
v0.9.0-beta2
will result in the following error:Looking into the
azurerm.json
in the module catalog the beta-versions are available (only an excerpt from the file):OpenTofu Version
OpenTofu Configuration Files