@aws-cdk/integ-runner 2.203.1 → 2.203.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/lib/workers/extract/index.js +43 -5
- package/package.json +3 -3
|
@@ -4766,7 +4766,7 @@ var require_semver2 = __commonJS({
|
|
|
4766
4766
|
// ../cloud-assembly-schema/cli-version.json
|
|
4767
4767
|
var require_cli_version = __commonJS({
|
|
4768
4768
|
"../cloud-assembly-schema/cli-version.json"(exports2, module2) {
|
|
4769
|
-
module2.exports = { version: "2.
|
|
4769
|
+
module2.exports = { version: "2.1133.0" };
|
|
4770
4770
|
}
|
|
4771
4771
|
});
|
|
4772
4772
|
|
|
@@ -73912,13 +73912,42 @@ function formatErrorMessage(error4) {
|
|
|
73912
73912
|
return `${error4.message}
|
|
73913
73913
|
${formatErrorMessage(error4.cause)}`;
|
|
73914
73914
|
}
|
|
73915
|
-
|
|
73915
|
+
if (error4?.message) {
|
|
73916
|
+
return error4.message;
|
|
73917
|
+
}
|
|
73918
|
+
const fromSdk = formatSdkError(error4);
|
|
73919
|
+
if (fromSdk) {
|
|
73920
|
+
return fromSdk;
|
|
73921
|
+
}
|
|
73922
|
+
return error4?.toString() || "Unknown error";
|
|
73923
|
+
}
|
|
73924
|
+
function formatSdkError(error4) {
|
|
73925
|
+
const name = error4?.name ?? error4?.code;
|
|
73926
|
+
const metadata = error4?.$metadata ?? {};
|
|
73927
|
+
const details = [];
|
|
73928
|
+
if (typeof metadata.httpStatusCode === "number") {
|
|
73929
|
+
details.push(`HTTP ${metadata.httpStatusCode}`);
|
|
73930
|
+
}
|
|
73931
|
+
if (metadata.requestId) {
|
|
73932
|
+
details.push(`request id: ${metadata.requestId}`);
|
|
73933
|
+
}
|
|
73934
|
+
if (name && details.length > 0) {
|
|
73935
|
+
return `${name} (${details.join(", ")})`;
|
|
73936
|
+
}
|
|
73937
|
+
if (name) {
|
|
73938
|
+
return name;
|
|
73939
|
+
}
|
|
73940
|
+
if (details.length > 0) {
|
|
73941
|
+
return details.join(", ");
|
|
73942
|
+
}
|
|
73943
|
+
return void 0;
|
|
73916
73944
|
}
|
|
73917
73945
|
var init_format_error = __esm({
|
|
73918
73946
|
"../toolkit-lib/lib/util/format-error.ts"() {
|
|
73919
73947
|
"use strict";
|
|
73920
73948
|
init_toolkit_error();
|
|
73921
73949
|
__name(formatErrorMessage, "formatErrorMessage");
|
|
73950
|
+
__name(formatSdkError, "formatSdkError");
|
|
73922
73951
|
}
|
|
73923
73952
|
});
|
|
73924
73953
|
|
|
@@ -270692,7 +270721,13 @@ function synthParametersFromSettings(settings) {
|
|
|
270692
270721
|
return {
|
|
270693
270722
|
context: contextFromSettings(settings),
|
|
270694
270723
|
env: {
|
|
270695
|
-
...settings.get(["debugApp"]) ? debugEnvVars : {}
|
|
270724
|
+
...settings.get(["debugApp"]) ? debugEnvVars : {},
|
|
270725
|
+
// When validation is disabled (e.g. via the CLI's `--no-validation`), forward
|
|
270726
|
+
// it to the app process as an environment variable so framework-side validation
|
|
270727
|
+
// layers can honor it. This is read in framework code that has no access to a
|
|
270728
|
+
// construct tree, which is why it is an environment variable rather than context.
|
|
270729
|
+
// Only an explicit `false` disables it, so a missing setting fails safe (validation on).
|
|
270730
|
+
...settings.get(["validation"]) === false ? { CDK_VALIDATION: "false" } : {}
|
|
270696
270731
|
}
|
|
270697
270732
|
};
|
|
270698
270733
|
}
|
|
@@ -270845,6 +270880,7 @@ function settingsFromSynthOptions(synthOpts = {}) {
|
|
|
270845
270880
|
versionReporting: true,
|
|
270846
270881
|
assetMetadata: true,
|
|
270847
270882
|
assetStaging: true,
|
|
270883
|
+
validation: true,
|
|
270848
270884
|
...synthOpts
|
|
270849
270885
|
}, true);
|
|
270850
270886
|
}
|
|
@@ -285558,14 +285594,16 @@ var init_deploy_stack = __esm({
|
|
|
285558
285594
|
const replacement = hasReplacement(changeSetDescription);
|
|
285559
285595
|
const isPausedFailState = this.cloudFormationStack.stackStatus.isRollbackable;
|
|
285560
285596
|
const rollback = this.options.rollback ?? true;
|
|
285561
|
-
|
|
285597
|
+
if (this.options.express) {
|
|
285598
|
+
return this.executeChangeSet(changeSetDescription);
|
|
285599
|
+
}
|
|
285562
285600
|
if (isPausedFailState && replacement) {
|
|
285563
285601
|
return { type: "failpaused-need-rollback-first", reason: "replacement", status: this.cloudFormationStack.stackStatus.name };
|
|
285564
285602
|
}
|
|
285565
285603
|
if (isPausedFailState && rollback) {
|
|
285566
285604
|
return { type: "failpaused-need-rollback-first", reason: "not-norollback", status: this.cloudFormationStack.stackStatus.name };
|
|
285567
285605
|
}
|
|
285568
|
-
if (
|
|
285606
|
+
if (!rollback && replacement) {
|
|
285569
285607
|
return { type: "replacement-requires-rollback" };
|
|
285570
285608
|
}
|
|
285571
285609
|
return this.executeChangeSet(changeSetDescription);
|
package/package.json
CHANGED
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"@aws-cdk/aws-service-spec": "^0.1.190",
|
|
67
67
|
"@aws-cdk/cdk-assets-lib": "1.4.15",
|
|
68
68
|
"@aws-cdk/cloud-assembly-api": "2.3.0",
|
|
69
|
-
"@aws-cdk/cloud-assembly-schema": ">=54.
|
|
69
|
+
"@aws-cdk/cloud-assembly-schema": ">=54.14.0",
|
|
70
70
|
"@aws-cdk/cloudformation-diff": "2.187.2",
|
|
71
|
-
"@aws-cdk/toolkit-lib": "1.36.
|
|
71
|
+
"@aws-cdk/toolkit-lib": "1.36.1",
|
|
72
72
|
"@aws-sdk/client-cloudformation": "^3",
|
|
73
73
|
"chalk": "^4",
|
|
74
74
|
"chokidar": "^4",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"publishConfig": {
|
|
101
101
|
"access": "public"
|
|
102
102
|
},
|
|
103
|
-
"version": "2.203.
|
|
103
|
+
"version": "2.203.2",
|
|
104
104
|
"packageManager": "yarn@4.13.0",
|
|
105
105
|
"types": "lib/index.d.ts",
|
|
106
106
|
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"yarn projen\"."
|