You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract repeated redis_passwordless_aws_use_instance_profile condition into local variable
Address feedback from nikolasrieble and GitHub Copilot:
- Extract var.redis_passwordless_aws_use_instance_profile into local.use_redis_passwordless_aws
- Replace 5 occurrences of the repeated condition with the local variable
- Improves maintainability and reduces duplication as suggested
This makes the code easier to maintain if the condition logic ever needs to change.
0 commit comments