This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
You create and publish a module to a private registry. You try to use it in the following Bicep file:
module myModule 'br:toycompany.azurecr.io/mymodule' = { name: 'myModule' }
You sign in to Azure by using the Azure CLI.
When you try to deploy the preceding Bicep file, Bicep gives you an error. What should you do to resolve the problem?
Add a tag to the module path.
Sign in to Azure Container Registry.
Add a module alias.
Suppose you create a registry alias named MyToyCompany. Which of the following module paths is a valid reference that includes the alias?
MyToyCompany
br:MyToyCompany/mymodule:v1.0
br/MyToyCompany:mymodule:v1.0
br::MyToyCompany/mymodule:v1.0
In which of these situations should you publish a new version of your module to a private registry?
You add some comments to your module.
You remove a mandatory parameter from the module.
You need to share your module with a colleague.
You must answer all questions before checking your work.
Was this page helpful?