terraform-aws-elasticache-redis
terraform-aws-elasticache-redis copied to clipboard
feat: allow random auth token variable as an option
trafficstars
what
- Add a two variables
create_random_auth_tokenandrandom_auth_token_lengththat would be used to generate a random auth token that is stored in terraform state and used as the auth_token for redis
why
Currently users of this module need to either handle the auth_token through something more secret outside of this module or commit the auth_token directly to their terraform variables. This random password path is a highly used pattern for modules like this one