Skip to content

Commit a402488

Browse files
committed
env vars
1 parent 57e8cb1 commit a402488

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

terraform/endpoints.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ locals {
3030
"PDS_ENV" = local.environment == "prod" ? "prod" : local.environment == "ref" ? "ref" : "int",
3131
"SPLUNK_FIREHOSE_NAME" = module.splunk.firehose_stream_name
3232
"SQS_QUEUE_URL" = "https://sqs.eu-west-2.amazonaws.com/${local.immunisation_account_id}/${local.short_prefix}-ack-metadata-queue.fifo"
33+
"REDIS_HOST" = data.aws_elasticache_cluster.existing_redis.cache_nodes[0].address
34+
"REDIS_PORT" = data.aws_elasticache_cluster.existing_redis.cache_nodes[0].port
3335
}
3436
}
3537
data "aws_iam_policy_document" "imms_policy_document" {

0 commit comments

Comments
 (0)