Azure / Azure/Azure-Landing-Zones

support for notScopes in module

Open Beginner friendly
#320 4 comments 4 reactions 0 assignees View on GitHub
Transfer From: TF avm-ptn-alz :arrow_right:
Dominant language
PowerShell
Stars
96
Forks
70
Avg merge
3d 1h
Merged PRs (30d)
7

Description

### Check for previous/existing GitHub issues

- [x] I have checked for previous/existing GitHub issues

### Issue Type?

Feature Request

### (Optional) Module Version

0.12.3

### (Optional) Correlation Id

_No response_

### Description

Despite mapping functionality being present in the main.policy_assignments.tf, there is no property in the map for policy_assignments_to_modify in variables.tf to support notScopes, meaning an override needs to be added into the library folder when deploying via the ALZ accelerator.

```tf
notScopes = optional(list(string), null)
```

Contributor guide

Open the contributing guide

Research direction

Start in variables.tf and compare the policy_assignments_to_modify map with the existing notScopes mapping in main.policy_assignments.tf. Add the module input support for notScopes so deployments through the ALZ accelerator no longer need an override in the library folder. Done means the map accepts the optional list(string) property and the override is no longer required.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, terraform
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.