@agilecustoms/envctl 0.32.0 → 0.32.2

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.
@@ -12,9 +12,7 @@ export class CliHelper {
12
12
  return answer;
13
13
  }
14
14
  getKind(cwd) {
15
- const kind = getDirName(cwd);
16
- console.log(`Inferred kind from directory name: ${kind}`);
17
- return kind;
15
+ return getDirName(cwd);
18
16
  }
19
17
  }
20
18
  function getDirName(cwd) {
@@ -69,7 +69,7 @@ export class TerraformAdapter {
69
69
  }
70
70
  async lockProviders(cwd) {
71
71
  console.log('Update lock file');
72
- await this.processRunner.run('terraform', ['providers', 'lock', '-platform=linux_amd64'], cwd);
72
+ await this.processRunner.run('terraform', ['providers', 'lock', '-platform=linux_arm64'], cwd);
73
73
  }
74
74
  printTime() {
75
75
  const now = new Date();
@@ -115,6 +115,7 @@ export class EnvCtl {
115
115
  let env = await this.tryGetEnv(key);
116
116
  if (env === null) {
117
117
  const kind = this.cliHelper.getKind(cwd);
118
+ console.log(`Inferred kind from directory name: ${kind}`);
118
119
  const userName = this.configService.getUserName();
119
120
  const createEnv = { key, owner: userName, kind };
120
121
  await this.lockTerraform(createEnv, cwd);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agilecustoms/envctl",
3
3
  "description": "node.js CLI client for manage environments",
4
- "version": "0.32.0",
4
+ "version": "0.32.2",
5
5
  "author": "Alex Chekulaev",
6
6
  "type": "module",
7
7
  "bin": {