Skip to content

Commit

Permalink
fix: Reduce the allowed additional_thumbprints (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
unfunco authored Jun 28, 2023
1 parent b423cc7 commit b89bb89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/complete/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ variable "additional_thumbprints" {
type = list(string)

validation {
condition = var.additional_thumbprints == null ? true : length(var.additional_thumbprints) <= 4
error_message = "Only 4 additional thumbprints can be set, for a maximum of 5 in the OIDC provider."
condition = var.additional_thumbprints == null ? true : length(var.additional_thumbprints) <= 3
error_message = "Only 3 additional thumbprints can be set, for a maximum of 5 in the OIDC provider."
}
}

Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ variable "additional_thumbprints" {
type = list(string)

validation {
condition = var.additional_thumbprints == null ? true : length(var.additional_thumbprints) <= 4
error_message = "Only 4 additional thumbprints can be set, for a maximum of 5 in the OIDC provider."
condition = var.additional_thumbprints == null ? true : length(var.additional_thumbprints) <= 3
error_message = "Only 3 additional thumbprints can be set, for a maximum of 5 in the OIDC provider."
}
}

Expand Down

0 comments on commit b89bb89

Please sign in to comment.