-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AVM Module Issue]: problem with provider pinning for azure/azapi
#65
Comments
@bjornhofer Sorry to bother you: any update on this? How can I support? |
@JensKruseAvanade Hi, no problem I'm currently a bit in a rush with other things - but I plan to solve it at latest on the upcoming Friday. |
Hello @JensKruseAvanade I could not reproduce your issue in my test environment. (see: https://ibb.co/YBXwqRr Can you provide me more details (Terraform version, operating system, ...) Thanks in advance Björn |
Hi @bjornhofer jobs:
terraform:
name: "Terraform"
runs-on: ubuntu-latest
[...]
# Install the preferred version of Terraform CLI
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.9 HTH, |
Just ran a Providers required by other AVM modules (showing here just 'azure/azapi':
With that, no problems occur, so I agree that this issue is not about the spelling of the providers. Could it be something about versioning requirements? Found this one here ... https://stackoverflow.com/questions/76272116/terraform-resolve-no-available-releases-match-the-given-constraints-error |
can you provide me a list of all the used modules in this example - maybe I can recreate it and testdrive it to verify this very good idea and create a workaround. Do you init all this modules with one main? |
the problem is that you have two version requirements (one coming from the module, and one coming from somewhere in your code), so it doesn't find a version. Right now, the module is soft-pinned on azapi version 1.14 here. Somewhere in your code, you are requiring azapi to be version to be @bjornhofer - it would be great if our code would also work with azapi version 2, but we should test it before removing the constraint. |
Hello @JensKruseAvanade so far all changes are merged to main. Please let me know if it fixed your issue, so I can close the issue. |
@bjornhofer
|
azure/azapi
@JensKruseAvanade sorry, I've missed the step of releasing the new version (my first time with AVM modules). |
@bjornhofer
|
Solved this issue: there had been special characters in the |
Check for previous/existing GitHub issues
Issue Type?
Bug
(Optional) Module Version
2.1
(Optional) Correlation Id
No response
Description
Terraform init
My assumption is, that there is a typo in the provider requirements for "Azure/azapi" (instead of "azure/azapi" (see terraform-azurerm-avm-ptn-policyassignment/terraform.tf, line 5).
The text was updated successfully, but these errors were encountered: