-
Notifications
You must be signed in to change notification settings - Fork 730
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
possibility to call module from registry with version stored in variable #5913
Comments
I thought we had another issue about this, but I can't find it. This is feasible with variables, but not with parameters, since parameter values are not known until deployment and that could change the module code that needs to be validated. |
Related: #413 |
I also have a use case where the path to the ACR and the version of the Bicep module need to be defined as parameters that are leveraged by an Azure DevOps pipeline when deploying/updating infrastructure. |
Specifying the name of the ACR as a parameter would be indeed valuable as you wouldn't need to update every template when you migrate to another container registry. |
@jhueppauff - specifically for this case, we would recommend adding an alias to bicepconfig, and if you ever change the ACR URL, you would only need to change the value in bicepconfig: |
Any news about this feature request plz ? I still have "Error BCP092: String interpolation is not supported in file paths." |
Hi maxinthecloud, this issue has been marked as stale because it was labeled as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thanks for contributing to bicep! 😄 🦾 |
could this please be reopened? I would really like this enhancement as we can tokenize our paths. |
Re-opening and renaming to cover variables specifically, since that's much easier than params. |
We are a large team of developers in my company that would appreciate this feature immensely as we address different versions of bicep modules hosted in an ACR. Pretty please, save us :) |
This would be very useful. I have a UAT and a Production container registry for modules, and being able to set the path would be useful |
Is your feature request related to a problem? Please describe.
Now it is not possible to call a module from registry with specified version in a variable
Describe the solution you'd like
I would like to store the module version in the variable or param.
The text was updated successfully, but these errors were encountered: