Skip to content

Commit

Permalink
Merge pull request #33 from aws-samples/vpc-elasticache-templates
Browse files Browse the repository at this point in the history
Wrapper templates for ElastiCache
  • Loading branch information
rnzsgh authored Aug 23, 2018
2 parents eb59d25 + a452615 commit f8193f8
Show file tree
Hide file tree
Showing 3 changed files with 989 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/elasticache.cfn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Parameters:
ClusterName:
Description: Custom name of the cluster. Auto generated if you don't supply your own.
Type: String
AllowedPattern: "^[a-zA-Z][-a-zA-Z0-9]*$"

CacheNodeType:
Description: Cache node instance class, e.g. cache.t2.micro(free tier). See https://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheNodes.SelectSize.html
Expand Down Expand Up @@ -107,6 +108,7 @@ Resources:
AutoMinorVersionUpgrade: !Ref AutoMinorVersionUpgrade
Engine: !Ref CacheEngine
CacheNodeType: !Ref CacheNodeType
ClusterName : !Ref ClusterName
NumCacheNodes: !If [ IsRedis, 1, !Ref CacheNodeCount]
CacheSubnetGroupName: !Ref SubnetGroup
VpcSecurityGroupIds:
Expand Down
Loading

0 comments on commit f8193f8

Please sign in to comment.