unfunco / terraform-aws-oidc-github

Terraform module to configure GitHub Actions as an IAM OIDC identity provider in AWS.
https://registry.terraform.io/modules/unfunco/oidc-github/aws/latest
Apache License 2.0
91 stars 51 forks source link

fix: ensure additional_thumbprint validation allows a null value #26

Closed Antvirf closed 1 year ago

Antvirf commented 1 year ago

Fix issue https://github.com/unfunco/terraform-aws-oidc-github/issues/25

Minimal example for this module can't be executed as the validation of additional_thumbprints fails as the input (for which the default is null) cannot be null.

This change only applies the validation on thumbprint length if the provided input is non-null, fixing the issue.