Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions templates/elasticache.cfn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Parameters:

Conditions:

IsRedis: !Equals [ !Ref CacheEngine, redis]
IsRedis: !Equals [ !Ref CacheEngine, 'redis']

Resources:

Expand All @@ -89,13 +89,11 @@ Resources:
VpcId:
Fn::ImportValue: !Sub ${NetworkStackName}-VpcID
SecurityGroupIngress:
-
IpProtocol: tcp
- IpProtocol: tcp
FromPort: !If [ IsRedis, 6379, 11211]
ToPort: !If [ IsRedis, 6379, 11211]
Tags:
-
Key: Name
- Key: Name
Value: !Sub "${AWS::StackName}-ElastiCacheSecurityGroup"

SubnetGroup:
Expand Down