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

feat: support inheritance for list constraints on v2 module #104

Closed kunzese closed 9 months ago

kunzese commented 9 months ago

I might be missing something, but until now the v2 module did not support the inheritFromParent property.

https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/folders.policies#Policy.PolicySpec

The change in line 27 does not do much, but i left it in for consistency, so that the three blocks (org, folder, project) look the same.

https://github.com/kunzese/terraform-google-org-policy/blob/v2-inherit-from-parent/modules/org_policy_v2/list_constraints.tf#L27

The changes from No output. to No outputs. came from running make generate_docs.

bharathkkb commented 9 months ago

/gcbrun