set CmpNodeCount cfn parameter
Change-Id: I0c21fbfd78817c2e84f9ae52314852a27e8c8ec7
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index 41e0cca..6f4dfae 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -155,7 +155,10 @@
aws.setupVirtualEnv(venv_path)
// start stack
- def stack_params = ["ParameterKey=KeyName,ParameterValue=" + AWS_SSH_KEY]
+ def stack_params = [
+ "ParameterKey=KeyName,ParameterValue=" + AWS_SSH_KEY,
+ "ParameterKey=CmpNodeCount,ParameterValue=" + STACK_COMPUTE_COUNT
+ ]
def template_file = 'cfn/' + STACK_TEMPLATE + '.yml'
aws.createStack(venv_path, env_vars, template_file, STACK_NAME, stack_params)
}