terraform-google-modules / terraform-google-org-policy

Manages Google Cloud organization policies
https://registry.terraform.io/modules/terraform-google-modules/org-policy/google
Apache License 2.0
79 stars 79 forks source link

Update `enforcement` documentation #128

Closed stevenyslee closed 2 months ago

stevenyslee commented 4 months ago

TL;DR

The README documentation should replace instances of enforce with enforcement and clarify that if an allow or deny list is included that the value will be ignored. The Inputs table should also be updated to say that the enforcement field is required

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

rules = [
    {
      enforcement = null // required
      allow = [
        "@someTestOrg.net",
      ]
      deny = []
      conditions = [
        {
          description = "A condition"
          expression  = "resource.matchTag('123456789/tag-key', 'val1')"
          title       = "Allow resource"
      }, ]
    }]

Terraform Version

1.2.3

Additional information

No response

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days