cloudmason 1.0.6 → 1.0.8
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/helpers/stacks/asg.yaml +1 -7
- package/main.js +7 -7
- package/package.json +1 -1
|
@@ -411,10 +411,4 @@ Resources:
|
|
|
411
411
|
Properties:
|
|
412
412
|
Name: !Sub '/${AWS::StackName}/version'
|
|
413
413
|
Type: 'String'
|
|
414
|
-
Value: !Ref AppVersion
|
|
415
|
-
ParamEnvironment:
|
|
416
|
-
Type: 'AWS::SSM::Parameter'
|
|
417
|
-
Properties:
|
|
418
|
-
Name: !Sub '/${AWS::StackName}/env'
|
|
419
|
-
Type: 'String'
|
|
420
|
-
Value: !Ref InstanceEnvironment
|
|
414
|
+
Value: !Ref AppVersion
|
package/main.js
CHANGED
|
@@ -152,6 +152,7 @@ async function main(){
|
|
|
152
152
|
// Exit if no org found
|
|
153
153
|
if (args.cmd !== 'init-org' && args.cmd !== 'set-org' && args.cmd !== 'starter' && !orgExists){
|
|
154
154
|
console.log(`No organization found. Use init-org or set-org`);
|
|
155
|
+
return
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
// Check for valid command
|
|
@@ -176,9 +177,6 @@ async function main(){
|
|
|
176
177
|
args.args.region = process.env.orgRegion = args.args.region || 'us-east-1';
|
|
177
178
|
process.env.orgName = args.args.name;
|
|
178
179
|
process.env.orgId = args.args.domain;
|
|
179
|
-
} else if (!orgExists){
|
|
180
|
-
console.log('Run init-org or set-org first');
|
|
181
|
-
return
|
|
182
180
|
}
|
|
183
181
|
|
|
184
182
|
// Exec Command
|
|
@@ -238,10 +236,12 @@ function parseArgs(){
|
|
|
238
236
|
function printAllInfo(){
|
|
239
237
|
Object.entries(Commands).forEach((c)=>{
|
|
240
238
|
console.log(`| ${c[0]} ${c[1].desc}`)
|
|
241
|
-
c[1].args
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
239
|
+
if (c[1].args){
|
|
240
|
+
c[1].args.forEach(a=>{
|
|
241
|
+
const argName = a.r ? `${a.n}*` : a.n;
|
|
242
|
+
console.log(`\t-${argName}: ${a.desc}`)
|
|
243
|
+
})
|
|
244
|
+
}
|
|
245
245
|
console.log('-------\n');
|
|
246
246
|
})
|
|
247
247
|
console.log('\n*required')
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cloudmason","version":"1.0.
|
|
1
|
+
{"name":"cloudmason","version":"1.0.8","description":"","main":"main.js","scripts":{"build":"node build.js"},"bin":{"mason":"./main.js"},"repository":{"type":"git","url":"https://github.com/kai-harvey/secure-saas.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.416.0","@aws-sdk/client-iam":"^3.418.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"}}
|