Skip to content

Commit

Permalink
Accept suggestion: add colon
Browse files Browse the repository at this point in the history
Co-authored-by: Zied Elouaer <[email protected]>
  • Loading branch information
zonorti and zied-elouaer authored May 3, 2024
1 parent 0494ab0 commit 4900bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ variable "members" {

validation {
condition = alltrue([for m in var.members : can(regex("^(allUsers|allAuthenticatedUsers|(user|serviceAccount|group|domain|projectOwner|projectEditor|projectViewer|computed|principal|principalSet):)", m))])
error_message = "The value must be a non-empty list of strings where each entry is a valid principal type identified with `user:`, `serviceAccount:`, `group:`, `domain:`, `projectOwner:`, `projectEditor:`, `projectViewer:`, `computed`, `principal` or `principalSet`."
error_message = "The value must be a non-empty list of strings where each entry is a valid principal type identified with `user:`, `serviceAccount:`, `group:`, `domain:`, `projectOwner:`, `projectEditor:`, `projectViewer:`, `computed:`, `principal:` or `principalSet:`."
}
}

Expand Down

0 comments on commit 4900bb5

Please sign in to comment.