From 1168ae204cd98b293de04340834f51d43dff2f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Gniewek-W=C4=99grzyn?= Date: Fri, 5 Jan 2024 12:33:29 +0100 Subject: [PATCH] fix: review suggestions --- variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index 234df39..4e4550f 100644 --- a/variables.tf +++ b/variables.tf @@ -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])])