@go-to-k/cdkd 0.219.5 → 0.219.6
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/cli.js +17 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -19271,10 +19271,25 @@ var ECSProvider = class {
|
|
|
19271
19271
|
return volumes.map((v) => ({
|
|
19272
19272
|
name: v["Name"],
|
|
19273
19273
|
host: v["Host"],
|
|
19274
|
-
efsVolumeConfiguration: v["EFSVolumeConfiguration"]
|
|
19274
|
+
efsVolumeConfiguration: v["EFSVolumeConfiguration"],
|
|
19275
|
+
configuredAtLaunch: this.coerceBool(v["ConfiguredAtLaunch"])
|
|
19275
19276
|
}));
|
|
19276
19277
|
}
|
|
19277
19278
|
/**
|
|
19279
|
+
* Coerce a CFn boolean property to a real boolean at the wire boundary.
|
|
19280
|
+
* CFn templates can carry booleans as the strings "true" / "false"
|
|
19281
|
+
* (e.g. via Fn::Sub / parameter plumbing), so the SDK input must
|
|
19282
|
+
* normalize both. Returns `undefined` for absent props so the field is
|
|
19283
|
+
* omitted from the SDK input (AWS keeps its default) rather than being
|
|
19284
|
+
* forced to `false`.
|
|
19285
|
+
*/
|
|
19286
|
+
coerceBool(value) {
|
|
19287
|
+
if (value === void 0 || value === null) return void 0;
|
|
19288
|
+
if (typeof value === "boolean") return value;
|
|
19289
|
+
if (value === "true") return true;
|
|
19290
|
+
if (value === "false") return false;
|
|
19291
|
+
}
|
|
19292
|
+
/**
|
|
19278
19293
|
* Convert CFn NetworkConfiguration to ECS SDK format
|
|
19279
19294
|
*/
|
|
19280
19295
|
/**
|
|
@@ -52852,7 +52867,7 @@ function reorderArgs(argv) {
|
|
|
52852
52867
|
async function main() {
|
|
52853
52868
|
installPipeCloseHandler();
|
|
52854
52869
|
const program = new Command();
|
|
52855
|
-
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.219.
|
|
52870
|
+
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.219.6");
|
|
52856
52871
|
program.addCommand(createBootstrapCommand());
|
|
52857
52872
|
program.addCommand(createSynthCommand());
|
|
52858
52873
|
program.addCommand(createListCommand());
|