Add redis cluster

This commit is contained in:
Layla 2020-05-09 05:07:50 -04:00
parent 4f47f758e7
commit 51b0e65ad7
3 changed files with 17 additions and 0 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "infrastructure/cloudformation/cluster"]
path = infrastructure/cloudformation/cluster
url = git@github.com:josephbmanley/aws-cluster-stack.git
[submodule "infrastructure/cloudformation/redis"]
path = infrastructure/cloudformation/redis
url = git@github.com:josephbmanley/aws-redis-cluster.git

View File

@ -68,6 +68,19 @@ Resources:
SubDomain: !Ref SubDomain
DtDNS: !GetAtt LoadBalancing.Outputs.NlbDnsName
#---------
# Caching
#---------
RedisCache:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/sumu-stacks/dt/${release}/cloudformation/redis/top.yaml'
Parameters:
Environment: !Ref environment
VpcId: !Ref VpcId
SubnetIds: !Join [",", !Split [" ", !Ref PublicSubnets]]
Project: "DT"
#-----------------
# Load Balancing
#-----------------

@ -0,0 +1 @@
Subproject commit b051e15fa09b8e6f764a17d7fc35ae6e74e630e1