This module is used to generate a random password and encode it with htpasswd for use with Kubernetes Ingresses that have HTTP basic auth enabled.
wbstack/terraform-kubernetes-basic-auth
Generate a randomized htpasswd secret for use with HTTP basic auth
HCLMIT