Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 39d5d21

Browse files
committed
correct redis endpoint address reference in env vars
1 parent 55fe3ec commit 39d5d21

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

awscdk/awscdk/cdk_app_root.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(
9292
postgres_host=self.rds.rds_cluster.get_att(
9393
"Endpoint.Address"
9494
).to_string(),
95-
redis_host=self.elasticache.elasticache.attr_configuration_endpoint_address, # noqa
95+
redis_host=self.elasticache.elasticache.attr_redis_endpoint_address, # noqa
9696
)
9797

9898
self.backend = Backend(

awscdk/stack.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ Resources:
812812
Value:
813813
Fn::GetAtt:
814814
- ElastiCacheRedisElastiCacheClusterRedis25390D9F
815-
- ConfigurationEndpoint.Address
815+
- RedisEndpoint.Address
816816
Essential: true
817817
Image:
818818
Fn::Join:
@@ -1018,7 +1018,7 @@ Resources:
10181018
Value:
10191019
Fn::GetAtt:
10201020
- ElastiCacheRedisElastiCacheClusterRedis25390D9F
1021-
- ConfigurationEndpoint.Address
1021+
- RedisEndpoint.Address
10221022
Essential: true
10231023
Image:
10241024
Fn::Join:
@@ -1205,7 +1205,7 @@ Resources:
12051205
Value:
12061206
Fn::GetAtt:
12071207
- ElastiCacheRedisElastiCacheClusterRedis25390D9F
1208-
- ConfigurationEndpoint.Address
1208+
- RedisEndpoint.Address
12091209
Essential: true
12101210
Image:
12111211
Fn::Join:
@@ -1391,7 +1391,7 @@ Resources:
13911391
Value:
13921392
Fn::GetAtt:
13931393
- ElastiCacheRedisElastiCacheClusterRedis25390D9F
1394-
- ConfigurationEndpoint.Address
1394+
- RedisEndpoint.Address
13951395
Essential: true
13961396
Image:
13971397
Fn::Join:

0 commit comments

Comments
 (0)