terraform-aws-elasticache-redis icon indicating copy to clipboard operation
terraform-aws-elasticache-redis copied to clipboard

feat: allow random auth token variable as an option

Open travertischio opened this issue 2 years ago • 11 comments
trafficstars

what

  • Add a two variables create_random_auth_token and random_auth_token_length that 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

travertischio avatar Jun 14 '23 00:06 travertischio