Skip to content

Commit

Permalink
Fix identation and a typo in autoscaling group definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyklyukin committed Apr 30, 2015
1 parent b140a7d commit 0316c2b
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions postgres-appliance/spilo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@ SenzaInfo:
# a list of senza components to apply to the definition
SenzaComponents:

# this basic configuration is required for the other components
- Configuration:
Type: Senza::StupsAutoConfiguration # auto-detect network setup
# this basic configuration is required for the other components
- Configuration:
Type: Senza::StupsAutoConfiguration # auto-detect network setup

# will create a launch configuration and auto scaling group with scaling triggers
- AppServer:
Type: Senza::TaupageAutoScalingGroup
Autoscaling:
Minumum: 3
Maximum: 3
MetricType: CPU
InstanceType: t2.micro
SecurityGroups:
- app-spilo
IamRoles:
- app-spilo
TaupageConfig:
runtime: Docker
source: "{{Arguments.ImageVersion}}"
ports:
5432: 5432
environment:
SCOPE: "{{Arguments.version}}"
ETCD_DISCOVERY_URL: "{{Arguments.EtcdDiscoveryUrl}}"
root: true
# will create a launch configuration and auto scaling group with scaling triggers
- AppServer:
Type: Senza::TaupageAutoScalingGroup
AutoScaling:
Minimum: 3
Maximum: 3
MetricType: CPU
InstanceType: t2.micro
SecurityGroups:
- app-spilo
IamRoles:
- app-spilo
TaupageConfig:
runtime: Docker
source: "{{Arguments.ImageVersion}}"
ports:
5432: 5432
environment:
SCOPE: "{{Arguments.version}}"
ETCD_DISCOVERY_URL: "{{Arguments.EtcdDiscoveryUrl}}"
root: true

0 comments on commit 0316c2b

Please sign in to comment.