Skip to content

Commit

Permalink
Fix documentation for organization-policy module (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
averbuks authored Jul 10, 2022
1 parent e21a0f7 commit f3dd869
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/organization-policy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ cat ./policies/baseline.yaml
organizations/1234567890:
constraints/compute.vmExternalIpAccess:
rules:
- deny_all: true
- deny: [] # Stands for deny_all = true
folders/1234567890:
compute.vmCanIpForward:
inherit_from_parent: false
Expand All @@ -136,13 +136,12 @@ projects/my-project-id:
run.allowedIngress:
inherit_from_parent: true
rules:
- condition:
- allow: ['internal'] # Stands for values.allowed_values
condition:
description: allow internal ingress
expression: resource.matchTag("123456789/environment", "prod")
location: test.log
title: allow-for-prod
values:
allowed_values: ['internal']
iam.allowServiceAccountCredentialLifetimeExtension:
rules:
- deny: [] # Stands for deny_all = true
Expand Down

0 comments on commit f3dd869

Please sign in to comment.