Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

kunzese
Copy link
Contributor

@kunzese kunzese commented Sep 22, 2023

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.

@kunzese kunzese requested a review from a team as a code owner September 22, 2023 11:47
@bharathkkb
Copy link
Member

/gcbrun

Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @kunzese

@bharathkkb bharathkkb merged commit c4c4663 into terraform-google-modules:master Oct 4, 2023
4 checks passed
@kunzese kunzese deleted the v2-inherit-from-parent branch October 5, 2023 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants