You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
With private registries, we've got these great centralized stores to which we can upload our versioned templates to consume as modules in still other templates. Maybe this is possible today and the documentation just hasn't caught up, but it'd be amazing to be able to similarly deploy directly off these private repositories as opposed to keeping non-centralized module copies in our various CI/CD pipelines and simply pass our various parameters as part of a New-AzResourceGroupDeployment operation, passing in the 'br' path to the repository instead of a local template file.
Alternatively, in the shorter term, offer an opposite option to bicep publish that easily lets me retrieve the template from the ACR store so I can temporarily store it locally to pass into the method myself.
Describe the solution you'd like
In order of what I'd prefer to see:
Bicep command to deploy from module registry bicep deploy -path "br:abc.azurecr.io/bicep/modules/myapp:v1.0" -resourceGroup "MyResourceGroup"
Update to RG deployment script to use registry path instead of local template path New-AzResourceGroupDeployment -ResourceGroupName "MyResourceGroup" -RegistryPath "br:abc.azurecr.io/bicep/modules/myapp:v1.0"
Download from published ACR instance to local file, then deploy: bicep download -path "br:abc.azurecr.io/bicep/modules/myapp:v1.0" -localPath "myapp.bicep" New-AzResourceGroupDeployment -ResourceGroupName "MyResourceGroup" -TemplatePath .\myapp.bicep
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
With private registries, we've got these great centralized stores to which we can upload our versioned templates to consume as modules in still other templates. Maybe this is possible today and the documentation just hasn't caught up, but it'd be amazing to be able to similarly deploy directly off these private repositories as opposed to keeping non-centralized module copies in our various CI/CD pipelines and simply pass our various parameters as part of a New-AzResourceGroupDeployment operation, passing in the 'br' path to the repository instead of a local template file.
Alternatively, in the shorter term, offer an opposite option to
bicep publish
that easily lets me retrieve the template from the ACR store so I can temporarily store it locally to pass into the method myself.Describe the solution you'd like
In order of what I'd prefer to see:
Bicep command to deploy from module registry
bicep deploy -path "br:abc.azurecr.io/bicep/modules/myapp:v1.0"
-resourceGroup "MyResourceGroup"Update to RG deployment script to use registry path instead of local template path
New-AzResourceGroupDeployment -ResourceGroupName "MyResourceGroup" -RegistryPath "br:abc.azurecr.io/bicep/modules/myapp:v1.0"
Download from published ACR instance to local file, then deploy:
bicep download -path "br:abc.azurecr.io/bicep/modules/myapp:v1.0" -localPath "myapp.bicep" New-AzResourceGroupDeployment -ResourceGroupName "MyResourceGroup" -TemplatePath .\myapp.bicep
The text was updated successfully, but these errors were encountered: