Skip to content

Commit 13e0d4f

Browse files
feat: add Redis passwordless AWS host name support
- Add redis_passwordless_aws_host_name to runtime configuration - Extract Redis cluster name from local.redis.hostname for IAM auth - Support Redis passwordless authentication with host name for ElastiCache
1 parent 5c39336 commit 13e0d4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ module "runtime_container_engine_config" {
331331
redis_client_key_path = "/etc/ssl/private/terraform-enterprise/redis/key.pem"
332332
redis_passwordless_aws_use_iam = var.redis_enable_iam_auth && !var.redis_use_password_auth
333333
redis_passwordless_aws_region = var.redis_enable_iam_auth && !var.redis_use_password_auth ? data.aws_region.current.name : ""
334+
redis_passwordless_aws_host_name = var.redis_enable_iam_auth && !var.redis_use_password_auth ? local.redis.hostname : ""
334335

335336

336337
trusted_proxies = local.trusted_proxies

0 commit comments

Comments
 (0)