cloudmason 1.3.18 → 1.4.20

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.
@@ -144,7 +144,7 @@ async function launchInstance(launchParams){
144
144
  `npm install -g pm2`,
145
145
  `cd /home/ec2-user`,
146
146
  `aws s3 cp s3://${process.env.orgBucket}/apps/${launchParams.app.toLowerCase()}/${launchParams.version}/app.zip .`,
147
- `sleep 30`,
147
+ `sleep 10`,
148
148
  `unzip app.zip -d app`,
149
149
  `touch app/ami_ok.txt`,
150
150
  `rm -r app.zip`
@@ -207,8 +207,8 @@ async function waitUntilInstanceReady(instance_id,region){
207
207
  console.log('ERR:::', `Ec2 Instance Not Ready After ${totalSleepTime}s`)
208
208
  throw `Ec2 Instance Not Ready After ${totalSleepTime}s`
209
209
  } else {
210
- console.log(`Instance Ready After ${totalSleepTime}s. Waiting 30s to Proceed`);
211
- await sleep(30);
210
+ console.log(`Instance Ready After ${totalSleepTime}s. Waiting 5m to Proceed`);
211
+ await sleep(300000);
212
212
  }
213
213
  return true;
214
214
  }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"cloudmason","version":"1.3.18","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-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","yaml":"^2.6.1"}}
1
+ {"name":"cloudmason","version":"1.4.20","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-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","yaml":"^2.6.1"}}