Skip to content
Snippets Groups Projects
Commit 88a1c4a5 authored by Barclay Walsh's avatar Barclay Walsh
Browse files

Restored stacks.

parent 83743b09
No related branches found
No related tags found
1 merge request!6Trusted ibm
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment