Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 23, 2023
1 parent 3de4b11 commit 160c4b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patch-aws-auth/variables.aws-auth.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ variable "aws_auth_users" {
default = []

validation {
condition = all([for v in var.aws_auth_users : v.userarn != null && v.aws_username != null])
condition = alltrue([for v in var.aws_auth_users : v.userarn != null && v.aws_username != null])
error_message = "Both userarn and aws_userarn may not be null."
}
}
Expand All @@ -27,7 +27,7 @@ variable "aws_auth_roles" {
default = []

validation {
condition = all([for v in var.aws_auth_roles : v.rolearn != null && v.aws_rolename != null])
condition = alltrue([for v in var.aws_auth_roles : v.rolearn != null && v.aws_rolename != null])
error_message = "Both rolearn and aws_rolename may not be null."
}
}
Expand Down

0 comments on commit 160c4b6

Please sign in to comment.