@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.
package/dist/client/CliHelper.js
CHANGED
|
@@ -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=
|
|
72
|
+
await this.processRunner.run('terraform', ['providers', 'lock', '-platform=linux_arm64'], cwd);
|
|
73
73
|
}
|
|
74
74
|
printTime() {
|
|
75
75
|
const now = new Date();
|
package/dist/service/EnvCtl.js
CHANGED
|
@@ -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);
|