Skip to content
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

[Question/Feedback]: AzureRM provider versioning #1895

Open
1 task done
matty opened this issue Mar 5, 2025 · 3 comments
Open
1 task done

[Question/Feedback]: AzureRM provider versioning #1895

matty opened this issue Mar 5, 2025 · 3 comments
Labels
Needs: Triage 🔍 Maintainers need to triage still Type: Question/Feedback 🙋 Further information is requested or just some feedback

Comments

@matty
Copy link

matty commented Mar 5, 2025

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Description

I am using the storage account, logic app and servicebus module in my Terraform project but there is an issue. They all require different Terraform AzureRM provider version constraints.

When I run init I get an error:

Could not retrieve the list of available versions for provider hashicorp/azurerm: no available releases match the given constraints >= 3.0.0, ~> 3.71, >= 3.116.0, ~> 4.14, < 5.0.0

I believe the issue is ~> 3.71 and ~> 4.14 cannot possibly be met.

How do I even use multiple modules all with version constraints as such?

@matty matty added Needs: Triage 🔍 Maintainers need to triage still Type: Question/Feedback 🙋 Further information is requested or just some feedback labels Mar 5, 2025

Important

The "Needs: Triage 🔍" label must be removed once the triage process is complete!

Tip

For additional guidance on how to triage this issue/PR, see the AVM Issue Triage documentation.

@matty
Copy link
Author

matty commented Mar 10, 2025

As a suggestion, shouldn't all modules aim to use specific provider versions?

@c-baumgartner
Copy link

I feel with you and as far as I can tell the team is aiming to update all modules to 4.x of AzureRm. AVM is still prior v1.0 release and those small defects also hinders me and my team to rely purely on AVMs for the bread and butter part of our solutions. Currently - when I stumble accross I will make a local fork/copy and just use a Terraform/OpenTofu .override file and see for myself if just bumping the Version to AzureRM 4.x fix my issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Maintainers need to triage still Type: Question/Feedback 🙋 Further information is requested or just some feedback
Projects
None yet
Development

No branches or pull requests

2 participants