From c41712e5b222cdceb527c7c422dd86d807b213d9 Mon Sep 17 00:00:00 2001 From: Michael Neil Date: Mon, 19 Nov 2018 17:12:09 -0800 Subject: [PATCH] Issue #401 - Mismatch ScalingMaxCapacity and ScalingMaxSize The database template expected Capacity while the database_upserter set Size as the parameter. --- workflows/database_upsert.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflows/database_upsert.go b/workflows/database_upsert.go index c89dde96..8385c116 100644 --- a/workflows/database_upsert.go +++ b/workflows/database_upsert.go @@ -143,8 +143,8 @@ func (workflow *databaseWorkflow) databaseDeployer(namespace string, service *co common.NewMapElementIfNotEmpty(stackParams, "DatabaseInstanceClass", dbConfig.InstanceClass) common.NewMapElementIfNotEmpty(stackParams, "DatabaseStorage", dbConfig.AllocatedStorage) - common.NewMapElementIfNotEmpty(stackParams, "ScalingMinSize", dbConfig.MinSize) - common.NewMapElementIfNotEmpty(stackParams, "ScalingMaxSize", dbConfig.MaxSize) + common.NewMapElementIfNotEmpty(stackParams, "ScalingMinCapacity", dbConfig.MinSize) + common.NewMapElementIfNotEmpty(stackParams, "ScalingMaxCapacity", dbConfig.MaxSize) common.NewMapElementIfNotEmpty(stackParams, "SecondsUntilAutoPause", dbConfig.SecondsUntilAutoPause) stackParams["DatabaseMasterUsername"] = "admin"