@ostro-cloud/cli 1.0.0-alpha.6 → 1.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -130,7 +130,7 @@ async function validateTemplate(options = {}) {
|
|
|
130
130
|
const templateDir = path.dirname(path.resolve(templatePath));
|
|
131
131
|
const stackName = options.stackName || path.basename(process.cwd());
|
|
132
132
|
|
|
133
|
-
let effectiveParams = options.parameters
|
|
133
|
+
let effectiveParams = parseParameters(options.parameters);
|
|
134
134
|
if (typeof effectiveParams === 'string') {
|
|
135
135
|
try { effectiveParams = JSON.parse(effectiveParams); } catch { effectiveParams = {}; }
|
|
136
136
|
}
|
|
@@ -212,7 +212,7 @@ async function createStack(options = {}) {
|
|
|
212
212
|
const formationUrl = resolveServiceUrl('formation', options.formationUrl);
|
|
213
213
|
const templateDir = path.dirname(path.resolve(templatePath));
|
|
214
214
|
|
|
215
|
-
let effectiveParams = options.parameters
|
|
215
|
+
let effectiveParams = parseParameters(options.parameters);
|
|
216
216
|
if (typeof effectiveParams === 'string') {
|
|
217
217
|
try { effectiveParams = JSON.parse(effectiveParams); } catch { effectiveParams = {}; }
|
|
218
218
|
}
|
|
@@ -288,7 +288,7 @@ async function deployStack(options = {}) {
|
|
|
288
288
|
const formationUrl = resolveServiceUrl('formation', options.formationUrl);
|
|
289
289
|
const templateDir = path.dirname(path.resolve(templatePath));
|
|
290
290
|
|
|
291
|
-
let effectiveParams = options.parameters
|
|
291
|
+
let effectiveParams = parseParameters(options.parameters);
|
|
292
292
|
if (typeof effectiveParams === 'string') {
|
|
293
293
|
try { effectiveParams = JSON.parse(effectiveParams); } catch { effectiveParams = {}; }
|
|
294
294
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ostro-cloud/cli",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.7",
|
|
4
4
|
"description": "Enterprise Command Line Interface (CLI) for Ostro Cloud Serverless, S3 Buckets, Kubernetes, and CloudFormation Orchestration",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|