Closed pradorodriguez closed 9 months ago
@pradorodriguez, thanks for the submission! Pls confirm you agree to the below: β’ https://azure.github.io/Azure-Verified-Modules/specs/shared/team-definitions/ β’ https://azure.github.io/Azure-Verified-Modules/specs/shared/ https://azure.github.io/Azure-Verified-Modules/help-support/module-support/ (the support aspect in particular is quite important) I'll then assign it to you, thanks!!
@pradorodriguez, thanks for the submission! Pls confirm you agree to the below: β’ https://azure.github.io/Azure-Verified-Modules/specs/shared/team-definitions/ β’ https://azure.github.io/Azure-Verified-Modules/specs/shared/ https://azure.github.io/Azure-Verified-Modules/help-support/module-support/ (the support aspect in particular is quite important) I'll then assign it to you, thanks!!
Dear @jeanchg , I agree.
@pradorodriguez -Please pay attention to the module name, GH repo name that I have updated in the main description above.
I'm interested in the idea of AVM and would like to help. I know PRs aren't open yet, but I wanted to learn from the AVM guidance and made an example as a learning exercise here:
https://github.com/kewalaka/terraform-azurerm-avm-res-containerregistry-registry
It is cloned from the AVM template, following the guidance on https://aka.ms/avm, using the keyvault from @matt-FFFFFF as inspiration.
e2e tests cover default, private-endpoint, "low cost" (basic SKU), and a geo-replication example, these are all passing.
@pradorodriguez - I'm happy to raise a PR once the properly named repository is created.
Hope this is useful, next steps?
I am checking with @pradorodriguez on the current status on this module
according to the spec the GH name should be https://github.com/Azure/terraform-azurerm-avm-res-containerregistry-registry and the module name should be avm-res-containerregistry-registry
@kewalaka - Thank you and updated.
ref: https://github.com/Azure/Azure-Verified-Modules/issues/38#issuecomment-1751971828
@pradorodriguez - keen to help as per above. The module above was made specifically following AVM guidance and covers the base resource pretty well, I'm eager to get the ball rolling and see if we can make ACR the second released resource π.
Hi @kewalaka , would you like to take the lead of this AVM? You have already built the module. Let me know your thoughts.
@pradorodriguez happy to be co-owner - I can't be an owner as I'm not Microsoft. I'm happy to walk you through the module too if you'd like, my github profile has contact details.
Hey @pradorodriguez just checking in to confirm if there any any further updates on this, have you decided on how to work with @kewalaka going forward, you would have to own this module as Microsoft FTE and can have @kewalaka as co-owner and leverage the great work he's already done for this proposed module CC @PmeshramPM
Hi @mbilalamjad. I am trying to create the Github Repo but I am getting an "Failed request: (401)" error when configuring the Azure org and conduct business review. This is the repo I created: https://github.com/Azure/terraform-azurerm-avm-res-containerregistry-registry
@pradorodriguez the above repo doesn't seem to be created from the AVM template - does this step come later?
https://github.com/Azure/terraform-azurerm-avm-template
i.e. should look like this:
..which you get by creating the GH repo from the above link:
Dear @mbilalamjad and @kewalaka , I was able to create the github repo. I executed the following tasks:
Next steps:
As per the screenshot in my previous comment, this repo it isn't created from the template (but the version from my repo is), I don't know if that is a "must" requirement? This has been raised previously in relation to the storage account, can we get feedback from the AVM team on this, please @mbilalamjad ?
The version from my repo was created from an earlier version of the AVM template, so the file contents will match the AVM template at the point this was created, I can PR in changes since.
the GH label will need an update, it mentions this is the module for a public IP.
the _header.md needs amending now this is an official module repo.
Validate standard and policies defined in the AVM site (https://azure.github.io/Azure-Verified-Modules/)
expecting there to be a few suggestions! I can fix up a few things a little later today, based on my learnings over the last few weeks π, there is additional feature coverage & examples to add too.
Cool to see it up there, thanks @pradorodriguez !
As per the screenshot in my previous comment, this repo it isn't created from the template (but the version from my repo is), I don't know if that is a "must" requirement? This has been raised previously in relation to the storage account, can we get feedback from the AVM team on this, please @mbilalamjad Bilal Amjad FTE ?
The version from my repo was created from an earlier version of the AVM template, so the file contents will match the AVM template at the point this was created, I can PR in changes since.
the GH label will need an update, it mentions this is the module for a public IP.
the _header.md needs amending now this is an official module repo.
Validate standard and policies defined in the AVM site (https://azure.github.io/Azure-Verified-Modules/)
expecting there to be a few suggestions! I can fix up a few things a little later today, based on my learnings over the last few weeks π, there is additional feature coverage & examples to add too.
Cool to see it up there, thanks @pradorodriguez Marco Prado FTE !
@pradorodriguez based on @kewalaka feedback above, the repo mentioned in step 5 doesn't seem to be the right repo as that's for resource group, could you please share the repo created in the Azure github org with him which should be created based on the repo template for AVM
repo is here; https://github.com/Azure/terraform-azurerm-avm-res-containerregistry-registry
has been shared & i've done the first PR to align with recent AVM template changes.
Question remaining for @Azure/avm-core-team-technical - must the repo say "generated by the AVM template"?
i.e. like this example:
Personally, I don't think it matters in this case - unlike the storage example this repo has the right structure & CI... just don't want to go too far & then have to re-create & lose issue tracking/historyπ
Dear @mbilalamjad , The repo was forked from the template by @kewalaka , and recently he updated the version to match the latest updates. You can validate this by tracking the history of the PR and forks:
Let me know if you have any other question or comment. Regards
hi @pradorodriguez
my comment was more regarding that the original repo (number 3 above), doesn't say it was created from the AVM template:
i.e. compare this one, which is the official Azure version:
to this one in my repo:
That "generated from" line is done by starting with the AVM template:
Is this necessary, because my commit has aligned to this template? I'm not sure.
@matt-FFFFFF based on related discussions we've had - can you advise if where we're at is ok, or if the repo needs to be recreated so it matches the second screenshot above?
As long as the repo is compliant, again for this case we can make an exception.
Suggest force pushing the @kewalaka commits into the Azure repo if necessary.
We will have tooling soon to automatically validate AVM repo compliance.
Hi @pradorodriguez,
Performed a review of the module and have the following recommendations. As per the contribution process the PR needed to be reviewed by the AVM core team but since it was already merged with out a review from the AVM Core team therefore, I created an issue for tracking. https://github.com/Azure/terraform-azurerm-avm-res-containerregistry-registry/issues/3
Once you action the above you should be good to publish 0.1.0 to the terraform registry
CC: @matt-FFFFFF, @PmeshramPM, @segraef
@mbilalamjad terraform.lock.hcl was introduced to the AVM template by @matt-FFFFFF in this commit, has this review finding been superseded?
https://github.com/Azure/terraform-azurerm-avm-template/pull/40
@mbilalamjad Bilal Amjad FTE terraform.lock.hcl was introduced to the AVM template by @matt-FFFFFF Matt White FTE in this commit, has this review finding been superseded?
From the commit that you've mentioned, please see the .gitignore file in which the .terraform.lock.hcl should be ignored whereas its currently present in the repo
Apologies. Will sort
From the commit that you've mentioned, please see the .gitignore file in which the .terraform.lock.hcl should be ignored whereas its currently present in the repo
ah got what you mean, sorry! done here (https://github.com/Azure/terraform-azurerm-avm-res-containerregistry-registry/pull/5)
though, i'm reading Matt's comment and my takeaway is it should be there π (that's what the Terraform docs say).. if it needs to be, will put it back later!
@pradorodriguez to reach out to @mbilalamjad - he needs some help with the workflow actions
@pradorodriguez, @kewalaka I performed a second review and approved the latest PR, if there's not further updates ahead of publishing to the registry that you'd like to do than I'd suggest going ahead with publishing it
@pradorodriguez, @kewalaka I performed a second review and approved the latest PR, if there's not further updates ahead of publishing to the registry that you'd like to do than I'd suggest going ahead with publishing it
Hi @mbilalamjad , we will proceed after the revision of PR 12 (grept run): https://github.com/Azure/terraform-azurerm-avm-res-containerregistry-registry/pull/12
Thank you so much @pradorodriguez and @kewalaka for your contribution.
Closing this proposal as module has been published to terraform registry below. https://registry.terraform.io/modules/Azure/avm-res-containerregistry-registry/azurerm/latest
Further discussion on this module including issues & PRs to take please on its repo below https://github.com/Azure/terraform-azurerm-avm-res-containerregistry-registry
Check for previous/existing GitHub issues/module proposals
Terraform or Bicep?
Terraform
Module Classification?
Resource Module
Module Name
avm-res-containerregistry-registry
Module Details
GH repo name is terraform-azurerm-avm-res-containerregistry-registry Terraform module to build an Azure Container Registry
Do you want to be the owner of this module?
Yes
Module Owner's GitHub Username
pradorodriguez