From 88a1c4a5a1365b1c151bb19fcf76d1ba25374125 Mon Sep 17 00:00:00 2001
From: Barclay Walsh <barclay.walsh@parivedasolutions.com>
Date: Wed, 11 Dec 2019 09:13:29 -0600
Subject: [PATCH] Restored stacks.

---
 .../Master/os-indexer-master.yml              | 112 +++++++++---------
 1 file changed, 56 insertions(+), 56 deletions(-)

diff --git a/provider/indexer-aws/CloudFormation/Master/os-indexer-master.yml b/provider/indexer-aws/CloudFormation/Master/os-indexer-master.yml
index 50252f090..f5eec539c 100644
--- a/provider/indexer-aws/CloudFormation/Master/os-indexer-master.yml
+++ b/provider/indexer-aws/CloudFormation/Master/os-indexer-master.yml
@@ -469,66 +469,66 @@ Resources:
 
   #### ECS Resources ###################################################################
 
-#  ECSNetworkStack:
-#    Type: 'AWS::CloudFormation::Stack'
-#    DependsOn: IAMCredentialsStack
-#    Properties:
-#      TemplateURL: !Join [ '', [ !Ref ChildTemplateBasePath, ecs-network.yml ] ]
-#      Parameters:
-#        Environment: !Ref Environment
-#        Region: !Ref DeploymentRegion
-#        ApplicationName: !Ref ApplicationName
-#        ECSPort: !Ref ECSPort
-#
-#  ECSClusterStack:
-#    Type: 'AWS::CloudFormation::Stack'
-#    DependsOn: [SchemaCacheStack, IndexCacheStack]
-#    Properties:
-#      TemplateURL: !Join [ '', [ !Ref ChildTemplateBasePath, ecs-cluster.yml ] ]
-#      Parameters:
-#        Environment: !Ref Environment
-#        Region: !Ref DeploymentRegion
-#        ApplicationName: !Ref ApplicationName
-#        KeyName: !Ref KeyName
-#        DesiredCapacity: !Ref DesiredCapacity
-#        MaxSize: !Ref MaxSize
-#        InstanceType: !Ref InstanceType
-#        SchemaCacheName: !Ref SchemaCacheName
-#        IndexCacheName: !Ref IndexCacheName
-#        ECSPort: !Ref ECSPort
-#        SNSTopicName: !Ref SNSTopicName
-#        ECSMemoryAllocation: !Ref ECSMemoryAllocation
+  ECSNetworkStack:
+    Type: 'AWS::CloudFormation::Stack'
+    DependsOn: IAMCredentialsStack
+    Properties:
+      TemplateURL: !Join [ '', [ !Ref ChildTemplateBasePath, ecs-network.yml ] ]
+      Parameters:
+        Environment: !Ref Environment
+        Region: !Ref DeploymentRegion
+        ApplicationName: !Ref ApplicationName
+        ECSPort: !Ref ECSPort
+
+  ECSClusterStack:
+    Type: 'AWS::CloudFormation::Stack'
+    DependsOn: [SchemaCacheStack, IndexCacheStack]
+    Properties:
+      TemplateURL: !Join [ '', [ !Ref ChildTemplateBasePath, ecs-cluster.yml ] ]
+      Parameters:
+        Environment: !Ref Environment
+        Region: !Ref DeploymentRegion
+        ApplicationName: !Ref ApplicationName
+        KeyName: !Ref KeyName
+        DesiredCapacity: !Ref DesiredCapacity
+        MaxSize: !Ref MaxSize
+        InstanceType: !Ref InstanceType
+        SchemaCacheName: !Ref SchemaCacheName
+        IndexCacheName: !Ref IndexCacheName
+        ECSPort: !Ref ECSPort
+        SNSTopicName: !Ref SNSTopicName
+        ECSMemoryAllocation: !Ref ECSMemoryAllocation
 
 
   #### Caching Resources ###############################################################
 
-#  IndexCacheStack:
-#    Type: 'AWS::CloudFormation::Stack'
-#    DependsOn: ECSNetworkStack
-#    Properties:
-#      TemplateURL: !Join [ '', [ !Ref ChildTemplateBasePath, cache.yml ] ]
-#      Parameters:
-#        Environment: !Ref Environment
-#        Region: !Ref DeploymentRegion
-#        ApplicationName: !Ref ApplicationName
-#        CacheName: !Ref IndexCacheName
-#        CacheEngine: !Ref IndexCacheEngine
-#        NodeInstanceType: !Ref IndexCacheNodeInstanceType
-#        NumberOfCacheNodes: !Ref IndexCacheNumberOfCacheNodes
-#
-#  SchemaCacheStack:
-#    Type: 'AWS::CloudFormation::Stack'
-#    DependsOn: ECSNetworkStack
-#    Properties:
-#      TemplateURL: !Join [ '', [ !Ref ChildTemplateBasePath, cache.yml ] ]
-#      Parameters:
-#        Environment: !Ref Environment
-#        Region: !Ref DeploymentRegion
-#        ApplicationName: !Ref ApplicationName
-#        CacheName: !Ref SchemaCacheName
-#        CacheEngine: !Ref SchemaCacheEngine
-#        NodeInstanceType: !Ref SchemaCacheNodeInstanceType
-#        NumberOfCacheNodes: !Ref SchemaCacheNumberOfCacheNodes
+  IndexCacheStack:
+    Type: 'AWS::CloudFormation::Stack'
+    DependsOn: ECSNetworkStack
+    Properties:
+      TemplateURL: !Join [ '', [ !Ref ChildTemplateBasePath, cache.yml ] ]
+      Parameters:
+        Environment: !Ref Environment
+        Region: !Ref DeploymentRegion
+        ApplicationName: !Ref ApplicationName
+        CacheName: !Ref IndexCacheName
+        CacheEngine: !Ref IndexCacheEngine
+        NodeInstanceType: !Ref IndexCacheNodeInstanceType
+        NumberOfCacheNodes: !Ref IndexCacheNumberOfCacheNodes
+
+  SchemaCacheStack:
+    Type: 'AWS::CloudFormation::Stack'
+    DependsOn: ECSNetworkStack
+    Properties:
+      TemplateURL: !Join [ '', [ !Ref ChildTemplateBasePath, cache.yml ] ]
+      Parameters:
+        Environment: !Ref Environment
+        Region: !Ref DeploymentRegion
+        ApplicationName: !Ref ApplicationName
+        CacheName: !Ref SchemaCacheName
+        CacheEngine: !Ref SchemaCacheEngine
+        NodeInstanceType: !Ref SchemaCacheNodeInstanceType
+        NumberOfCacheNodes: !Ref SchemaCacheNumberOfCacheNodes
 
   #### Elasticsearch Resources #########################################################
   # TODO: Add VPCs to Elasticsearch
-- 
GitLab