Azure / ResourceModules

This repository includes a CI platform for and collection of mature and curated Bicep modules. The platform supports both ARM and Bicep and can be leveraged using GitHub actions as well as Azure DevOps pipelines.
https://aka.ms/carml
MIT License
724 stars 460 forks source link

[Feature Request] BREAKING change: Add options to split validation and publication resources #1085

Open MariusStorhaug opened 2 years ago

MariusStorhaug commented 2 years ago

Description

Add options to have validation and testing separate from the subscription where modules are published. Assuming that in a ALZ landing zone a sandbox might be required for validation and testing, while published modules/template specs need to go to a separate "Automation" subscription.

If this exists, we need to add guidance for how to set up using a dual subscription setup.

We probably need to consider changing the prefix of the ARM_* variables to split the two environments:

AlexanderSehr commented 2 years ago

I guess it will come down to adding another service connection and referencing it in the publishing. Good idea

eriqua commented 2 years ago

Did we ever discuss about that? I'd even say it should be a priority. It would also be consistent with our diagram. Good catch!

SeSeicht commented 2 years ago

I already did that and will create a PR for that the next days

MariusStorhaug commented 2 years ago

Looking to include approach with the wider changes to OIDC updates, as it requires environment or other known "properties". Will try to add this as separate environments.

eriqua commented 1 year ago

Removing from upcoming release 0.7, will be worked on in the next one

rahalan commented 1 year ago

Waiting for investigation of #1450