│ Error: Invalid function argument
│
│ on .terraform/modules/aws_oidc_github/variables.tf line 21, in variable "additional_thumbprints":
│ 21: condition = length(var.additional_thumbprints) <= 4
│ ├────────────────
│ │ while calling length(value)
│ │ var.additional_thumbprints is null
│
│ Invalid value for "value" parameter: argument must not be null.
workaround(and If additional_thumbprints is required, then)
If additional_thumbprints is not required, it should not be an error to not include it in the code.
has error
workaround(and If additional_thumbprints is required, then)
Additional checks on condition would be nice.
like https://stackoverflow.com/questions/66912991/terraform-custom-validation-for-variable-that-can-be-null