Skip to content

Commit

Permalink
Fix variable validation message
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Nov 11, 2023
1 parent ec6775a commit 0728966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/terraform-aci-snmp-policy/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ variable "users" {
condition = alltrue([
for u in var.users : u.authorization_type == null || try(contains(["hmac-md5-96", "hmac-sha1-96", "hmac-sha2-224", "hmac-sha2-256", "hmac-sha2-384", "hmac-sha2-512"], u.authorization_type), false)
])
error_message = "`authorization_type`: Allowed values are `hmac-md5-96` or `hmac-sha1-96`."
error_message = "`authorization_type`: Allowed values are `hmac-md5-96`, `hmac-sha1-96`, `hmac-sha2-224`, `hmac-sha2-256`, `hmac-sha2-384` or `hmac-sha2-512`."
}

validation {
Expand Down

0 comments on commit 0728966

Please sign in to comment.