Skip to content

Commit

Permalink
fix: remove None from service_credential_names default value
Browse files Browse the repository at this point in the history
  • Loading branch information
dishankkalra23 committed Oct 25, 2024
1 parent 9bcbfdb commit 2391f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ variable "service_credential_names" {
default = {}

validation {
condition = alltrue([for name, role in var.service_credential_names : contains(["Writer", "Reader", "Manager", "None"], role)])
error_message = "The specified service credential role is not valid. The following values are valid for service credential roles: 'Writer', 'Reader', 'Manager', 'None'"
condition = alltrue([for name, role in var.service_credential_names : contains(["Writer", "Reader", "Manager"], role)])
error_message = "The specified service credential role is not valid. The following values are valid for service credential roles: 'Writer', 'Reader', 'Manager'"
}
}

0 comments on commit 2391f0d

Please sign in to comment.