Skip to content

Commit 6076157

Browse files
authored
Enhance README with images and identity notes
Added images and updated notes regarding identity requirements for Azure Policy assignments.
1 parent 36db526 commit 6076157

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

4_identity-security/policy/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ Last updated: 2026-02-09
1111

1212
> This template contains Terraform configurations to create an Azure Policy Assignment scoped to a Resource Group, using a User Assigned Managed Identity.
1313
14+
<img width="650" alt="image" src="https://github.com/user-attachments/assets/96147a10-ef43-457a-9823-a6d4609ac7ad" />
15+
16+
<img width="650" alt="image" src="https://github.com/user-attachments/assets/b86789c2-1918-4ea1-a773-1a4b40aec23d" />
17+
18+
<img width="650" alt="image" src="https://github.com/user-attachments/assets/6a96b324-ef48-4547-a91d-cce10553622d" />
19+
1420
> [!NOTE]
1521
> Some Azure Policies (for example, `DeployIfNotExists` / remediation scenarios) require an identity on the assignment. This template always creates a User Assigned Managed Identity and attaches it to the assignment.
1622
@@ -72,7 +78,7 @@ Last updated: 2026-02-09
7278
terraform apply -auto-approve
7379
```
7480

75-
> [!NOTES]
81+
> [!NOTE]
7682
>
7783
> - This template creates the Resource Group for you.
7884
> - If you leave `policy_definition_id` as a placeholder, `terraform apply` will fail with `PolicyDefinitionNotFound`. Use Azure CLI to find a valid definition ID (built-in or custom), for example: `az policy definition list --query "[0].id" -o tsv`.

0 commit comments

Comments
 (0)