Commit a1785d51 by Feanil Patel

Corrections and fixes to match what the manual command used to do.

parent 42325241
...@@ -399,9 +399,9 @@ ...@@ -399,9 +399,9 @@
"Resources":{ "Resources":{
"EdxVPC":{ "EdxVPC":{
"Type":"AWS::EC2::VPC", "Type":"AWS::EC2::VPC",
"EnableDnsSupport" : "true",
"EnableDnsHostnames" : "true",
"Properties":{ "Properties":{
"EnableDnsSupport" : "true",
"EnableDnsHostnames" : "true",
"CidrBlock":"10.0.0.0/16", "CidrBlock":"10.0.0.0/16",
"InstanceTenancy":"default" "InstanceTenancy":"default"
} }
...@@ -5194,27 +5194,27 @@ ...@@ -5194,27 +5194,27 @@
"Type" : "AWS::ElastiCache::SubnetGroup", "Type" : "AWS::ElastiCache::SubnetGroup",
"Properties" : { "Properties" : {
"Description" : "Cache Subnet Group", "Description" : "Cache Subnet Group",
"SubnetIds" : [ { "Ref" : "PublicSubnet01" }, { "Ref" : "PublicSubnet02" } ] "SubnetIds" : [ { "Ref" : "CacheSubnet01" }, { "Ref" : "CacheSubnet02" } ]
} }
}, },
"CacheParameters" : {
"Type" : "AWS::ElastiCache::ParameterGroup",
"Properties" : {
"CacheParameterGroupFamily" : "memcached1.4",
"Description" : "Parameter group",
"Properties" : {
"cas_disabled" : "1"
}
}
},
"CacheCluster" : { "CacheCluster" : {
"Type": "AWS::ElastiCache::CacheCluster", "Type": "AWS::ElastiCache::CacheCluster",
"Properties": { "Properties": {
"CacheSubnetGroupName" : { "Ref" : "CacheSubnetGroup" }, "NumCacheNodes" : { "Ref" : "NumberOfCacheNodes" }
"CacheNodeType" : { "Ref" : "CacheNodeType" }, "CacheNodeType" : { "Ref" : "CacheNodeType" },
"VpcSecurityGroupIds" : [ { "Ref" : "CacheSecurityGroup" } ],
"Engine" : "memcached", "Engine" : "memcached",
"NumCacheNodes" : { "Ref" : "NumberOfCacheNodes" } "EngineVersion": "1.4.5",
"Port": { "Ref": "CacheNodePort" },
"PreferredAvailabilityZone": { "Fn::FindInMap":[
"MapRegionsToAvailZones",
{ "Ref":"AWS::Region" },
"AZone0"
]
},
"CacheParameterGroupName": "default.memcached1.4",
"AutoMinorVersionUpgrade": true
"CacheSubnetGroupName" : { "Ref" : "CacheSubnetGroup" },
"VpcSecurityGroupIds" : [ { "Ref" : "CacheSecurityGroup" } ],
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment