ResourceModules icon indicating copy to clipboard operation
ResourceModules copied to clipboard

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

Open MariusStorhaug opened this issue 2 years ago • 6 comments

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:

  • GH: Create separate prefixes for validation and publication:
    • VALIDATION_
    • PUBLISHING_
  • ADO: Add something like this for serviceConnections:
    • serviceConnectionValidation = 'your-servicecon-name'
    • serviceConnectionPublish = $(serviceConnectionValidation)

MariusStorhaug avatar Mar 05 '22 10:03 MariusStorhaug

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

AlexanderSehr avatar Mar 05 '22 17:03 AlexanderSehr

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!

eriqua avatar Mar 22 '22 14:03 eriqua

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

SeSeicht avatar Jun 03 '22 07:06 SeSeicht

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.

MariusStorhaug avatar Jun 26 '22 11:06 MariusStorhaug

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

eriqua avatar Sep 01 '22 14:09 eriqua

Waiting for investigation of #1450

rahalan avatar Nov 10 '22 16:11 rahalan