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

deploy Azure Container Registry Example #543

Merged
merged 8 commits into from
Nov 30, 2021

Conversation

ExchMaster
Copy link
Contributor

Description

This example deploys a premium Azure Container Registry suitable for hosting docker containers. The registry will be deployed to the MLZ shared services resource group using default naming unless alternative values are provided at run time.

This update uses the bicep shared variable file pattern as described here: https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/patterns-shared-variable-file

Issue reference

This PR is related to the following issue: #517
I did attempt to retrieve MLZ outputs using a deployment object, but ultimately failed to successfully do so do the dynamic nature of how the outputs are parsed/discovered at run-time. More research is needed, but felt this pattern solved the majority of the issue and is worthy of doing now while we continue to investigate how to use deployment objects for this problem.

Checklist

Please make sure you've completed the relevant tasks for this PR out of the following list:

  • [see above] All acceptance criteria in the backlog item are met
  • [x ] The documentation is updated to cover any new or changed features
  • [x ] Manual tests have passed
  • [x ] Relevant issues are linked to this PR

NOTE: I am adding multiple examples quickly with over-lapping pull-requests so in an effort to avoid merge conflicts I was planning on updating the ./src/bicep/examples/README.md with all the information at once. I did add an initial update in my first PR to that ReadMe updating the docs on creating the deployment Variables file. I'll come back and update the index of examples after I update/add a few more of them.

@brooke-hamilton brooke-hamilton self-assigned this Nov 24, 2021
src/bicep/mlz.json Outdated Show resolved Hide resolved
src/bicep/examples/deploymentVariables.json Outdated Show resolved Hide resolved
src/bicep/examples/containerRegistry/README.md Outdated Show resolved Hide resolved
src/bicep/examples/containerRegistry/README.md Outdated Show resolved Hide resolved
ExchMaster and others added 5 commits November 29, 2021 11:43
Co-authored-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
Co-authored-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
Copy link
Contributor

@brooke-hamilton brooke-hamilton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ExchMaster thanks for this! ❤️

@brooke-hamilton brooke-hamilton merged commit 4467261 into main Nov 30, 2021
@brooke-hamilton brooke-hamilton deleted the jai-Example-AzureContainerRegistry branch November 30, 2021 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants