-
Notifications
You must be signed in to change notification settings - Fork 158
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
Ability to configure which subscriptions to track #860
Comments
This feature request is no longer strictly needed for our team. Courtesy of #424, we decided that it would be appropriate to use We simply add the subscriptions that we wish to exclude to the For instance, our
@Jefajers We can go ahead and close this issue, or add a section to the documentation in case this could be helpful for others. It was not immediately obvious to us, but now that we have started using the |
We also use .gitignore - quite extensively - where built-in settings don't match our specific needs. As long as we don't discard too many files it works perfectly fine with an acceptable run time for the pull pipeline. |
Describe the solution you'd like
In our Azure tenant, we have different application landing zone subscriptions for production, staging, and testing of our primary product. In accordance with #747, we wish to use separate AzOps repositories to track deployments to each of these environments. At the same time, we make extensive use of Bicep modules from a private container registry, which is placed in a separate platform subscription:
The service principal we use for deploying resources to
prod (sub)
has the following permissions:Owner
onprod (sub)
AcrPull
on the container registry inmanagement (sub)
As a result, when running the pull pipeline, AzOps tracks both the subscriptions
prod
andmanagement
. It isn't actually able to list role assignments, policies, resource groups, or anything else insidemanagement (sub)
, but it does generate a directory along with amicrosoft.subscription_subscriptions-<sub-id>.json
file.We would really like to be able to configure which subscription(s) to track via AzOps - something like
Core.SubscriptionsToInclude
or similar.The text was updated successfully, but these errors were encountered: