Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion checks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ check "non_empty_organization_id" {
// in a folder. In this case, google_project.selected[0].org_id will be empty whereas google_project.selected[0].folder_id
// will be non-empty. We'd need to ask the user to provide the organization_id in such cases.
assert {
condition = local.organization_id != "" && local.integration_type == "ORGANIZATION"
condition = var.organization_id != "" || var.integration_type == "PROJECT"
error_message = "No `organization_id` is provided and we failed to derive one. Please provide `organization_id`."
}
}