cloudmason 2.7.51 → 2.7.52
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.
- package/commands/publish.js +1 -5
- package/main.js +1 -1
- package/package.json +1 -1
package/commands/publish.js
CHANGED
|
@@ -57,11 +57,7 @@ exports.main = async function(args){
|
|
|
57
57
|
pubArgs.amiId = instanceVersion.baseAMI_Id;
|
|
58
58
|
pubArgs.arch = instanceVersion.arch || 'x86_64';
|
|
59
59
|
if (args.cft){
|
|
60
|
-
pubArgs.cftS3Url =
|
|
61
|
-
if (!pubArgs.cftS3Url){
|
|
62
|
-
console.log('ERR: No stack URL found for version',pubArgs.version);
|
|
63
|
-
throw new Error('No stack URL found for version:' + pubArgs.version);
|
|
64
|
-
}
|
|
60
|
+
pubArgs.cftS3Url = args.cft;
|
|
65
61
|
const missing = ['short','long','diagram'].filter(k => !args[k]);
|
|
66
62
|
if (missing.length){
|
|
67
63
|
throw new Error('Missing required CFT args: ' + missing.map(k=>'-'+k).join(', '));
|
package/main.js
CHANGED
|
@@ -115,7 +115,7 @@ const Commands = {
|
|
|
115
115
|
{n: 'v', desc: 'Version to launch', pattern: `[0-9]{1,20}`, r: true},
|
|
116
116
|
{n: 'stack', desc: 'Path of stack.yaml (required for AMI-only publish)', r: false},
|
|
117
117
|
{n: 'out', desc: 'Output path of marketplace stack (AMI-only publish)', r: false},
|
|
118
|
-
{n: 'cft', desc: '
|
|
118
|
+
{n: 'cft', desc: 'S3 URL of CloudFormation template (presence triggers AMI + CFT delivery)', r: false},
|
|
119
119
|
{n: 'short', desc: 'S3 URL of short-description text file (required when -cft is set)', r: false},
|
|
120
120
|
{n: 'long', desc: 'S3 URL of long-description text file (required when -cft is set)', r: false},
|
|
121
121
|
{n: 'diagram', desc: 'S3 URL of architecture diagram image (required when -cft is set)', r: false}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cloudmason","version":"2.7.
|
|
1
|
+
{"name":"cloudmason","version":"2.7.52","description":"","main":"main.js","scripts":{"build":"node build.js"},"bin":{"mason":"./main.js"},"repository":{"type":"git","url":"https://github.com/kai-harvey/cloudmason.git"},"author":"Kai Harvey","license":"ISC","dependencies":{"@aws-sdk/client-acm":"^3.418.0","@aws-sdk/client-auto-scaling":"^3.470.0","@aws-sdk/client-cloudformation":"^3.418.0","@aws-sdk/client-ec2":"^3.864.0","@aws-sdk/client-iam":"^3.864.0","@aws-sdk/client-marketplace-catalog":"^3.716.0","@aws-sdk/client-route-53":"^3.425.0","@aws-sdk/client-s3":"^3.418.0","@aws-sdk/client-ssm":"^3.421.0","adm-zip":"^0.5.10","ssh2":"^1.16.0","yaml":"^2.6.1"}}
|