-
Notifications
You must be signed in to change notification settings - Fork 92
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
[Question/Feedback]: Bicep - Pattern Module Tests - Relevancy/Questions - Sub Vending #663
Comments
My 5 cents:
|
Thanks @AlexanderSehr for the answers. For No. 4 this is for post-deployment tests, so if we could or we can temporarily add this into the modules workflow ourselves, let us know. We can then use it as a test case when you intro the feature to the CI more formally. For No. 3 do we need to give the existing identity these permissions or bring/introduce a new identity? Let us know |
Hey @jtracey93, for No.3 - the easiest would be option one, that is, giving the identity extra permissions. However, it's also the option that could be considered more risky. Introducing a separate identity comes with the added challenge that we need to enable the CI to use different sets of credentials may require an update of the CI as we inherit the crendentials into the shared workflow template. We 'may' be able to divert the flow to a different credential, effectively overwriting the default, but that is to be tested. If not we have to be smarter. for No.4 - given the shared nature of our workflow template, it will hardly be possible to change something without impacting all workflows. And if we do that we may just as well just go ahead and introduce the feature into the shared template in the first place. The implementation should be pretty easy and not take longer than a few hours at most. We have all the bits and pieces we need already there and just have to re-use them in the correct way & test. |
Hey @jtracey93, regarding the post-deployment tests, i created this proposal: Azure/bicep-registry-modules#1036 |
@AlexanderSehr @jtracey93 Thanks Alexander for the post deployment tests. I'm adding some additional points to the discussion as we keep developing the module.
|
@sebassem @jtracey93 just a heads-up for point 1 above has been addressed today by BRM PR 1622. Please let us know if you face additional unintended blockers with static validation. |
Tagging @jtracey93, @sebassem to just bring this back to top of your inbox. |
thanks Bilal, we are still working with Alexander on other items in this list so I would say lets keep this issue open till we are done with the module to capture any new question/issue/feedback. I recently opened this issue to track one of the items that is blocking us as well |
Please note @jtracey93 & @sebassem, I created pull requests to further push the removal. One you already merged, which was about the correct resolution of resource Ids from the deployment, the next is this one Azure/bicep-registry-modules#1887, which enables us to control that the the alias resource is removed last, and finally we'd need to work on adding the explicit logic that handles the alias resource (e.g., cancel the subscription, create a management group to move it to (if not existing), and eventually move the subscription there). Whatever it is, @sebassem is looking into that one :) Once all pieces are in place we should be able to run an end-to-end test |
closing this as I dont think this is needed anymore as we have published the sub vending module in Bicep via AVM |
Check for previous/existing GitHub issues
Description
So as part of developing/migrating the Bicep LZ/Sub Vending module to AVM, we have come across a few few interesting points that we need answers to to progress:
Tasks
Tasks
The text was updated successfully, but these errors were encountered: