Giter Site home page Giter Site logo

Comments (6)

praveenambati1233 avatar praveenambati1233 commented on July 27, 2024

One way to exclude the policy assignments you can remove these lines from here https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/blob/main/modules/archetypes/lib/archetype_definitions/archetype_definition_es_identity.tmpl.json#L4-L7

from terraform-azurerm-caf-enterprise-scale.

matt-FFFFFF avatar matt-FFFFFF commented on July 27, 2024

Hi,

Is it just the assignments you want to remove, or all policy artefacts?

from terraform-azurerm-caf-enterprise-scale.

cjtous1 avatar cjtous1 commented on July 27, 2024

I would like to make sure no assignments are done. Right now, the way I am doing it is via archetype_exclusion_es_.tmpl.json files where I have to list every single policy assignments, policy definitions and policy set definitions to exclude.
If I understand things correctly, these will be defined in EPAC... correct?

What if you release new policies or deprecate some of them. I will have to keep updating those exclusions in the JSON file.
It would be simpler if we could have a global switch that disables any kind of policy work in this module so that I can be assured that only EPAC will deploy and manage policies.

from terraform-azurerm-caf-enterprise-scale.

matt-FFFFFF avatar matt-FFFFFF commented on July 27, 2024

If you want to exclude all policies then use archetype_config_overrides and set the archetype for the management groups to default_empty.

This will mean you only deploy the MG structure.

from terraform-azurerm-caf-enterprise-scale.

cjtous1 avatar cjtous1 commented on July 27, 2024

OK, I think this could work for us. However, it looks like I would miss out on custom role definitions and any kind of "archetype_config" that could be defined at a later time. Do you foresee any issues there?

from terraform-azurerm-caf-enterprise-scale.

matt-FFFFFF avatar matt-FFFFFF commented on July 27, 2024

It's only role defs, we don't plan on expanding archetype config beyond its current capabilities.

from terraform-azurerm-caf-enterprise-scale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.