Skip to content

Commit

Permalink
fix: review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
dgniewek committed Jan 5, 2024
1 parent 084d39f commit 1168ae2
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 @@ -124,7 +124,7 @@ variable "dynamic_table_grants" {
default = []
validation {
condition = alltrue([for grant in var.dynamic_table_grants : !anytrue([grant.privileges == null && grant.all_privileges == null, grant.privileges != null && grant.all_privileges != null])])
error_message = "Variable `dynamic_table_grants` fails validation - only one of `privilages` or `all_privilages` can be not null."
error_message = "Variable `dynamic_table_grants` fails validation - only one of `privileges` or `all_privileges` can be set."
}
validation {
condition = alltrue([for grant in var.dynamic_table_grants : !alltrue([grant.dynamic_table_name != null, grant.on_future || grant.on_all])])
Expand Down

0 comments on commit 1168ae2

Please sign in to comment.