Update examples and tests

This commit is contained in:
Julio Castillo
2025-02-06 16:04:23 +00:00
committed by Julio Castillo
parent e4a1218d46
commit 3fc7144c4f
5 changed files with 30 additions and 7 deletions

View File

@@ -517,9 +517,19 @@ module "project" {
"compute.vmExternalIpAccess" = {
rules = [{ deny = { all = true } }]
}
"essentialcontacts.managed.allowedContactDomains" = {
rules = [
{
enforce = true
parameters = jsonencode({
allowedDomains = ["@example.com"]
})
}
]
}
}
}
# tftest modules=1 resources=8 inventory=org-policies.yaml e2e
# tftest modules=1 resources=9 inventory=org-policies.yaml e2e
```
### Organization Policy Factory