We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f163b53 commit 76f6b75Copy full SHA for 76f6b75
checks.tf
@@ -3,7 +3,7 @@ check "non_empty_organization_id" {
3
// in a folder. In this case, google_project.selected[0].org_id will be empty whereas google_project.selected[0].folder_id
4
// will be non-empty. We'd need to ask the user to provide the organization_id in such cases.
5
assert {
6
- condition = local.organization_id != "" && local.integration_type == "ORGANIZATION"
+ condition = var.organization_id != "" || var.integration_type == "PROJECT"
7
error_message = "No `organization_id` is provided and we failed to derive one. Please provide `organization_id`."
8
}
9
0 commit comments