Created
October 20, 2023 12:02
-
-
Save Jojoooo1/13b5ad38d4ee0e4ce5523757c2916cd0 to your computer and use it in GitHub Desktop.
Terraform organization policy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module "organization_policies_type_boolean" { | |
source = "terraform-google-modules/org-policy/google" | |
version = "5.2.2" | |
for_each = local.boolean_type_organization_policies | |
organization_id = var.org_id | |
policy_for = local.policy_for | |
policy_type = "boolean" | |
enforce = "true" | |
constraint = "constraints/${each.value}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment