You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To control module's behavior, change variables' values regarding the following:
50
69
@@ -99,7 +118,7 @@ To control module's behavior, change variables' values regarding the following:
99
118
| policy\_root | Resource hierarchy node to apply the policy to: can be one of `organization`, `folder`, or `project`. |`string`|`"organization"`| no |
100
119
| policy\_root\_id | The policy root id, either of organization\_id, folder\_id or project\_id |`string`|`null`| no |
101
120
| policy\_type | The constraint type to work with (either 'boolean' or 'list') |`string`|`"list"`| no |
102
-
| rules | List of rules per policy. Up to 10. | <pre>list(object(<br> {<br> enforcement = bool<br> allow = list(string)<br> deny = list(string)<br> conditions = list(object(<br> {<br> description = string<br> expression = string<br> title = string<br> location = string<br> }<br> ))<br> }<br> ))</pre> | n/a | yes |
121
+
| rules | List of rules per policy. Up to 10. | <pre>list(object(<br> {<br> enforcement = bool<br> allow = optional(list(string), [])<br> deny = optional(list(string), [])<br> conditions = optional(list(object(<br> {<br> description = string<br> expression = string<br> title = string<br> location = string<br> }<br> )), [])<br> }<br> ))</pre> | n/a | yes |
103
122
104
123
## Outputs
105
124
@@ -114,15 +133,15 @@ To control module's behavior, change variables' values regarding the following:
114
133
---
115
134
116
135
## Compatibility
117
-
This module is meant for use with Terraform 0.13+ and tested using Terraform 1.0+. If you find incompatibilities using Terraform >=0.13, please open an issue.
136
+
This module is meant for use with Terraform 1.3+ and tested using Terraform 1.0+. If you find incompatibilities using Terraform >=1.3, please open an issue.
118
137
If you haven't
119
138
[upgraded](https://www.terraform.io/upgrade-guides/0-13.html) and need a Terraform
120
139
0.12.x-compatible version of this module, the last released version
121
140
intended for Terraform 0.12.x is [v4.0.0](https://registry.terraform.io/modules/terraform-google-modules/-org-policy/google/v4.0.0).
0 commit comments