Adding Validation to Ensure Identity Pool Name is Within Character Limit
Hey team!
I just started using the OIDC module and encountered an error with the character limit for identity pool names. Can we add some validation to catch this before it goes to a pipeline?
│ Error: "workload_identity_pool_id" cannot be greater than 32 characters
│
│ with module.gitlab_oidc.google_iam_workload_identity_pool.gitlab_pool,
│ on modules/oidc/main.tf line 3, in resource "google_iam_workload_identity_pool" "gitlab_pool":
│ 3: workload_identity_pool_id = "gitlab-identity-pool-oidc-${coalesce(var.workload_identity_name, var.gitlab_project_id)}"
The default, out-of-the-box variable is a little long.