@cdkd/cli 0.346.0 → 0.348.0
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/{ambient-client-defaults-w6GrD1cQ.js → ambient-client-defaults-7acjxfyN.js} +13 -6
- package/dist/ambient-client-defaults-7acjxfyN.js.map +1 -0
- package/dist/{asg-provider-Bu7rz365.js → asg-provider-r1ojkIvF.js} +6 -6
- package/dist/{asg-provider-Bu7rz365.js.map → asg-provider-r1ojkIvF.js.map} +1 -1
- package/dist/{aws-client-defaults-DP5k4Mfi.js → aws-client-defaults-DAebi99J.js} +13 -5
- package/dist/{aws-client-defaults-DP5k4Mfi.js.map → aws-client-defaults-DAebi99J.js.map} +1 -1
- package/dist/{aws-clients-CUCH-WCd.js → aws-clients-DOkPjjAW.js} +2 -2
- package/dist/{aws-clients-CUCH-WCd.js.map → aws-clients-DOkPjjAW.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{db-instance-modify-retry-CY94H9jp.js → db-instance-modify-retry-BaSXzEMy.js} +4 -4
- package/dist/{db-instance-modify-retry-CY94H9jp.js.map → db-instance-modify-retry-BaSXzEMy.js.map} +1 -1
- package/dist/{deploy-engine-BocT17az.js → deploy-engine-2XoVAu4C.js} +354 -77
- package/dist/deploy-engine-2XoVAu4C.js.map +1 -0
- package/dist/{ecr-uri-Cg53WsUz.js → ecr-uri-C1_heDAt.js} +3 -3
- package/dist/{ecr-uri-Cg53WsUz.js.map → ecr-uri-C1_heDAt.js.map} +1 -1
- package/dist/{iam-role-provider-_bvctXgr.js → iam-role-provider-BnLtoKcW.js} +6 -6
- package/dist/{iam-role-provider-_bvctXgr.js.map → iam-role-provider-BnLtoKcW.js.map} +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{aws-failure-text-jomzO3aT.js → logger-DmQRya0S.js} +148 -59
- package/dist/logger-DmQRya0S.js.map +1 -0
- package/dist/{neptune-provider-CceDOA6q.js → neptune-provider-lzti8HIF.js} +7 -7
- package/dist/{neptune-provider-CceDOA6q.js.map → neptune-provider-lzti8HIF.js.map} +1 -1
- package/dist/{program-DM3nrEl9.js → program-DSlYCm_d.js} +1152 -499
- package/dist/program-DSlYCm_d.js.map +1 -0
- package/dist/{provider-classes-BJRQVOZ0.js → provider-classes-RMTfwJPz.js} +21 -21
- package/dist/provider-classes-RMTfwJPz.js.map +1 -0
- package/dist/{rds-provider-B-TkBvu0.js → rds-provider-COq1pW0G.js} +53 -35
- package/dist/{rds-provider-B-TkBvu0.js.map → rds-provider-COq1pW0G.js.map} +1 -1
- package/dist/{read-replica-IoZoKlpg.js → read-replica-sjvqi8Of.js} +78 -24
- package/dist/read-replica-sjvqi8Of.js.map +1 -0
- package/dist/{update-removal-BjJh8h9m.js → update-removal-D-FspP88.js} +4 -4
- package/dist/{update-removal-BjJh8h9m.js.map → update-removal-D-FspP88.js.map} +1 -1
- package/dist/{version-BdxBmlDu.js → version-DXmr3_M4.js} +2 -2
- package/dist/{version-BdxBmlDu.js.map → version-DXmr3_M4.js.map} +1 -1
- package/package.json +3 -2
- package/dist/ambient-client-defaults-w6GrD1cQ.js.map +0 -1
- package/dist/aws-failure-text-jomzO3aT.js.map +0 -1
- package/dist/deploy-engine-BocT17az.js.map +0 -1
- package/dist/program-DM3nrEl9.js.map +0 -1
- package/dist/provider-classes-BJRQVOZ0.js.map +0 -1
- package/dist/read-replica-IoZoKlpg.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-CNh9ExCG.js";
|
|
2
|
-
import { $ as
|
|
3
|
-
import { $ as
|
|
4
|
-
import { a as getAssumedRoleCredentials, d as ambientRegion,
|
|
5
|
-
import { l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-
|
|
6
|
-
import { At as segmentAfterAnchor, B as resolveExplicitPhysicalId, Ct as canonicalizeRoute53QueryName, Dt as logicalIdShown, F as isQuotableImportValue, Ft as maskDeep, G as compensateProtectionFlip, Gt as isAuxiliaryMarkOf, H as assertRegionMatch, Ht as createdResourceIdentityBeforeFailure, I as normalizeAwsTagsToCfn, It as maskerOrIdentity, J as observeThenDisableProtection, K as deleteWithProtectionCompensation, Kt as markAuxiliaryFailure, L as quotedRemedyLogicalId, Lt as withDerivedNameMasks, Mt as createMaskedLogSinks, Nt as createMaskedRetryLogger, Pt as isSecretDerivedValue, R as refusalTypeShown, Rt as RETRY_AUXILIARY_OWNER, St as startInterruptWatch, Tt as compositeIdSeparatorRefusal, U as isMarkedNotGone, Ut as hasCreatedBeforeFailure, V as RESOURCE_NOT_FOUND, Vt as createdBeforeFailure, W as markNotGone, Wt as isAuxiliaryFailure, Xt as UNREPRODUCIBLE_LOCK_CLAUSE, Yt as replayMadeAnotherResource, Zt as buildForceUnlockCommand, an as CUSTOM_RESOURCE_RESPONSE_PREFIX, at as isTerminalDeleteFailure, c as clearCreatedReport, ct as ElapsedBudget, dt as DELETION_PROTECTION_DOC_POINTER, en as formatLockExpiry, f as retractCreatedResource, g as holdsSecretDerivedEntry, gt as protectedReplacementAdvice, ht as pasteableAwsCommand, in as sanitizeRecoveryValue, it as ProtectionFlipRegistry, j as withoutServerErrorRetries, jt as stateOrphanRecordRemedy, kt as resourceTypeShown, l as collectCreatedResources, lt as ElapsedBudgetRegistry, n as prepareRemovalForUpdate, nn as formatLockOwner, o as withoutInjectedRemovals, on as DEFAULT_STATE_PREFIX, ot as protectionFlipKey, pn as withPasteableAwsProfile, qt as markCreatedBeforeFailure, r as removalWarning, rn as recoveryCommandFlags, s as CreatedResourceSink, sn as injectiveKey, st as runDeleteAttempt, tn as formatLockOperation, u as reportCreatedResource, un as producerRecordKey, ut as monotonicNowMs, x as withUnchangedSecretPrincipalLists, xt as isInterruptedWaitError, zt as carryCreatedBeforeFailure } from "./update-removal-
|
|
7
|
-
import { t as getCdkdVersion } from "./version-
|
|
2
|
+
import { $ as withStackScope, A as configStringRefusal, C as fallbackNamePropertyFor, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, G as currentNameGeneration, H as looksLikeCdkdGeneratedName, J as getCurrentStackName, K as getCurrentSkipPrefix, M as replayWarn, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, S as explicitNamePropertyFor, T as withoutGeneratedFallbackName, V as generateResourceNameWithFallback, W as stackInstanceNameSuffix, X as isNameGeneration, Z as withNameGeneration, _ as currentLogLineMasker, _t as truncateCodePoints, at as asIsMessage, b as alternateNamePropertiesFor, c as VERBOSE_POINTER, ct as displayIdent, dt as isPasteableIdent, et as withStackScopeBeforeStateRead, g as verbosePointerTail, gt as terminalSafe, h as verbosePointerSentence, it as UNRENDERABLE, j as readConfigString, k as configIntegerRefusal, l as describeAwsErrorDiagnostics, lt as displaySafe, m as verboseAwareText, mt as safeMsg, n as getLogger, nt as SECRET_REF_MAX_CODE_POINTS, p as safeStringify$1, pt as plainIdentOr, q as getCurrentStackInstanceId, r as isStdoutReservedForPayload, rt as STACK_REF_MAX_CODE_POINTS, st as displayAwsMessage, tt as SAFE_MSG_ALTERED_CHAR, u as describeAwsFailure, ut as displayStackName, v as installLogLineMaskerSource, w as generatedNameFor, x as applyDefaultNameForFallback, y as getLiveRenderer } from "./logger-DmQRya0S.js";
|
|
3
|
+
import { $ as AssetError, A as stripControlChars, B as retryClassificationText, C as isNameCooldownError, Ct as withheldTargetClause, D as markReplayMayCollide, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, N as formatRetryClassificationSignals, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, R as isRetryableTransientError, S as isNameCollisionErrorFrom, St as shellQuote, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, _t as pasteableCommand, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, bt as quotedOrDescribed, ct as SynthesisError, d as MacroExpansionError, dt as SHELL_ACTIVE, et as CdkdError, ft as SHELL_ACTIVE_WHY, gt as isInertUnquoted, i as credentialFingerprint, it as LockError, k as escapeRegExp$3, lt as isSoftAbort, m as ExportInUseError, mt as commandHole, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, p as DependencyError, pt as UNSHOWABLE_VALUE, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, vt as physicalIdShownBesideCommand, w as isRecreateRetryableError, x as hasReplayMayCollide, xt as shellBoundedDisplay, yt as plainOrDescribed, z as isTransientServerError } from "./ambient-client-defaults-7acjxfyN.js";
|
|
4
|
+
import { a as getAssumedRoleCredentials, c as setAssumedRoleCredentials, d as quietS3Logger, f as ambientRegion, i as awsEndpointOverrideUrl, n as awsClientDefaults, o as getPreAssumeEnvCredentials, r as awsEndpointOverrideActive, t as SECOND_ROLE_PUBLISH_REFUSAL, u as setPreAssumeEnvCredentials } from "./aws-client-defaults-DAebi99J.js";
|
|
5
|
+
import { l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
|
|
6
|
+
import { At as segmentAfterAnchor, B as resolveExplicitPhysicalId, Ct as canonicalizeRoute53QueryName, Dt as logicalIdShown, F as isQuotableImportValue, Ft as maskDeep, G as compensateProtectionFlip, Gt as isAuxiliaryMarkOf, H as assertRegionMatch, Ht as createdResourceIdentityBeforeFailure, I as normalizeAwsTagsToCfn, It as maskerOrIdentity, J as observeThenDisableProtection, K as deleteWithProtectionCompensation, Kt as markAuxiliaryFailure, L as quotedRemedyLogicalId, Lt as withDerivedNameMasks, Mt as createMaskedLogSinks, Nt as createMaskedRetryLogger, Pt as isSecretDerivedValue, R as refusalTypeShown, Rt as RETRY_AUXILIARY_OWNER, St as startInterruptWatch, Tt as compositeIdSeparatorRefusal, U as isMarkedNotGone, Ut as hasCreatedBeforeFailure, V as RESOURCE_NOT_FOUND, Vt as createdBeforeFailure, W as markNotGone, Wt as isAuxiliaryFailure, Xt as UNREPRODUCIBLE_LOCK_CLAUSE, Yt as replayMadeAnotherResource, Zt as buildForceUnlockCommand, an as CUSTOM_RESOURCE_RESPONSE_PREFIX, at as isTerminalDeleteFailure, c as clearCreatedReport, ct as ElapsedBudget, dt as DELETION_PROTECTION_DOC_POINTER, en as formatLockExpiry, f as retractCreatedResource, g as holdsSecretDerivedEntry, gt as protectedReplacementAdvice, ht as pasteableAwsCommand, in as sanitizeRecoveryValue, it as ProtectionFlipRegistry, j as withoutServerErrorRetries, jt as stateOrphanRecordRemedy, kt as resourceTypeShown, l as collectCreatedResources, lt as ElapsedBudgetRegistry, n as prepareRemovalForUpdate, nn as formatLockOwner, o as withoutInjectedRemovals, on as DEFAULT_STATE_PREFIX, ot as protectionFlipKey, pn as withPasteableAwsProfile, qt as markCreatedBeforeFailure, r as removalWarning, rn as recoveryCommandFlags, s as CreatedResourceSink, sn as injectiveKey, st as runDeleteAttempt, tn as formatLockOperation, u as reportCreatedResource, un as producerRecordKey, ut as monotonicNowMs, x as withUnchangedSecretPrincipalLists, xt as isInterruptedWaitError, zt as carryCreatedBeforeFailure } from "./update-removal-D-FspP88.js";
|
|
7
|
+
import { t as getCdkdVersion } from "./version-DXmr3_M4.js";
|
|
8
8
|
import { createHash, randomUUID } from "node:crypto";
|
|
9
9
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
10
|
-
import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
10
|
+
import { AbortMultipartUploadCommand, CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
11
11
|
import { CloudControlClient, CreateResourceCommand, DeleteResourceCommand, GetResourceCommand, GetResourceRequestStatusCommand, ListResourcesCommand, UpdateResourceCommand } from "@aws-sdk/client-cloudcontrol";
|
|
12
12
|
import { PublishCommand, SNSClient } from "@aws-sdk/client-sns";
|
|
13
13
|
import { GetFunctionCommand, GetFunctionConfigurationCommand, GetFunctionUrlConfigCommand, InvokeCommand, LambdaClient, UpdateFunctionConfigurationCommand, waitUntilFunctionActiveV2, waitUntilFunctionUpdatedV2 } from "@aws-sdk/client-lambda";
|
|
@@ -33,7 +33,9 @@ import { DescribeListenersCommand, DescribeLoadBalancersCommand, ElasticLoadBala
|
|
|
33
33
|
import { DescribeKeyCommand, KMSClient, ListAliasesCommand } from "@aws-sdk/client-kms";
|
|
34
34
|
import { readFile } from "fs/promises";
|
|
35
35
|
import { basename as basename$1, dirname as dirname$1, isAbsolute as isAbsolute$1, resolve as resolve$1 } from "path";
|
|
36
|
+
import { Upload } from "@aws-sdk/lib-storage";
|
|
36
37
|
import { CreateRepositoryCommand, DescribeImagesCommand as DescribeImagesCommand$1, DescribeRepositoriesCommand, ECRClient, GetAuthorizationTokenCommand, PutImageTagMutabilityCommand } from "@aws-sdk/client-ecr";
|
|
38
|
+
import { dockerRegistryEnv } from "cdk-local/internal";
|
|
37
39
|
import { inspect, isDeepStrictEqual } from "node:util";
|
|
38
40
|
import { hostname } from "os";
|
|
39
41
|
import graphlib from "graphlib";
|
|
@@ -55,7 +57,8 @@ async function readClientRegion(client) {
|
|
|
55
57
|
}
|
|
56
58
|
}
|
|
57
59
|
async function resolveBucketRegion(bucketName, opts = {}) {
|
|
58
|
-
const
|
|
60
|
+
const key = JSON.stringify([awsEndpointOverrideUrl() ?? "", bucketName]);
|
|
61
|
+
const cached = cache.get(key);
|
|
59
62
|
if (cached) return cached;
|
|
60
63
|
let probeFailed = false;
|
|
61
64
|
const promise = (async () => {
|
|
@@ -94,9 +97,9 @@ async function resolveBucketRegion(bucketName, opts = {}) {
|
|
|
94
97
|
client.destroy();
|
|
95
98
|
}
|
|
96
99
|
})();
|
|
97
|
-
cache.set(
|
|
100
|
+
cache.set(key, promise);
|
|
98
101
|
const region = await promise;
|
|
99
|
-
if (probeFailed && cache.get(
|
|
102
|
+
if (probeFailed && cache.get(key) === promise) cache.delete(key);
|
|
100
103
|
return region;
|
|
101
104
|
}
|
|
102
105
|
function clearBucketRegionCache() {
|
|
@@ -135,6 +138,15 @@ function injectedAwsRegionOverride() {
|
|
|
135
138
|
return { AWS_REGION: injected.original };
|
|
136
139
|
}
|
|
137
140
|
|
|
141
|
+
// src/utils/child-process-aws-env.ts
|
|
142
|
+
let transform;
|
|
143
|
+
function setChildProcessAwsEnv(fn) {
|
|
144
|
+
transform = fn;
|
|
145
|
+
}
|
|
146
|
+
function childProcessAwsEnv(env) {
|
|
147
|
+
return transform ? transform({ ...env }) : env;
|
|
148
|
+
}
|
|
149
|
+
|
|
138
150
|
// src/synthesis/app-executor.ts
|
|
139
151
|
const CDK_ASM_VERSION = "38.0.0";
|
|
140
152
|
const CONTEXT_OVERFLOW_LIMIT = 32768;
|
|
@@ -150,7 +162,7 @@ var AppExecutor = class {
|
|
|
150
162
|
this.logger.debug("Executing CDK app:", app);
|
|
151
163
|
this.logger.debug("Output directory:", outputDir);
|
|
152
164
|
const env = {
|
|
153
|
-
...withoutInjectedAwsRegion({ ...process.env }),
|
|
165
|
+
...childProcessAwsEnv(withoutInjectedAwsRegion({ ...process.env })),
|
|
154
166
|
CDK_OUTDIR: outputDir
|
|
155
167
|
};
|
|
156
168
|
if (region) env["CDK_DEFAULT_REGION"] = region;
|
|
@@ -2368,7 +2380,7 @@ async function resolveStateBucketWithDefaultAndSource(cliBucket, region, legacyF
|
|
|
2368
2380
|
logger.debug("No state bucket specified, resolving default from account...");
|
|
2369
2381
|
const { GetCallerIdentityCommand } = await import("@aws-sdk/client-sts");
|
|
2370
2382
|
const { S3Client, HeadBucketCommand, ListObjectsV2Command } = await import("@aws-sdk/client-s3");
|
|
2371
|
-
const { getAwsClients } = await import("./aws-clients-
|
|
2383
|
+
const { getAwsClients } = await import("./aws-clients-DOkPjjAW.js").then((n) => n.n);
|
|
2372
2384
|
const { expectedOwnerParam, recordResolvedAccountId } = await Promise.resolve().then(() => expected_bucket_owner_exports);
|
|
2373
2385
|
const probeDeps = {
|
|
2374
2386
|
HeadBucketCommand,
|
|
@@ -2792,6 +2804,22 @@ function extractHashFromImageUri(imageUri) {
|
|
|
2792
2804
|
}
|
|
2793
2805
|
|
|
2794
2806
|
// src/assets/file-asset-publisher.ts
|
|
2807
|
+
const MULTIPART_UPLOAD_THRESHOLD = 5242880;
|
|
2808
|
+
const inFlightUploads = /* @__PURE__ */ new Map();
|
|
2809
|
+
let trackerSeq = 0;
|
|
2810
|
+
function abortInFlightMultipartUploads() {
|
|
2811
|
+
const entries = [...inFlightUploads];
|
|
2812
|
+
return {
|
|
2813
|
+
destinations: entries.map(([, destination]) => destination),
|
|
2814
|
+
done: Promise.allSettled(entries.map(([interrupt]) => interrupt())).then(() => void 0)
|
|
2815
|
+
};
|
|
2816
|
+
}
|
|
2817
|
+
var AssetUploadInterruptedError = class extends Error {
|
|
2818
|
+
constructor(destination) {
|
|
2819
|
+
super(`Asset upload to ${destination} interrupted by user (Ctrl+C); the multipart upload was aborted.`);
|
|
2820
|
+
this.name = "AssetUploadInterruptedError";
|
|
2821
|
+
}
|
|
2822
|
+
};
|
|
2795
2823
|
var FileAssetPublisher = class {
|
|
2796
2824
|
logger = getLogger().child("FileAssetPublisher");
|
|
2797
2825
|
async publish(assetHash, asset, cdkOutputDir, accountId, region, assetOutdir) {
|
|
@@ -2840,12 +2868,80 @@ var FileAssetPublisher = class {
|
|
|
2840
2868
|
async uploadFile(client, filePath, bucket, key) {
|
|
2841
2869
|
const stat = statSync(filePath);
|
|
2842
2870
|
const stream = createReadStream(filePath);
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
}
|
|
2871
|
+
try {
|
|
2872
|
+
await this.putObject(client, bucket, key, stream, stat.size);
|
|
2873
|
+
} catch (error) {
|
|
2874
|
+
stream.destroy();
|
|
2875
|
+
throw error;
|
|
2876
|
+
}
|
|
2877
|
+
}
|
|
2878
|
+
async putObject(client, bucket, key, body, contentLength) {
|
|
2879
|
+
if (contentLength <= 5242880) {
|
|
2880
|
+
await client.send(new PutObjectCommand({
|
|
2881
|
+
Bucket: bucket,
|
|
2882
|
+
Key: key,
|
|
2883
|
+
Body: body,
|
|
2884
|
+
ContentLength: contentLength
|
|
2885
|
+
}));
|
|
2886
|
+
return;
|
|
2887
|
+
}
|
|
2888
|
+
this.logger.debug(safeMsg`Uploading s3://${bucket}/${key} (${contentLength} bytes) as a multipart upload`);
|
|
2889
|
+
const abortController = new AbortController();
|
|
2890
|
+
const upload = new Upload({
|
|
2891
|
+
client,
|
|
2892
|
+
params: {
|
|
2893
|
+
Bucket: bucket,
|
|
2894
|
+
Key: key,
|
|
2895
|
+
Body: body,
|
|
2896
|
+
ContentLength: contentLength
|
|
2897
|
+
},
|
|
2898
|
+
partSize: MULTIPART_UPLOAD_THRESHOLD,
|
|
2899
|
+
leavePartsOnError: true,
|
|
2900
|
+
abortController
|
|
2901
|
+
});
|
|
2902
|
+
let createAnswer;
|
|
2903
|
+
const trackerName = `cdkdTrackCreateMultipartUpload${++trackerSeq}`;
|
|
2904
|
+
client.middlewareStack?.add((next, context) => async (args) => {
|
|
2905
|
+
const result = next(args);
|
|
2906
|
+
if (context.commandName === "CreateMultipartUploadCommand") createAnswer = result.then((r) => r.output.UploadId, () => void 0);
|
|
2907
|
+
return result;
|
|
2908
|
+
}, {
|
|
2909
|
+
step: "initialize",
|
|
2910
|
+
name: trackerName
|
|
2911
|
+
});
|
|
2912
|
+
let interrupted = false;
|
|
2913
|
+
let settle;
|
|
2914
|
+
const settled = new Promise((resolve) => settle = resolve);
|
|
2915
|
+
const interrupt = async () => {
|
|
2916
|
+
interrupted = true;
|
|
2917
|
+
abortController.abort();
|
|
2918
|
+
await settled;
|
|
2919
|
+
};
|
|
2920
|
+
inFlightUploads.set(interrupt, `s3://${bucket}/${key}`);
|
|
2921
|
+
try {
|
|
2922
|
+
await upload.done();
|
|
2923
|
+
} catch (error) {
|
|
2924
|
+
const uploadId = upload.uploadId ?? await createAnswer;
|
|
2925
|
+
await this.abortMultipartUpload(client, bucket, key, uploadId);
|
|
2926
|
+
if (interrupted) throw new AssetUploadInterruptedError(`s3://${bucket}/${key}`);
|
|
2927
|
+
throw error;
|
|
2928
|
+
} finally {
|
|
2929
|
+
inFlightUploads.delete(interrupt);
|
|
2930
|
+
client.middlewareStack?.remove(trackerName);
|
|
2931
|
+
settle();
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
async abortMultipartUpload(client, bucket, key, uploadId) {
|
|
2935
|
+
if (uploadId === void 0) return;
|
|
2936
|
+
try {
|
|
2937
|
+
await client.send(new AbortMultipartUploadCommand({
|
|
2938
|
+
Bucket: bucket,
|
|
2939
|
+
Key: key,
|
|
2940
|
+
UploadId: uploadId
|
|
2941
|
+
}));
|
|
2942
|
+
} catch (abortError) {
|
|
2943
|
+
this.logger.debug(safeMsg`Could not abort the multipart upload of s3://${bucket}/${key} ` + safeMsg`(${describeAwsFailure(abortError).detail}); its parts stay until the bucket's ` + `lifecycle rule removes them, or until it is aborted by hand.`);
|
|
2944
|
+
}
|
|
2849
2945
|
}
|
|
2850
2946
|
async uploadZip(client, dirPath, bucket, key) {
|
|
2851
2947
|
const { ZipArchive } = await import("archiver");
|
|
@@ -2859,12 +2955,7 @@ var FileAssetPublisher = class {
|
|
|
2859
2955
|
else archive.file(dirPath, { name: basename(dirPath) });
|
|
2860
2956
|
archive.finalize().catch(reject);
|
|
2861
2957
|
});
|
|
2862
|
-
await
|
|
2863
|
-
Bucket: bucket,
|
|
2864
|
-
Key: key,
|
|
2865
|
-
Body: body,
|
|
2866
|
-
ContentLength: body.length
|
|
2867
|
-
}));
|
|
2958
|
+
await this.putObject(client, bucket, key, body, body.length);
|
|
2868
2959
|
}
|
|
2869
2960
|
resolvePlaceholders(value, accountId, region, partition = "aws") {
|
|
2870
2961
|
return value.replace(/\$\{AWS::AccountId\}/g, accountId).replace(/\$\{AWS::Region\}/g, region).replace(/\$\{AWS::Partition\}/g, partition);
|
|
@@ -2877,7 +2968,7 @@ function getDockerCmd() {
|
|
|
2877
2968
|
return override && override.length > 0 ? override : "docker";
|
|
2878
2969
|
}
|
|
2879
2970
|
async function runDockerStreaming(args, options = {}) {
|
|
2880
|
-
return spawnStreaming(getDockerCmd(), args, options);
|
|
2971
|
+
return spawnStreaming(getDockerCmd(), args, withRegistryEnv(options));
|
|
2881
2972
|
}
|
|
2882
2973
|
async function spawnStreaming(cmd, args, options = {}) {
|
|
2883
2974
|
const streamLive = options.streamLive ?? getLogger().getLevel() === "debug";
|
|
@@ -2935,7 +3026,7 @@ async function spawnStreaming(cmd, args, options = {}) {
|
|
|
2935
3026
|
});
|
|
2936
3027
|
}
|
|
2937
3028
|
async function runDockerForeground(args, options = {}) {
|
|
2938
|
-
return spawnForeground(getDockerCmd(), args, options);
|
|
3029
|
+
return spawnForeground(getDockerCmd(), args, withRegistryEnv(options));
|
|
2939
3030
|
}
|
|
2940
3031
|
async function spawnForeground(cmd, args, options = {}) {
|
|
2941
3032
|
const env = options.env ? mergeEnv(options.env) : void 0;
|
|
@@ -2972,6 +3063,17 @@ function mergeEnv(overrides) {
|
|
|
2972
3063
|
else merged[k] = v;
|
|
2973
3064
|
return merged;
|
|
2974
3065
|
}
|
|
3066
|
+
function withRegistryEnv(options) {
|
|
3067
|
+
const registry = dockerRegistryEnv();
|
|
3068
|
+
if (registry["DOCKER_CONFIG"] === process.env["DOCKER_CONFIG"] && registry["DOCKER_AUTH_CONFIG"] === process.env["DOCKER_AUTH_CONFIG"] && registry["REGISTRY_AUTH_FILE"] === process.env["REGISTRY_AUTH_FILE"]) return options;
|
|
3069
|
+
return {
|
|
3070
|
+
...options,
|
|
3071
|
+
env: {
|
|
3072
|
+
...registry,
|
|
3073
|
+
...options.env
|
|
3074
|
+
}
|
|
3075
|
+
};
|
|
3076
|
+
}
|
|
2975
3077
|
|
|
2976
3078
|
// src/utils/docker-cmd/client-env-keys.ts
|
|
2977
3079
|
const DOCKER_CLIENT_ENV_KEYS = /* @__PURE__ */ new Set([
|
|
@@ -3625,7 +3727,7 @@ function warnManifestExecutable(executable) {
|
|
|
3625
3727
|
const [cmd, ...rest] = executable;
|
|
3626
3728
|
const logger = getLogger().child("assets");
|
|
3627
3729
|
logger.debug(`source.executable argv: ${redactDockerArgvValues([...executable]).join(" ")}`);
|
|
3628
|
-
logger.warn(`Docker asset source.executable runs a command this asset manifest chose, on this machine: ${displayAssemblyPath(cmd ?? "")}` + (rest.length > 0 ? ` (with ${rest.length} argument(s); --verbose shows them)
|
|
3730
|
+
logger.warn(`Docker asset source.executable runs a command this asset manifest chose, on this machine: ${displayAssemblyPath(cmd ?? "")}` + (rest.length > 0 ? ` (with ${rest.length} argument(s); ` + verboseAwareText("--verbose shows them)", "listed in the debug line above)") : "") + ". cdkd runs it, matching the CDK CLI — a pre-synthesized assembly is trusted input. Note that this means deploying from a pre-synthesized assembly DOES execute code from it, which the CloudFormation template does not show.");
|
|
3629
3731
|
}
|
|
3630
3732
|
const warnedDestinations = {
|
|
3631
3733
|
bucket: /* @__PURE__ */ new Set(),
|
|
@@ -3702,7 +3804,10 @@ async function buildDockerImage(asset, cdkOutDir, options) {
|
|
|
3702
3804
|
const regionOverride = injectedAwsRegionOverride();
|
|
3703
3805
|
result = await spawnStreaming(cmd, args, {
|
|
3704
3806
|
cwd,
|
|
3705
|
-
|
|
3807
|
+
env: {
|
|
3808
|
+
...dockerRegistryEnv(options.workload),
|
|
3809
|
+
...regionOverride
|
|
3810
|
+
}
|
|
3706
3811
|
});
|
|
3707
3812
|
} catch (err) {
|
|
3708
3813
|
throw options.wrapError(describeDockerFailure(err, args));
|
|
@@ -3732,7 +3837,10 @@ async function buildDockerImage(asset, cdkOutDir, options) {
|
|
|
3732
3837
|
try {
|
|
3733
3838
|
await runDockerStreaming(buildArgs, {
|
|
3734
3839
|
cwd: contextDir,
|
|
3735
|
-
env: {
|
|
3840
|
+
env: {
|
|
3841
|
+
...dockerRegistryEnv(options.workload),
|
|
3842
|
+
BUILDX_NO_DEFAULT_ATTESTATIONS: "1"
|
|
3843
|
+
}
|
|
3736
3844
|
});
|
|
3737
3845
|
} catch (err) {
|
|
3738
3846
|
throw options.wrapError(describeDockerFailure(err, buildArgs));
|
|
@@ -4136,6 +4244,60 @@ function buildDenyExternalAccessPolicy(bucketName, accountId, region) {
|
|
|
4136
4244
|
};
|
|
4137
4245
|
}
|
|
4138
4246
|
|
|
4247
|
+
// src/assets/asset-storage/lifecycle.ts
|
|
4248
|
+
const ABORT_INCOMPLETE_MULTIPART_LIFECYCLE_RULE_ID = "cdkd-abort-incomplete-multipart-uploads";
|
|
4249
|
+
const ABORT_INCOMPLETE_MULTIPART_DAYS = 1;
|
|
4250
|
+
function buildAbortIncompleteMultipartRule(legacyPrefix) {
|
|
4251
|
+
return {
|
|
4252
|
+
ID: ABORT_INCOMPLETE_MULTIPART_LIFECYCLE_RULE_ID,
|
|
4253
|
+
Status: "Enabled",
|
|
4254
|
+
...legacyPrefix ? { Prefix: "" } : { Filter: { Prefix: "" } },
|
|
4255
|
+
AbortIncompleteMultipartUpload: { DaysAfterInitiation: 1 }
|
|
4256
|
+
};
|
|
4257
|
+
}
|
|
4258
|
+
async function applyAbortIncompleteMultipartUpload(s3, bucket, opts = {}) {
|
|
4259
|
+
const owner = opts.expectedBucketOwner ? { ExpectedBucketOwner: opts.expectedBucketOwner } : {};
|
|
4260
|
+
let rules;
|
|
4261
|
+
let minimumObjectSize;
|
|
4262
|
+
try {
|
|
4263
|
+
const current = await s3.send(new GetBucketLifecycleConfigurationCommand({
|
|
4264
|
+
Bucket: bucket,
|
|
4265
|
+
...owner
|
|
4266
|
+
}));
|
|
4267
|
+
rules = current.Rules ?? [];
|
|
4268
|
+
minimumObjectSize = current.TransitionDefaultMinimumObjectSize;
|
|
4269
|
+
} catch (error) {
|
|
4270
|
+
if (error?.name !== "NoSuchLifecycleConfiguration") return failedOutcome$2("GetBucketLifecycleConfiguration", error);
|
|
4271
|
+
rules = [];
|
|
4272
|
+
minimumObjectSize = void 0;
|
|
4273
|
+
}
|
|
4274
|
+
if (rules.some((rule) => rule.ID === "cdkd-abort-incomplete-multipart-uploads")) return { status: "present" };
|
|
4275
|
+
const legacyPrefix = rules.some((rule) => rule.Prefix !== void 0);
|
|
4276
|
+
try {
|
|
4277
|
+
await s3.send(new PutBucketLifecycleConfigurationCommand({
|
|
4278
|
+
Bucket: bucket,
|
|
4279
|
+
...owner,
|
|
4280
|
+
LifecycleConfiguration: { Rules: [...rules, buildAbortIncompleteMultipartRule(legacyPrefix)] },
|
|
4281
|
+
...minimumObjectSize !== void 0 && { TransitionDefaultMinimumObjectSize: minimumObjectSize }
|
|
4282
|
+
}));
|
|
4283
|
+
} catch (error) {
|
|
4284
|
+
return failedOutcome$2("PutBucketLifecycleConfiguration", error);
|
|
4285
|
+
}
|
|
4286
|
+
return { status: "added" };
|
|
4287
|
+
}
|
|
4288
|
+
function failedOutcome$2(operation, error) {
|
|
4289
|
+
const e = error;
|
|
4290
|
+
return {
|
|
4291
|
+
status: "failed",
|
|
4292
|
+
reason: `${operation} failed: ${displaySafe(describeAwsFailure(error).detail) || "(unrenderable)"}`,
|
|
4293
|
+
accessDenied: e?.name === "AccessDenied" || e?.$metadata?.httpStatusCode === 403
|
|
4294
|
+
};
|
|
4295
|
+
}
|
|
4296
|
+
function abortIncompleteMultipartWarning(bucket, outcome) {
|
|
4297
|
+
const remedy = outcome.accessDenied ? "To add the rule, grant s3:GetLifecycleConfiguration and s3:PutLifecycleConfiguration on the bucket, and check that this account owns it." : `To add the rule, review the bucket's lifecycle configuration against the reason above.`;
|
|
4298
|
+
return `Could not add the ${1}-day abort-incomplete-multipart-upload lifecycle rule to asset bucket ${displaySafe(bucket, { asciiOnly: true }) || "(unrenderable)"} (${outcome.reason}). The bucket's lifecycle configuration was left unchanged. Parts of an interrupted large-asset upload stay (and are billed) until aborted. ${remedy}`;
|
|
4299
|
+
}
|
|
4300
|
+
|
|
4139
4301
|
// src/assets/asset-storage/ensure.ts
|
|
4140
4302
|
async function ensureAssetStorage(options) {
|
|
4141
4303
|
const logger = getLogger();
|
|
@@ -4231,6 +4393,9 @@ async function ensureAssetStorage(options) {
|
|
|
4231
4393
|
}));
|
|
4232
4394
|
logger.info("✓ Configured asset bucket (AES-256 encryption, public access block, deny external access)");
|
|
4233
4395
|
}
|
|
4396
|
+
const lifecycle = await applyAbortIncompleteMultipartUpload(s3Client, assetBucket, { expectedBucketOwner: accountId });
|
|
4397
|
+
if (lifecycle.status === "failed") logger.warn(abortIncompleteMultipartWarning(assetBucket, lifecycle));
|
|
4398
|
+
else if (lifecycle.status === "added") logger.info(safeMsg`✓ Set asset bucket lifecycle rule (abort incomplete multipart uploads after ${1} day)`);
|
|
4234
4399
|
let repoExists = false;
|
|
4235
4400
|
try {
|
|
4236
4401
|
await ecrClient.send(new DescribeRepositoriesCommand({ repositoryNames: [containerRepo] }));
|
|
@@ -4652,6 +4817,10 @@ function createAssetRedirectResolver(opts) {
|
|
|
4652
4817
|
}
|
|
4653
4818
|
|
|
4654
4819
|
// src/deployment/work-graph.ts
|
|
4820
|
+
const ASSET_UPLOAD_INTERRUPTED = "AssetUploadInterruptedError";
|
|
4821
|
+
function isInterruption(error) {
|
|
4822
|
+
return error instanceof Error && error.name === "AssetUploadInterruptedError";
|
|
4823
|
+
}
|
|
4655
4824
|
var WorkGraph = class {
|
|
4656
4825
|
nodes = /* @__PURE__ */ new Map();
|
|
4657
4826
|
logger = getLogger().child("WorkGraph");
|
|
@@ -4698,7 +4867,11 @@ var WorkGraph = class {
|
|
|
4698
4867
|
error
|
|
4699
4868
|
});
|
|
4700
4869
|
if (isSoftAbort(error)) this.logger.debug(safeMsg`Not approved: ${node.id}`);
|
|
4701
|
-
else this.logger.
|
|
4870
|
+
else if (isInterruption(error)) this.logger.warn(safeMsg`Interrupted: ${node.id}: ${error.message}`);
|
|
4871
|
+
else {
|
|
4872
|
+
this.logger.error(`Failed: ${node.id}: ${describeAwsFailure(error).detail}`);
|
|
4873
|
+
this.logger.debug(safeMsg`Failure detail for ${node.id}: ${describeAwsErrorDiagnostics(error)}`);
|
|
4874
|
+
}
|
|
4702
4875
|
}).finally(() => {
|
|
4703
4876
|
active[node.type]--;
|
|
4704
4877
|
dispatch();
|
|
@@ -4712,6 +4885,10 @@ var WorkGraph = class {
|
|
|
4712
4885
|
}
|
|
4713
4886
|
if (errors.length > 0) {
|
|
4714
4887
|
const skippedCount = [...this.nodes.values()].filter((n) => n.state === "skipped").length;
|
|
4888
|
+
if (errors.every((e) => isInterruption(e.error))) {
|
|
4889
|
+
reject(errors[0].error);
|
|
4890
|
+
return;
|
|
4891
|
+
}
|
|
4715
4892
|
if (errors.every((e) => isSoftAbort(e.error))) {
|
|
4716
4893
|
const lines = errors.map((e) => e.error.message);
|
|
4717
4894
|
if (skippedCount > 0) lines.push(`${skippedCount} node(s) depending on a declined stack were skipped.`);
|
|
@@ -4920,18 +5097,23 @@ var AssetPublisher = class {
|
|
|
4920
5097
|
|
|
4921
5098
|
// src/state/stack-instance-id.ts
|
|
4922
5099
|
const STACK_INSTANCE_SIBLING_VERSION = 1;
|
|
5100
|
+
const STACK_INSTANCE_SIBLING_VERSION_STACK_ID = 2;
|
|
4923
5101
|
const STACK_INSTANCE_SIBLING_FILE = "stack-instance.json";
|
|
4924
5102
|
const STACK_INSTANCE_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;
|
|
4925
5103
|
function isStackInstanceId(value) {
|
|
4926
5104
|
return typeof value === "string" && STACK_INSTANCE_ID_PATTERN.test(value);
|
|
4927
5105
|
}
|
|
4928
|
-
function stackInstanceSiblingBody(id) {
|
|
4929
|
-
return JSON.stringify({
|
|
5106
|
+
function stackInstanceSiblingBody(id, stackIdFromInstance = false) {
|
|
5107
|
+
return JSON.stringify(stackIdFromInstance ? {
|
|
5108
|
+
stackInstanceVersion: 2,
|
|
5109
|
+
stackInstanceId: id,
|
|
5110
|
+
stackIdFromInstance: true
|
|
5111
|
+
} : {
|
|
4930
5112
|
stackInstanceVersion: 1,
|
|
4931
5113
|
stackInstanceId: id
|
|
4932
5114
|
}, null, 2);
|
|
4933
5115
|
}
|
|
4934
|
-
function
|
|
5116
|
+
function parseStackInstanceSiblingIdentity(body) {
|
|
4935
5117
|
let raw;
|
|
4936
5118
|
try {
|
|
4937
5119
|
raw = JSON.parse(body);
|
|
@@ -4940,8 +5122,16 @@ function parseStackInstanceSibling(body) {
|
|
|
4940
5122
|
}
|
|
4941
5123
|
if (typeof raw !== "object" || raw === null) return null;
|
|
4942
5124
|
const doc = raw;
|
|
4943
|
-
|
|
4944
|
-
|
|
5125
|
+
const version = doc["stackInstanceVersion"];
|
|
5126
|
+
let stackIdFromInstance;
|
|
5127
|
+
if (version === 1) stackIdFromInstance = false;
|
|
5128
|
+
else if (version === 2 && doc["stackIdFromInstance"] === true) stackIdFromInstance = true;
|
|
5129
|
+
else return null;
|
|
5130
|
+
const id = doc["stackInstanceId"];
|
|
5131
|
+
return isStackInstanceId(id) ? {
|
|
5132
|
+
stackInstanceId: id,
|
|
5133
|
+
stackIdFromInstance
|
|
5134
|
+
} : null;
|
|
4945
5135
|
}
|
|
4946
5136
|
var MalformedStackInstanceIdError = class extends Error {
|
|
4947
5137
|
constructor(stackLabel) {
|
|
@@ -5662,6 +5852,7 @@ function exportNamesCarriedFrom(previous) {
|
|
|
5662
5852
|
function stackInstanceIdCarriedFrom(previous) {
|
|
5663
5853
|
return {
|
|
5664
5854
|
...previous?.stackInstanceId !== void 0 && { stackInstanceId: previous.stackInstanceId },
|
|
5855
|
+
...previous?.stackIdFromInstance !== void 0 && { stackIdFromInstance: previous.stackIdFromInstance },
|
|
5665
5856
|
...previous?.retiredNameGenerations !== void 0 && { retiredNameGenerations: previous.retiredNameGenerations },
|
|
5666
5857
|
...previous?.supersededResources !== void 0 && { supersededResources: previous.supersededResources },
|
|
5667
5858
|
...previous?.pendingMovesOut !== void 0 && { pendingMovesOut: previous.pendingMovesOut },
|
|
@@ -5698,7 +5889,8 @@ const STATE_SCHEMA_VERSIONS_READABLE = [
|
|
|
5698
5889
|
12,
|
|
5699
5890
|
13,
|
|
5700
5891
|
14,
|
|
5701
|
-
15
|
|
5892
|
+
15,
|
|
5893
|
+
16
|
|
5702
5894
|
];
|
|
5703
5895
|
|
|
5704
5896
|
// src/state/create-token-ledger.ts
|
|
@@ -5923,7 +6115,7 @@ async function saveState(stackName, region, state, options = {}) {
|
|
|
5923
6115
|
const body = {
|
|
5924
6116
|
...state,
|
|
5925
6117
|
...stackInstanceIdCarriedFrom(state),
|
|
5926
|
-
version:
|
|
6118
|
+
version: 16,
|
|
5927
6119
|
stackName,
|
|
5928
6120
|
region
|
|
5929
6121
|
};
|
|
@@ -5985,7 +6177,7 @@ async function deleteState(stackName, region) {
|
|
|
5985
6177
|
const legacyProbe = await this.probeLegacyState(stackName);
|
|
5986
6178
|
if (legacyProbe.kind === "unreadable") {
|
|
5987
6179
|
const safeName = this.displayName(stackName);
|
|
5988
|
-
this.logger.warn(`Could not read the legacy state record for ${safeName} while cleaning up (${legacyProbe.reason}). If one exists it was left in place
|
|
6180
|
+
this.logger.warn(`Could not read the legacy state record for ${safeName} while cleaning up (${legacyProbe.reason}). If one exists it was left in place.` + safeMsg`${verboseAwareText(" Re-run with --verbose for the details.", " The details are in the debug output.")}`);
|
|
5989
6181
|
}
|
|
5990
6182
|
if (legacyProbeBelongsTo(legacyProbe, region)) {
|
|
5991
6183
|
await this.s3Client.send(new DeleteObjectCommand({
|
|
@@ -6273,7 +6465,7 @@ async function deleteRawObjects(keys) {
|
|
|
6273
6465
|
this.logger.debug(safeMsg`DeleteObjects failed for ${shownKey} (${shownCode}): ${displaySafe(err.Message ?? "", { asciiOnly: true })}`);
|
|
6274
6466
|
}
|
|
6275
6467
|
}
|
|
6276
|
-
if (failures.length > 0) throw new StateError(`Failed to delete ${failures.length} object(s) from bucket '${this.config.bucket}': ${failures.join("; ")}
|
|
6468
|
+
if (failures.length > 0) throw new StateError(`Failed to delete ${failures.length} object(s) from bucket '${this.config.bucket}': ${failures.join("; ")}.${verbosePointerTail()}`);
|
|
6277
6469
|
}
|
|
6278
6470
|
async function purgeNoncurrentVersions(keys, options = {}) {
|
|
6279
6471
|
if (keys.length === 0) return;
|
|
@@ -6545,20 +6737,20 @@ async function deleteCreateTokenLedger(stackName, region) {
|
|
|
6545
6737
|
}
|
|
6546
6738
|
async function stackInstanceIdForFirstWrite(stackName, region, options) {
|
|
6547
6739
|
const key = this.getStackInstanceKey(stackName, region);
|
|
6548
|
-
const read = async () => this.
|
|
6740
|
+
const read = async () => (await this.readSiblingIdentity(key, stackName, region))?.stackInstanceId ?? null;
|
|
6549
6741
|
const prefetched = this.siblingPrefetches.get(key);
|
|
6550
6742
|
this.siblingPrefetches.delete(key);
|
|
6551
6743
|
try {
|
|
6552
|
-
const existing = await (prefetched ?? read());
|
|
6744
|
+
const existing = await (prefetched?.then((identity) => identity?.stackInstanceId ?? null) ?? read());
|
|
6553
6745
|
if (existing !== null) {
|
|
6554
6746
|
this.pendingStackInstanceSiblings.set(key, existing);
|
|
6555
6747
|
this.logger.debug(safeMsg`Reusing the write-ahead stack instance id of ${displayStackName(stackName)}`);
|
|
6556
6748
|
return existing;
|
|
6557
6749
|
}
|
|
6558
|
-
const minted = randomUUID();
|
|
6750
|
+
const minted = options.candidate?.stackInstanceId ?? randomUUID();
|
|
6559
6751
|
if (!options.writeAhead) return minted;
|
|
6560
6752
|
await this.ensureClientForBucket();
|
|
6561
|
-
const body = stackInstanceSiblingBody(minted);
|
|
6753
|
+
const body = stackInstanceSiblingBody(minted, options.candidate?.stackIdFromInstance === true);
|
|
6562
6754
|
const put = async () => this.s3Client.send(new PutObjectCommand({
|
|
6563
6755
|
Bucket: this.config.bucket,
|
|
6564
6756
|
...await this.ownerParam(),
|
|
@@ -6604,14 +6796,27 @@ function stackInstanceSiblingError(stackName, region, error, access) {
|
|
|
6604
6796
|
function prefetchStackInstanceSibling(stackName, region) {
|
|
6605
6797
|
const key = this.getStackInstanceKey(stackName, region);
|
|
6606
6798
|
if (this.siblingPrefetches.has(key)) return;
|
|
6607
|
-
const read = this.
|
|
6799
|
+
const read = this.readSiblingIdentity(key, stackName, region);
|
|
6608
6800
|
read.catch(() => void 0);
|
|
6609
6801
|
this.siblingPrefetches.set(key, read);
|
|
6610
6802
|
}
|
|
6803
|
+
async function peekStackInstanceSibling(stackName, region) {
|
|
6804
|
+
this.prefetchStackInstanceSibling(stackName, region);
|
|
6805
|
+
const read = this.siblingPrefetches.get(this.getStackInstanceKey(stackName, region));
|
|
6806
|
+
try {
|
|
6807
|
+
return await read ?? null;
|
|
6808
|
+
} catch (error) {
|
|
6809
|
+
if (error instanceof StateError) throw error;
|
|
6810
|
+
throw this.stackInstanceSiblingError(stackName, region, error, "read");
|
|
6811
|
+
}
|
|
6812
|
+
}
|
|
6611
6813
|
async function readSiblingId(key, stackName, region) {
|
|
6814
|
+
return (await this.readSiblingIdentity(key, stackName, region))?.stackInstanceId ?? null;
|
|
6815
|
+
}
|
|
6816
|
+
async function readSiblingIdentity(key, stackName, region) {
|
|
6612
6817
|
const body = await this.getRawObject(key);
|
|
6613
6818
|
if (body === null) return null;
|
|
6614
|
-
const id =
|
|
6819
|
+
const id = parseStackInstanceSiblingIdentity(body);
|
|
6615
6820
|
if (id === null) throw new StateError(`The write-ahead stack instance id of stack ${this.stackRef(stackName, region)} (${STACK_INSTANCE_SIBLING_FILE} beside its state.json) is in a format this cdkd version cannot read; upgrade cdkd, or delete that object if it is damaged`);
|
|
6616
6821
|
return id;
|
|
6617
6822
|
}
|
|
@@ -7038,7 +7243,7 @@ function adoptKeyRegion(state, region, shownStackName, shownRegionName) {
|
|
|
7038
7243
|
region
|
|
7039
7244
|
} };
|
|
7040
7245
|
const kind = describeRegionValueKind(raw);
|
|
7041
|
-
this.logger.warn(`State record for stack ${shownStackName} carries a 'region' of its own (${kind}) that is not the region of the S3 key it was read from (${shownRegionName}). cdkd stamps the key's region into every record it writes, so this record was not written by cdkd. Continuing against ${shownRegionName} — the key is authoritative. Re-run with --verbose to see the recorded value, where it has one to show
|
|
7246
|
+
this.logger.warn(`State record for stack ${shownStackName} carries a 'region' of its own (${kind}) that is not the region of the S3 key it was read from (${shownRegionName}). cdkd stamps the key's region into every record it writes, so this record was not written by cdkd. Continuing against ${shownRegionName} — the key is authoritative. ` + safeMsg`${verboseAwareText("Re-run with --verbose to see the recorded value, where it has one to show.", "The recorded value is in the debug output, where it has one to show.")}`);
|
|
7042
7247
|
this.logger.debug(`State record for stack ${shownStackName} carries body region ` + (displaySafe(raw, { asciiOnly: true }) === "" ? `${kind}, which renders as nothing — its kind above is the whole of it.` : `${displayIdent(raw)}.`));
|
|
7043
7248
|
return {
|
|
7044
7249
|
state: {
|
|
@@ -7404,9 +7609,15 @@ var S3StateBackend = class S3StateBackend {
|
|
|
7404
7609
|
prefetchStackInstanceSibling(stackName, region) {
|
|
7405
7610
|
return prefetchStackInstanceSibling.call(this, stackName, region);
|
|
7406
7611
|
}
|
|
7612
|
+
peekStackInstanceSibling(stackName, region) {
|
|
7613
|
+
return peekStackInstanceSibling.call(this, stackName, region);
|
|
7614
|
+
}
|
|
7407
7615
|
readSiblingId(key, stackName, region) {
|
|
7408
7616
|
return readSiblingId.call(this, key, stackName, region);
|
|
7409
7617
|
}
|
|
7618
|
+
readSiblingIdentity(key, stackName, region) {
|
|
7619
|
+
return readSiblingIdentity.call(this, key, stackName, region);
|
|
7620
|
+
}
|
|
7410
7621
|
readStackInstanceSibling(stackName, region) {
|
|
7411
7622
|
return readStackInstanceSibling.call(this, stackName, region);
|
|
7412
7623
|
}
|
|
@@ -12973,7 +13184,7 @@ function ecsServiceLaunchTypeSetOrChanged(oldValue, newValue) {
|
|
|
12973
13184
|
const EMR_INSTANCES_IN_PLACE_MEMBERS = ["TerminationProtected", "UnhealthyNodeReplacement"];
|
|
12974
13185
|
const EMR_GROUP_IN_PLACE_MEMBERS = ["InstanceCount", "AutoScalingPolicy"];
|
|
12975
13186
|
const EMR_FLEET_IN_PLACE_MEMBERS = ["TargetOnDemandCapacity", "TargetSpotCapacity"];
|
|
12976
|
-
function withoutKeys(value, keys) {
|
|
13187
|
+
function withoutKeys$1(value, keys) {
|
|
12977
13188
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return value;
|
|
12978
13189
|
const copy = { ...value };
|
|
12979
13190
|
for (const key of keys) delete copy[key];
|
|
@@ -12981,11 +13192,11 @@ function withoutKeys(value, keys) {
|
|
|
12981
13192
|
}
|
|
12982
13193
|
function emrInstancesReplacingPart(value) {
|
|
12983
13194
|
if (value === null || typeof value !== "object" || Array.isArray(value)) return value;
|
|
12984
|
-
const instances = withoutKeys(value, EMR_INSTANCES_IN_PLACE_MEMBERS);
|
|
13195
|
+
const instances = withoutKeys$1(value, EMR_INSTANCES_IN_PLACE_MEMBERS);
|
|
12985
13196
|
const strip = (key, keys) => {
|
|
12986
13197
|
if (!(key in instances)) return;
|
|
12987
13198
|
const member = instances[key];
|
|
12988
|
-
instances[key] = Array.isArray(member) ? member.map((entry) => withoutKeys(entry, keys)) : withoutKeys(member, keys);
|
|
13199
|
+
instances[key] = Array.isArray(member) ? member.map((entry) => withoutKeys$1(entry, keys)) : withoutKeys$1(member, keys);
|
|
12989
13200
|
};
|
|
12990
13201
|
strip("CoreInstanceGroup", EMR_GROUP_IN_PLACE_MEMBERS);
|
|
12991
13202
|
strip("TaskInstanceGroups", EMR_GROUP_IN_PLACE_MEMBERS);
|
|
@@ -15867,6 +16078,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
15867
16078
|
"PromotionTier",
|
|
15868
16079
|
"PubliclyAccessible",
|
|
15869
16080
|
"RestoreTime",
|
|
16081
|
+
"SourceDBClusterIdentifier",
|
|
15870
16082
|
"SourceDBInstanceAutomatedBackupsArn",
|
|
15871
16083
|
"SourceDBInstanceIdentifier",
|
|
15872
16084
|
"SourceDbiResourceId",
|
|
@@ -15894,7 +16106,6 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
15894
16106
|
["DomainIAMRoleName", "not yet implemented by cdkd"],
|
|
15895
16107
|
["DomainOu", "not yet implemented by cdkd"],
|
|
15896
16108
|
["ReplicaMode", "not yet implemented by cdkd"],
|
|
15897
|
-
["SourceDBClusterIdentifier", "not yet implemented by cdkd"],
|
|
15898
16109
|
["TdeCredentialArn", "not yet implemented by cdkd"],
|
|
15899
16110
|
["TdeCredentialPassword", "not yet implemented by cdkd"]
|
|
15900
16111
|
]),
|
|
@@ -17908,7 +18119,7 @@ function divergentRecordRegionRefusalMessage(stackName, keyRegion, divergentBody
|
|
|
17908
18119
|
const kind = describeRegionValueKind(divergentBodyRegion);
|
|
17909
18120
|
const opening = exact ? `cdkd will not destroy stack ${shellQuote(safeIdentifier(stackName, cap))} (${shellQuote(safeIdentifier(keyRegion, cap))}): the state record read from that region's key carries a 'region' of its own (${kind}) that is not the key's, and ${lists}` : `cdkd will not destroy the state record this command loaded: it carries a 'region' of its own (${kind}) that is not the region of the key it was read from, and ${lists}`;
|
|
17910
18121
|
const listing = withheldListingPointer(recovery);
|
|
17911
|
-
const remedy = exact ? "Re-run with --verbose to see what the record's region field holds, then either destroy against the region the resources are really in, or repair that field to match the key it is stored under and re-run. " + withheldAccountClause(recovery, "the command at the end of this message prints") + "To drop the record and leave the live resources standing, spelled out rather than pasteable because that command DELETES a record: " + dropRecordTemplate(recovery) : "This record's stack name or region does NOT render exactly — what any surrounding output shows is a sanitized form, and another record may render identically — so this message names no target and offers no command against one. List the records with " + (listing.line === void 0 ? `${WITHHELD_LISTING_POINTER}. Inspect it with: ${inspectCommand(void 0, void 0)}` : `${listing.pointer}.` + destroyAccountClause(recovery) + `\n${listing.line}\nInspect it with: ${inspectCommand(void 0, void 0, recovery)}`);
|
|
18122
|
+
const remedy = exact ? verboseAwareText("Re-run with --verbose to see what the record's region field holds, then either destroy ", "The debug output shows what the record's region field holds. Either destroy ") + "against the region the resources are really in, or repair that field to match the key it is stored under and re-run. " + withheldAccountClause(recovery, "the command at the end of this message prints") + "To drop the record and leave the live resources standing, spelled out rather than pasteable because that command DELETES a record: " + dropRecordTemplate(recovery) : "This record's stack name or region does NOT render exactly — what any surrounding output shows is a sanitized form, and another record may render identically — so this message names no target and offers no command against one. List the records with " + (listing.line === void 0 ? `${WITHHELD_LISTING_POINTER}. Inspect it with: ${inspectCommand(void 0, void 0)}` : `${listing.pointer}.` + destroyAccountClause(recovery) + `\n${listing.line}\nInspect it with: ${inspectCommand(void 0, void 0, recovery)}`);
|
|
17912
18123
|
return `${opening} ${resourceCount === void 0 ? `— so cdkd can neither count what it would delete nor tell which region it is in` : `— so cdkd cannot tell which region those resources are in`}. cdkd stamps the key's region into every record it writes, so this record was not written by cdkd. Destroying against the key's region would issue every delete there; if the record's own region is the honest half, each delete comes back not-found, which this command reads as ALREADY DELETED — it would report success, remove the record, and leave every resource standing in the other region with nothing naming it. ${remedy}`;
|
|
17913
18124
|
}
|
|
17914
18125
|
function refuseDivergentRecordRegionForDestroy(state, stackName, keyRegion, divergentBodyRegion, recovery, provenOrphans = 0) {
|
|
@@ -23292,7 +23503,7 @@ function describeFailureObserved(resolver, read, err, context) {
|
|
|
23292
23503
|
const status = err?.$metadata?.httpStatusCode;
|
|
23293
23504
|
const errorClass = typeof status === "number" && Number.isInteger(status) ? `${name}, HTTP ${status}` : name;
|
|
23294
23505
|
resolver.logger.debug(`${read} failed (${errorClass}): ${displayMasked(resolver, describeAwsFailure(err).detail, context)}`);
|
|
23295
|
-
return `${read} failed (${errorClass}); re-run with --verbose for the AWS error text`;
|
|
23506
|
+
return verbosePointerSentence() ? `${read} failed (${errorClass}); re-run with --verbose for the AWS error text` : `${read} failed (${errorClass}); the AWS error text is in the debug output above`;
|
|
23296
23507
|
}
|
|
23297
23508
|
function guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceType, physicalId, context) {
|
|
23298
23509
|
if (context?.staleAttributeHeal?.phase === "probe") throw new StaleAttributeMissSignal();
|
|
@@ -25604,6 +25815,24 @@ async function resolveGetAZs(resolver, value, context) {
|
|
|
25604
25815
|
return azNames;
|
|
25605
25816
|
}
|
|
25606
25817
|
|
|
25818
|
+
// src/state/stack-id-tail.ts
|
|
25819
|
+
const LEGACY_STACK_ID_TAIL = "cdkd";
|
|
25820
|
+
function stackIdTailFromInstanceId(stackInstanceId) {
|
|
25821
|
+
const bytes = createHash("sha256").update("AWS::StackId").update("\0").update(stackInstanceId).digest().subarray(0, 16);
|
|
25822
|
+
bytes[6] = bytes[6] & 15 | 64;
|
|
25823
|
+
bytes[8] = bytes[8] & 63 | 128;
|
|
25824
|
+
const hex = bytes.toString("hex");
|
|
25825
|
+
return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
|
|
25826
|
+
}
|
|
25827
|
+
function stackIdTailOf(state, stackLabel) {
|
|
25828
|
+
const marker = state?.stackIdFromInstance;
|
|
25829
|
+
if (marker === void 0) return void 0;
|
|
25830
|
+
if (marker !== true) throw new Error(`The state record of ${stackLabel} holds a stackIdFromInstance that is not true. cdkd does not guess whether its AWS::StackId derives from its stackInstanceId, since resources may be named from it; restore the field from an earlier version of state.json.`);
|
|
25831
|
+
const id = stackInstanceIdOf(state, stackLabel);
|
|
25832
|
+
if (id === void 0) throw new Error(`The state record of ${stackLabel} marks its AWS::StackId as derived from its stackInstanceId, but holds no stackInstanceId. cdkd does not fall back to the legacy value, since resources may be named from it; restore the field from an earlier version of state.json.`);
|
|
25833
|
+
return stackIdTailFromInstanceId(id);
|
|
25834
|
+
}
|
|
25835
|
+
|
|
25607
25836
|
// src/deployment/intrinsic-resolver/functions/pseudo-parameter.ts
|
|
25608
25837
|
async function resolvePseudoParameter(resolver, name, context) {
|
|
25609
25838
|
switch (name) {
|
|
@@ -25613,7 +25842,13 @@ async function resolvePseudoParameter(resolver, name, context) {
|
|
|
25613
25842
|
case "AWS::StackName": return context?.stackName ?? "UnknownStack";
|
|
25614
25843
|
case "AWS::StackId": {
|
|
25615
25844
|
const info = await getAccountInfo(resolver.resolverRegion);
|
|
25616
|
-
|
|
25845
|
+
let tail;
|
|
25846
|
+
try {
|
|
25847
|
+
tail = context?.stackIdTail?.() ?? "cdkd";
|
|
25848
|
+
} catch (error) {
|
|
25849
|
+
throw error instanceof Error ? markNonRetryable(error) : error;
|
|
25850
|
+
}
|
|
25851
|
+
return `arn:${info.partition}:cloudformation:${canonicalizeRegion(info.region)}:${info.accountId}:stack/${context?.stackName ?? "UnknownStack"}/${tail}`;
|
|
25617
25852
|
}
|
|
25618
25853
|
case "AWS::URLSuffix": return derivePartitionAndUrlSuffix(resolver.resolverRegion).urlSuffix;
|
|
25619
25854
|
case "AWS::NotificationARNs": return [];
|
|
@@ -26455,9 +26690,11 @@ async function resolveSelect(resolver, selectArgs, context) {
|
|
|
26455
26690
|
if (!Array.isArray(resolvedList)) throw markNonRetryable(/* @__PURE__ */ new Error(`Fn::Select: list must be an array, got ${typeof resolvedList}`));
|
|
26456
26691
|
const loggedPosition = displayMasked(resolver, String(position), context);
|
|
26457
26692
|
if (position >= resolvedList.length) {
|
|
26458
|
-
if (
|
|
26459
|
-
|
|
26460
|
-
|
|
26693
|
+
if (context?.stackIdTail?.() === void 0 && loggedPosition === String(position) && readsStackId(list)) {
|
|
26694
|
+
resolver.logger.warn(`Fn::Select: index ${position} out of bounds (array length: ${resolvedList.length}) over this stack's AWS::StackId, which ends in \`cdkd\` because the stack was first deployed before cdkd derived it from a UUID; the value is a placeholder`);
|
|
26695
|
+
return `{{Fn::Select:${position}:OutOfBounds}}`;
|
|
26696
|
+
}
|
|
26697
|
+
throw markNonRetryable(new SelectOutOfBoundsRefusalError(`Fn::Select: the index ${loggedPosition} is out of bounds (array length: ${resolvedList.length}). CloudFormation refuses this template too ("Fn::Select cannot select nonexistent value"); select an index inside the list.`));
|
|
26461
26698
|
}
|
|
26462
26699
|
const result = resolvedList[position];
|
|
26463
26700
|
resolver.logger.debug(`Resolved Fn::Select: index ${loggedPosition} resolved to ${logRender(resolver, JSON.stringify(maskValueLeaves(resolver, result, context)), context, { structured: true })}`);
|
|
@@ -26550,6 +26787,24 @@ async function resolveSplit(resolver, splitArgs, context) {
|
|
|
26550
26787
|
resolver.logger.debug(`Resolved Fn::Split: split by ${splitDelimiterRender(resolver, String(delimiter), lineContext)} resolved to ${logRender(resolver, JSON.stringify(maskValueLeaves(resolver, pieceTwins, lineContext)), lineContext, { structured: true })}`);
|
|
26551
26788
|
return result;
|
|
26552
26789
|
}
|
|
26790
|
+
function readsStackId(node) {
|
|
26791
|
+
if (typeof node === "string") return false;
|
|
26792
|
+
if (Array.isArray(node)) return node.some(readsStackId);
|
|
26793
|
+
if (node === null || typeof node !== "object") return false;
|
|
26794
|
+
const record = node;
|
|
26795
|
+
if (record["Ref"] === "AWS::StackId") return true;
|
|
26796
|
+
const sub = record["Fn::Sub"];
|
|
26797
|
+
const subText = typeof sub === "string" ? sub : Array.isArray(sub) ? sub[0] : void 0;
|
|
26798
|
+
if (typeof subText === "string" && subText.includes("${AWS::StackId}")) return true;
|
|
26799
|
+
return Object.values(record).some(readsStackId);
|
|
26800
|
+
}
|
|
26801
|
+
function isSelectOutOfBounds(error) {
|
|
26802
|
+
for (let link = error, depth = 0; link instanceof Error && depth < 16; depth++) {
|
|
26803
|
+
if (link instanceof SelectOutOfBoundsRefusalError) return true;
|
|
26804
|
+
link = link.cause;
|
|
26805
|
+
}
|
|
26806
|
+
return false;
|
|
26807
|
+
}
|
|
26553
26808
|
|
|
26554
26809
|
// src/deployment/intrinsic-resolver/params-conditions.ts
|
|
26555
26810
|
async function resolveParameters(resolver, template, userParameters, options) {
|
|
@@ -26645,6 +26900,7 @@ async function evaluateConditions(resolver, context) {
|
|
|
26645
26900
|
for (const name of Object.keys(templateConditions)) try {
|
|
26646
26901
|
await withSharedDrainBudget(() => evaluateByName(name));
|
|
26647
26902
|
} catch (error) {
|
|
26903
|
+
if (isSelectOutOfBounds(error)) throw error;
|
|
26648
26904
|
resolver.logger.warn(displayMasked(resolver, `Failed to evaluate condition ${name}: ${describeAwsFailure(error).detail}, assuming false`, maskingContext));
|
|
26649
26905
|
conditions[name] = false;
|
|
26650
26906
|
assumed.add(name);
|
|
@@ -28259,7 +28515,7 @@ async function readApiGatewayV2DefinitionObject(logicalId, physicalId, resourceT
|
|
|
28259
28515
|
if (errorClass === "AccessDenied" || status === 403) next = ` The deploy identity needs s3:GetObject on it` + (object.version !== void 0 ? " (and s3:GetObjectVersion for the pinned Version)" : "") + ", and kms:Decrypt on its key if the object is SSE-KMS encrypted.";
|
|
28260
28516
|
else if (errorClass === "NoSuchKey" || errorClass === "NoSuchBucket" || errorClass === "NoSuchVersion") next = " Upload the definition there, or point BodyS3Location at the right object.";
|
|
28261
28517
|
else if (errorClass === "PermanentRedirect" || status === 301) next = (redirected ? ` S3 redirected the read twice.` : ` S3 named no region to redirect to.`) + " cdkd could not reach the bucket's region: grant the deploy identity s3:GetBucketLocation on the bucket, or keep the definition in a bucket of this region.";
|
|
28262
|
-
const wrapped = new ProvisioningError(`Cannot update ${logicalId} (${resourceType}): reading its OpenAPI definition ${shown} failed with ${errorClass}.${next ?? ""}
|
|
28518
|
+
const wrapped = new ProvisioningError(`Cannot update ${logicalId} (${resourceType}): reading its OpenAPI definition ${shown} failed with ${errorClass}.${next ?? ""}${verbosePointerTail()}`, resourceType, logicalId, physicalId, error instanceof Error ? error : void 0);
|
|
28263
28519
|
throw next !== void 0 ? markNonRetryable(wrapped) : markRedactedCause(wrapped);
|
|
28264
28520
|
} finally {
|
|
28265
28521
|
for (const client of owned) client.destroy();
|
|
@@ -29347,7 +29603,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
29347
29603
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
29348
29604
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
29349
29605
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
29350
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
29606
|
+
const { ASGProvider } = await import("./asg-provider-r1ojkIvF.js");
|
|
29351
29607
|
const delegateRegion = ambientRegion();
|
|
29352
29608
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
29353
29609
|
if (asgProvider === void 0) {
|
|
@@ -29501,7 +29757,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
29501
29757
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
29502
29758
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
29503
29759
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
29504
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
29760
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-COq1pW0G.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-lzti8HIF.js"))).NeptuneProvider({ region: ccRegion });
|
|
29505
29761
|
this.sdkDeleteDelegates.set(family, {
|
|
29506
29762
|
region: ccRegion,
|
|
29507
29763
|
provider
|
|
@@ -30793,7 +31049,7 @@ function describeLambdaWaiterFailure(error, rejections) {
|
|
|
30793
31049
|
const state = typeof result.state === "string" ? result.state : "failure";
|
|
30794
31050
|
const reason = typeof result.reason === "string" && result.reason !== "" ? `: ${result.reason}` : "";
|
|
30795
31051
|
return {
|
|
30796
|
-
text: `${error.name} (waiter ${state}${reason}; ${parts.length > 0 ? parts.join(", ") : "no function status reported"}). ` + (reasons.length > 0 ?
|
|
31052
|
+
text: `${error.name} (waiter ${state}${reason}; ${parts.length > 0 ? parts.join(", ") : "no function status reported"}). ` + (reasons.length > 0 ? verbosePointerSentence() : "") + "The waiter's raw payload is withheld because it embeds the whole GetFunction response, environment variables included; run `aws lambda get-function` for the detail.",
|
|
30797
31053
|
reasons
|
|
30798
31054
|
};
|
|
30799
31055
|
}
|
|
@@ -35431,7 +35687,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
35431
35687
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
35432
35688
|
if (region === void 0 || region === "") return false;
|
|
35433
35689
|
const mask = input.mask ?? ((text) => text);
|
|
35434
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
35690
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-sjvqi8Of.js").then((n) => n.l);
|
|
35435
35691
|
let reason;
|
|
35436
35692
|
try {
|
|
35437
35693
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -42822,6 +43078,7 @@ function buildResolverContext(deps, base, stackName) {
|
|
|
42822
43078
|
...base.conditions && Object.keys(base.conditions).length > 0 && { conditions: base.conditions },
|
|
42823
43079
|
stateBackend: deps.stateBackend,
|
|
42824
43080
|
stackName,
|
|
43081
|
+
stackIdTail: () => deps.runStackIdTail()?.(),
|
|
42825
43082
|
...deps.exportIndexStore && { exportIndex: deps.exportIndexStore },
|
|
42826
43083
|
recordedImports: deps.recordedImports(),
|
|
42827
43084
|
recordedOutputReads: deps.recordedOutputReads(),
|
|
@@ -44730,7 +44987,7 @@ async function revertNestedChildFromJournal(args) {
|
|
|
44730
44987
|
...carried,
|
|
44731
44988
|
...stackInstanceIdCarriedFrom(base),
|
|
44732
44989
|
...supersededAfterRollback(base, supersededHost),
|
|
44733
|
-
version:
|
|
44990
|
+
version: 16,
|
|
44734
44991
|
region,
|
|
44735
44992
|
resources: { ...stateResources },
|
|
44736
44993
|
...orphansAfterRollback(base, mintedOrphans),
|
|
@@ -46714,7 +46971,8 @@ function resolverContextDeps() {
|
|
|
46714
46971
|
attributeHealer: () => this.attributeHealer,
|
|
46715
46972
|
recordedImports: () => this.recordedImports,
|
|
46716
46973
|
recordedOutputReads: () => this.recordedOutputReads,
|
|
46717
|
-
runProducerRegionEvidence: () => this.runProducerRegionEvidence
|
|
46974
|
+
runProducerRegionEvidence: () => this.runProducerRegionEvidence,
|
|
46975
|
+
runStackIdTail: () => this.runStackIdTail
|
|
46718
46976
|
};
|
|
46719
46977
|
}
|
|
46720
46978
|
function deleteDeps() {
|
|
@@ -47604,7 +47862,7 @@ async function waitForIndexesSettled(opts) {
|
|
|
47604
47862
|
}
|
|
47605
47863
|
const errorName = err instanceof Error ? err.name : typeof err;
|
|
47606
47864
|
logger.debug(`DescribeTable failed while waiting for indexes on ${tableName} (${logicalId}): ${message}`);
|
|
47607
|
-
logger.warn(`DescribeTable failed (${errorName}) while waiting for indexes on ${tableName} (${logicalId}), so cdkd stopped waiting; ${proceedNote}
|
|
47865
|
+
logger.warn(`DescribeTable failed (${errorName}) while waiting for indexes on ${tableName} (${logicalId}), so cdkd stopped waiting; ${proceedNote}${verbosePointerTail()}`);
|
|
47608
47866
|
return;
|
|
47609
47867
|
}
|
|
47610
47868
|
await new Promise((resolve) => setTimeout(resolve, INDEX_SETTLE_POLL_INTERVAL_MS));
|
|
@@ -47620,7 +47878,7 @@ function indexBusyRetryWarning(opts) {
|
|
|
47620
47878
|
const remainingAttempts = Math.max(0, 1 + opts.maxRetries - opts.attemptNumber);
|
|
47621
47879
|
const settleFloorMinutes = Math.max(1, Math.round((remainingAttempts + 1) * 60 * INDEX_SETTLE_POLL_INTERVAL_MS / 6e4));
|
|
47622
47880
|
const pollSeconds = INDEX_SETTLE_POLL_INTERVAL_MS / 1e3;
|
|
47623
|
-
return `DynamoDB ${opts.typeLabel} ${opts.logicalId}: AWS refused DeleteTable on ${opts.physicalId} because ${opts.indexNoun ?? "a global secondary index"} is still being created, updated or deleted — application auto-scaling can start an index capacity change at any moment, including during this destroy. Waiting for the index to settle and retrying (this attempt plus up to ${remainingAttempts} more attempts; each one first waits up to ${60} DescribeTable polls ~${pollSeconds}s apart before its DeleteTable, so cdkd will not give up for at least ~${settleFloorMinutes} more minutes while those settle waits run). Nothing is wrong with the table; a large index backfill can outlast this budget, in which case the destroy fails on AWS's refusal (re-run with --verbose for AWS's own message) and re-running it succeeds once the index is ACTIVE.`;
|
|
47881
|
+
return `DynamoDB ${opts.typeLabel} ${opts.logicalId}: AWS refused DeleteTable on ${opts.physicalId} because ${opts.indexNoun ?? "a global secondary index"} is still being created, updated or deleted — application auto-scaling can start an index capacity change at any moment, including during this destroy. Waiting for the index to settle and retrying (this attempt plus up to ${remainingAttempts} more attempts; each one first waits up to ${60} DescribeTable polls ~${pollSeconds}s apart before its DeleteTable, so cdkd will not give up for at least ~${settleFloorMinutes} more minutes while those settle waits run). Nothing is wrong with the table; a large index backfill can outlast this budget, in which case the destroy fails on AWS's refusal${verbosePointerSentence() ? " (re-run with --verbose for AWS's own message)" : ""} and re-running it succeeds once the index is ACTIVE.`;
|
|
47624
47882
|
}
|
|
47625
47883
|
async function deleteTableWithIndexBusyRetry(opts) {
|
|
47626
47884
|
let deleteAttempts = 0;
|
|
@@ -49421,7 +49679,7 @@ function collectAutoScalingTargets(properties, localRegion) {
|
|
|
49421
49679
|
const REPLICA_COPY_RELEASE_POLL_MS = 5e3;
|
|
49422
49680
|
const DELETION_PROTECTION_REFLIP_MS = 16e3;
|
|
49423
49681
|
function relayedEncryptionChangeLimit(withheldText) {
|
|
49424
|
-
return /Encryption mode changes are limited/i.test(withheldText) ? " AWS limits a table to 4 encryption changes in 24 hours, then one every 6 hours; retry the change later (--verbose shows when AWS allows the next one)." : "";
|
|
49682
|
+
return /Encryption mode changes are limited/i.test(withheldText) ? " AWS limits a table to 4 encryption changes in 24 hours, then one every 6 hours; " + verboseAwareText("retry the change later (--verbose shows when AWS allows the next one).", "retry the change later (the debug output shows when AWS allows the next one).") : "";
|
|
49425
49683
|
}
|
|
49426
49684
|
const KINESIS_DISABLE_UNSETTLED = /* @__PURE__ */ new Set([
|
|
49427
49685
|
"ACTIVE",
|
|
@@ -57220,7 +57478,7 @@ async function rollbackFailedDeploy(run, error, initialDeploy, currentEtag) {
|
|
|
57220
57478
|
recordUnsettledMarks(engine, newResources);
|
|
57221
57479
|
try {
|
|
57222
57480
|
const postRollbackState = {
|
|
57223
|
-
version:
|
|
57481
|
+
version: 16,
|
|
57224
57482
|
region: engine.stackRegion,
|
|
57225
57483
|
stackName: currentState.stackName,
|
|
57226
57484
|
resources: newResources,
|
|
@@ -57243,7 +57501,7 @@ async function rollbackFailedDeploy(run, error, initialDeploy, currentEtag) {
|
|
|
57243
57501
|
const freshEtag = (await engine.stateBackend.getState(stackName, engine.stackRegion))?.etag;
|
|
57244
57502
|
recordUnsettledMarks(engine, newResources);
|
|
57245
57503
|
const postRollbackState = {
|
|
57246
|
-
version:
|
|
57504
|
+
version: 16,
|
|
57247
57505
|
region: engine.stackRegion,
|
|
57248
57506
|
stackName: currentState.stackName,
|
|
57249
57507
|
resources: newResources,
|
|
@@ -57302,7 +57560,7 @@ async function executeDeployment(engine, template, currentState, changes, dag, e
|
|
|
57302
57560
|
const savedFor = savedIds.join(", ");
|
|
57303
57561
|
try {
|
|
57304
57562
|
const partialState = {
|
|
57305
|
-
version:
|
|
57563
|
+
version: 16,
|
|
57306
57564
|
region: engine.stackRegion,
|
|
57307
57565
|
stackName: currentState.stackName,
|
|
57308
57566
|
resources: newResources,
|
|
@@ -57475,7 +57733,7 @@ async function executeDeployment(engine, template, currentState, changes, dag, e
|
|
|
57475
57733
|
await settleFailedDeployRecords(run);
|
|
57476
57734
|
try {
|
|
57477
57735
|
const preRollbackState = {
|
|
57478
|
-
version:
|
|
57736
|
+
version: 16,
|
|
57479
57737
|
region: engine.stackRegion,
|
|
57480
57738
|
stackName: currentState.stackName,
|
|
57481
57739
|
resources: newResources,
|
|
@@ -57514,7 +57772,7 @@ async function executeDeployment(engine, template, currentState, changes, dag, e
|
|
|
57514
57772
|
}
|
|
57515
57773
|
return {
|
|
57516
57774
|
state: {
|
|
57517
|
-
version:
|
|
57775
|
+
version: 16,
|
|
57518
57776
|
region: engine.stackRegion,
|
|
57519
57777
|
stackName: currentState.stackName,
|
|
57520
57778
|
resources: newResources,
|
|
@@ -57533,7 +57791,7 @@ async function executeDeployment(engine, template, currentState, changes, dag, e
|
|
|
57533
57791
|
}
|
|
57534
57792
|
async function persistStateAfterOutputFailure(engine, stackName, currentState, newResources, currentEtag, pendingMigration) {
|
|
57535
57793
|
const buildState = () => ({
|
|
57536
|
-
version:
|
|
57794
|
+
version: 16,
|
|
57537
57795
|
region: engine.stackRegion,
|
|
57538
57796
|
stackName: currentState.stackName,
|
|
57539
57797
|
resources: newResources,
|
|
@@ -58594,7 +58852,7 @@ async function deployWithoutChanges(engine, { stackName, template, currentState,
|
|
|
58594
58852
|
await resolveStackInstanceId();
|
|
58595
58853
|
try {
|
|
58596
58854
|
const refreshedState = {
|
|
58597
|
-
version:
|
|
58855
|
+
version: 16,
|
|
58598
58856
|
region: engine.stackRegion,
|
|
58599
58857
|
stackName: currentState.stackName,
|
|
58600
58858
|
resources: currentState.resources,
|
|
@@ -58804,7 +59062,7 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
58804
59062
|
clock.lap("state load");
|
|
58805
59063
|
noteDeployStateRecord(currentStateData?.state !== void 0);
|
|
58806
59064
|
const currentState = currentStateData?.state ?? {
|
|
58807
|
-
version:
|
|
59065
|
+
version: 16,
|
|
58808
59066
|
region: engine.stackRegion,
|
|
58809
59067
|
stackName,
|
|
58810
59068
|
resources: {},
|
|
@@ -58835,6 +59093,13 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
58835
59093
|
if (idArrivesLater && !engine.options.dryRun) engine.stateBackend.prefetchStackInstanceSibling?.(stackName, engine.stackRegion);
|
|
58836
59094
|
engine.rebaseline(currentState.resources ?? {});
|
|
58837
59095
|
engine.runProducerRegionEvidence = () => producerRegionEvidence(engine.rollbackDeps(), currentState);
|
|
59096
|
+
const firstDeployIdentityRead = idArrivesLater && engine.stateBackend.peekStackInstanceSibling ? engine.options.dryRun ? Promise.resolve(null) : engine.stateBackend.peekStackInstanceSibling(stackName, engine.stackRegion) : void 0;
|
|
59097
|
+
firstDeployIdentityRead?.catch(() => void 0);
|
|
59098
|
+
let firstDeployIdentity;
|
|
59099
|
+
engine.runStackIdTail = () => stackIdTailOf(currentState.stackInstanceId === void 0 && firstDeployIdentity !== void 0 ? {
|
|
59100
|
+
stackInstanceId: firstDeployIdentity.stackInstanceId,
|
|
59101
|
+
...firstDeployIdentity.stackIdFromInstance && { stackIdFromInstance: true }
|
|
59102
|
+
} : currentState, stackName);
|
|
58838
59103
|
refuseUnreadableLoadedState(engine, {
|
|
58839
59104
|
stackName,
|
|
58840
59105
|
currentState,
|
|
@@ -58879,6 +59144,10 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
58879
59144
|
});
|
|
58880
59145
|
const { parameterValues, backfillNoEchoValues } = await resolveDeployParameters(engine, template);
|
|
58881
59146
|
let maskedFingerprintsBackfilled = backfillMaskedPropertyFingerprints(currentState.resources, template, backfillNoEchoValues) > 0;
|
|
59147
|
+
if (firstDeployIdentityRead !== void 0) firstDeployIdentity = await firstDeployIdentityRead ?? {
|
|
59148
|
+
stackInstanceId: randomUUID(),
|
|
59149
|
+
stackIdFromInstance: true
|
|
59150
|
+
};
|
|
58882
59151
|
const { conditions, conditionVerdicts } = await evaluateDeployConditions(engine, {
|
|
58883
59152
|
stackName,
|
|
58884
59153
|
template,
|
|
@@ -58935,7 +59204,13 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
58935
59204
|
const resolveStackInstanceId = async () => {
|
|
58936
59205
|
if (currentStateData !== null && currentStateData !== void 0) return;
|
|
58937
59206
|
if (engine.options.dryRun || currentState.stackInstanceId !== void 0) return;
|
|
58938
|
-
|
|
59207
|
+
const id = await engine.stateBackend.stackInstanceIdForFirstWrite(stackName, engine.stackRegion, {
|
|
59208
|
+
writeAhead: true,
|
|
59209
|
+
...firstDeployIdentity && { candidate: firstDeployIdentity }
|
|
59210
|
+
});
|
|
59211
|
+
if (firstDeployIdentity !== void 0 && id !== firstDeployIdentity.stackInstanceId) throw new StateError(`The write-ahead stack instance id of stack ${displayStackName(stackName)} changed while this deploy was planning. Nothing was created; re-run the deploy.`);
|
|
59212
|
+
currentState.stackInstanceId = id;
|
|
59213
|
+
if (firstDeployIdentity?.stackIdFromInstance ?? true) currentState.stackIdFromInstance = true;
|
|
58939
59214
|
};
|
|
58940
59215
|
const startProvenanceCapture = () => {
|
|
58941
59216
|
if (engine.options.dryRun || isKnownTokenFreeState(currentStateData?.state)) return;
|
|
@@ -59090,6 +59365,7 @@ function deploy(stackName, template) {
|
|
|
59090
59365
|
this.observedCapture = this.freshObservedCapture();
|
|
59091
59366
|
this.rebaseline({});
|
|
59092
59367
|
this.runProducerRegionEvidence = void 0;
|
|
59368
|
+
this.runStackIdTail = void 0;
|
|
59093
59369
|
this.deployChanges = /* @__PURE__ */ new Map();
|
|
59094
59370
|
this.deployStateResources = {};
|
|
59095
59371
|
this.inlinePolicyWriters = /* @__PURE__ */ new Map();
|
|
@@ -59167,6 +59443,7 @@ var DeployEngine = class {
|
|
|
59167
59443
|
return this.attributeHealer.baseline;
|
|
59168
59444
|
}
|
|
59169
59445
|
runProducerRegionEvidence = void 0;
|
|
59446
|
+
runStackIdTail = void 0;
|
|
59170
59447
|
deployChanges = /* @__PURE__ */ new Map();
|
|
59171
59448
|
deployStateResources = {};
|
|
59172
59449
|
stackRecordsView = void 0;
|
|
@@ -59297,5 +59574,5 @@ var DeployEngine = class {
|
|
|
59297
59574
|
}
|
|
59298
59575
|
};
|
|
59299
59576
|
|
|
59300
|
-
export { vectorIndexesForCreate as $, isSettledInstanceState as $a, recordedNoEchoValuesOf as $c, isFinalSnapshotError as $i, hasReadableExportSet as $l, updatePartialMessage as $n, isStatefulRecreateTargetSync as $o, DEFAULT_RESOURCE_TIMEOUT_MS as $r, malformedExportNamesWarning as $s, NESTED_PENDING_PARENT_REASON as $t, isMalformedEnvKey as $u, PROTECTION_PROPERTY_BY_TYPE as A, waitForGoneAfterDelete as Aa, withoutSdkUnwiredProperties as Ac, canonicalizeRegion as Ad, withAttemptedItemsMasked as Ai, recoverMaskedOutput as Al, rollbackOrphanIds as An, parseWebACLArn as Ao, retiredNameGenerationsLeaving as Ar, refuseMalformedResourceAttributesForOrphan as As, enclosingDeadlineExpired as At, ensureAssetStorage as Au, reverseMapStreamPolicy as B, disableInstanceApiTermination as Ba, DagBuilder as Bc, hasOwnKey as Bd, secretNamedRecordNeedles as Bi, recordNoEchoAttributeValues as Bl, propertiesChangedReason as Bn, keepsSecretReferenceToken as Bo, exportAliasCollisionScrubWarning as Br, malformedResourcePropertiesWarning as Bs, refactorMarkerRefusalMessage as Bt, buildDockerImage as Bu, refusePendingMovesOut as C, TemplateNoEchoReresolver as Ca, displayLogicalId as Cc, MIGRATE_TMP_PREFIX as Cd, green as Ci, DYNAMIC_REFERENCE_TOKEN_SCAN as Cl, DeploymentEventsStore as Cn, isUnboundTemplateParameter as Co, removeProtectionTypeList as Cr, unpreviewableOrphanRecords as Cs, maskedLogger as Ct, stringifyValue as Cu, diffSecurity as D, withPrintingSecrets as Da, findHandledUnwrittenCreateOnly as Dc, decodeListingKey as Dd, noEchoComparisonForTemplate as Di, pathCrossesDottedKey as Dl, findRefactorHints as Dn, isStalePlaceholderArnAttribute as Do, nameScopeOf as Dr, malformedLocalResourcesWarning as Ds, S3_AUTO_DELETE_OBJECTS_TAG as Dt, loadPublishableAssetManifest as Du, serviceTokenBlockingReason as E, getCurrentResourceSecrets as Ea, findActionableSdkUnwired as Ec, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Ed, noEchoAttributeNamesOf as Ei, spelledKeysOf as El, formatDestructiveChange as En, cfnRefValueFromPhysicalId as Eo, nameGenerationHighWaterOf as Er, malformedLocalResourceEntriesWarning as Es, ECR_AUTO_DELETE_IMAGES_TAG as Et, createAssetRedirectResolver as Eu, STREAM_POLICY_KEY as F, UNSPECIFIED_SKIP_REASON as Fa, ecsServiceLaunchTypeSetOrChanged as Fc, processStackMessages as Fd, namingSecretsWithRecordedNoEcho as Fi, splitGetAttStringForm as Fl, differingRemedy as Fn, getAccountInfo as Fo, namesAnyDeclaredParameter as Fr, refuseMalformedResourceEntriesForImportSave as Fs, keptForRetainedRecord as Ft, parseBootstrapMarker as Fu, streamTagsMatchDeclared as G, reEnableInstanceApiTermination as Ga, maskReadbackAtCoordinates as Gc, describeFileReadFailure as Gd, maskedSecretSegment as Gi, isSingleDynamicReferenceToken as Gl, DELETED_RESOURCE_REMEDY as Gn, unsettledItemsOf as Go, exportNameNoEchoParameters as Gr, repairMalformedResourcePropertiesForReadOnly as Gs, markRefusedBeforeApplying as Gt, redactedCause as Gu, streamDeclaresTags as H, isTerminationProtectionPropagationError as Ha, canonicalCoordinates as Hc, nullPrototypeRecord as Hd, storedSecretNameNeedles as Hi, recordProvenPublicExpression as Hl, referencedLogicalIds as Hn, INTRINSIC_KEYS as Ho, secretBearingStateKeyWarning as Hr, refuseMalformedResourcePropertiesForDrift as Hs, sameMove as Ht, describeDockerCapturedOutput as Hu, STREAM_TAGS_KEY as I, deleteIndeterminateGuards as Ia, emrClusterInstancesReplaced as Ic, describeJsonParseFailure as Id, orphanRecordsPrintingBag as Ii, carriesSecretMask as Il, isPairableType as In, isImpossibleEmptyStoredAttribute as Io, reachableDivergentParameters as Ir, refuseMalformedResourceEntriesForOrphan as Is, recordRetainedForReadoption as It, readBootstrapMarkerBody as Iu, planTimeToLive as J, isWaitAbandonedError as Ja, noEchoCoordinatesOf as Jc, resolveAssemblyPath as Jd, ATOMIC_FINAL_SNAPSHOT_TYPES as Ji, S3StateBackend as Jl, withUnprovenUnsettled as Jn, withoutUnsettledProperties as Jo, noEchoParameterValueSeed as Jr, malformedOrphansRefusalMessage as Js, isAccessDeniedError as Jt, dockerSpawnEnvWithSensitive as Ju, isTtlAlreadyDisabled as K, onlySecretReferencesDiffer as Ka, maskWholeValue as Kc, displayAssemblyPath as Kd, secretSegmentsOfState as Ki, LockManager as Kl, recordAfterRollbackUpdate as Kn, unsettledPropertiesOf as Ko, exportNameSecretExposure as Kr, UNREADABLE_ORPHANS_CONTAINER_ROW as Ks, formatResourceLine as Kt, redactedDockerCause as Ku, declaredStreamPolicyMember as L, deleteLeftInPlace as La, canonicalLambdaFunctionName as Lc, parseFailureDebugDetail as Ld, secretNamePrintingBag as Li, provenPublicValue as Ll, looselyEqual as Ln, carriesFetchableDynamicReference as Lo, resourcesNamingDeclaredParameter as Lr, repairMalformedResourceEntriesForReadOnly as Ls, readRefactorMarker as Lt, validateAssetBucketName as Lu, perType as M, setResolvedResourceTimeouts as Ma, hasNoCloudControlHandlers as Mc, refuseFailedLookups as Md, completedReplayEntries as Mi, recordAttributeIdCopy as Ml, changedReferenceInDiff as Mn, outputReferenceProvenanceOf as Mo, getCurrentProducerRegions as Mr, refuseMalformedResourceEntriesForDeploy as Ms, withResourceDeadline as Mt, assertAssetBucketRegion as Mu, readProtection as N, slowCcOperationTimeoutMs as Na, blockDeviceMappingsDifferOnlyInDeleteOnTermination as Nc, AssemblyReader as Nd, journaledOrphanPrintingBag as Ni, recordPhysicalNameCopy as Nl, changedReferencePath as Nn, recordedOutputReferenceRegions as No, inheritProducerRegions as Nr, refuseMalformedResourceEntriesForDestroy as Ns, IMPLICIT_DELETE_DEPENDENCIES as Nt, isCrossRegionRedirect as Nu, recordedProtectionEvidence as O, waitForLambdaFunctionActive as Oa, findSdkUnwiredProperties as Oc, expectedOwnerParam as Od, noEchoExactEchoLeavesOf as Oi, identityKeyFor as Ol, hintSidesOf as On, lacksRecordedTableArn as Oo, retiredAfterRollback as Or, malformedResourceEntriesWarning as Os, hasCdkAutoDeleteTag as Ot, rewriteTemplateAssetReferences as Ou, DynamoDBGlobalTableProvider as P, RollbackInlinePolicyWriters as Pa, dbInstanceEngineChangeIsInPlace as Pc, StageLoadError as Pd, maskEventTextWithBoundBags as Pi, recordNestedStackParameterExpressions as Pl, changedReferenceReason as Pn, recordedReferenceRegions as Po, computeParameterTaint as Pr, refuseMalformedResourceEntriesForImport as Ps, computeImplicitDeleteEdges as Pt, getBootstrapMarkerKey as Pu, readbackVectorIndexes as Q, poisonRenderedSpellingsCollidingIn as Qa, readsNoEchoSource as Qc, resolveBucketRegion as Qd, effectiveDeletionPolicy as Qi, exportNamesCarriedFrom as Ql, undeclaredEmptyObservedKeys as Qn, isStatefulRecreateTargetForReplace as Qo, bindingSkippedOutputs as Qr, repairMalformedOrphansForReadOnly as Qs, resolvePendingCloudControlRequests as Qt, isDockerClientEnvKey as Qu, declaredStreamTagsMember as R, deleteSkipReason as Ra, lambdaFunctionNameForMask as Rc, utf8ByteLength as Rd, secretNamePrintingBags as Ri, recordMaskOnlyValue as Rl, mappingPairs as Rn, isNamelessDynamicReferenceError as Ro, WITHHELD_NAME_DISPLAY as Rr, unreadableResourceEntries as Rs, readRefactorMarkerOnce as Rt, validateContainerRepoName as Ru, pendingMovesRefusalMessage as S, customResourceResponseExpirationWarning as Sa, UNREADABLE_RESOURCES_MAP_ROW as Sc, CFN_TEMPLATE_URL_LIMIT as Sd, gray as Si, withoutPhysicalNameCopies as Sl, DeploymentEventsReader as Sn, coerceParameterTypedValue as So, segmentCleanupOptions as Sr, repairMalformedOrphanRecordsForReadOnly as Ss, deleteTableWithIndexBusyRetry as St, isSensitiveAttributeName as Su, findServiceTokenRefusals as T, isCustomResourceType as Ta, hasReadableResources as Tc, uploadCfnTemplate as Td, yellow as Ti, isUncertifiedBaselineMaskPosition as Tl, findDestructiveChanges as Tn, AWS_NO_VALUE as To, nameGenerationCarriedFrom as Tr, isReadableResourceEntry as Ts, waitForIndexesSettled as Tt, buildAssetRedirectMap as Tu, streamMemberRefusals as U, observeThenDisableInstanceApiTermination as Ua, isMarkedCoordinate as Uc, ownValue as Ud, extractDeploymentEventError as Ui, wholeStringLeavesOf as Ul, replayFailedOperations as Un, isUsableAttemptedName as Uo, secretSafeKeyDisplay as Ur, refuseMalformedResourcePropertiesForExport as Us, updateRefactorMarker as Ut, describeDockerExecFailure as Uu, streamDeclaresPolicy as V, ec2InstanceProtectionSite as Va, TemplateParser as Vc, hasPlainPrototype$1 as Vd, stateSecretNameNeedles as Vi, recordNoEchoParameterFreshValue as Vl, proposeRenames as Vn, withSharedDrainBudget as Vo, secretBearing as Vr, refuseMalformedResourcePropertiesForDestroy as Vs, refuseRefactorMarker as Vt, resolveDockerContextDirectory as Vu, streamPolicyMatchesDeclared as W, reDisableInstanceApiTermination as Wa, maskAtCoordinates as Wc, absoluteAssemblyPathEscape as Wd, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Wi, WHOLE_DYNAMIC_REFERENCE_PATTERN as Wl, replayRollback as Wn, unsettledItemsField as Wo, carriedExportAliasExposure as Wr, refuseMalformedResourcePropertiesForOrphan as Ws, getPriorAttempts as Wt, describeDockerFailure as Wu, sendTtlWaitingOutRateLimit as X, IntrinsicFunctionResolver as Xa, noEchoOutputsComparison as Xc, injectedAwsRegionValue as Xd, ccRoutedFinalSnapshotError as Xi, acceptedCreateOnlyDropsOf as Xl, equalModuloMarkedMask as Xn, shownType as Xo, collectPublishedOutputNames as Xr, refuseMalformedOrphans as Xs, withApiLimit as Xt, partitionSensitiveEnv as Xu, readTtlSpec as Y, DiffCalculator as Ya, noEchoLeavesOf as Yc, injectAwsRegion as Yd, PRE_DELETE_SNAPSHOT_TYPES as Yi, splitImportedOps as Yl, calculateResourceDrift as Yn, findReplacedReadersOfRecreateTargets as Yo, collectDeclaredOutputNames as Yr, malformedOrphansWarning as Ys, lookupEachName as Yt, finchSecretArgvRefusal as Yu, planVectorIndexUpdates as Z, isAlwaysLiveAttribute as Za, passedNoEchoParametersOf as Zc, clearBucketRegionCache as Zd, ccRoutedInstanceTakesNoSnapshot as Zi, describeRegionValueKind as Zl, equalModuloMask as Zn, MULTI_REGION_RECREATE_BLOCKED_TYPES as Zo, isExportAliasCollision as Zr, refuseMalformedOrphansForDestroy as Zs, pendingRequestCount as Zt, warnFinchArgvExposure as Zu, listNestedTemplateRows as _, ccBrokenReason as _a, repairMalformedResourcesForReadOnly as _c, resolveUseCdkBootstrapAssets as _d, pointInTimeTemplateRefusal as _i, errorCauseChain as _l, loadJournaledOrphans as _n, s3BucketArn as _o, findNestedStackTypeChanges as _r, malformedOrphanRowsKeptWarning as _s, resolveDynamoDbDeleteBudgetClock as _t, isAccessDenied$1 as _u, scanActiveConsumers as a, stringifyIfAssigned as aa, refuseMalformedOutputs as ac, getDockerImageBySourceHash as ad, withStackRecords as ai, snapshotPassProvenance as al, recordDisplacedSkips as an, assertSendableRoleArn as ao, acquireIdempotencyToken as ar, toFiniteNumber as as, planContributorInsightsOp as at, shouldRetainResource as au, hasPendingMovesOut as b, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ba, withheldAccountClause as bc, ssmResolvedValueType as bd, bold as bi, scrubResourceRecord as bl, makeSiblingClaimReader as bn, s3BucketRegionalDomainName as bo, redactedDeleteAddressFields as br, refuseMalformedOrphanRecordsForDestroy as bs, INDEX_SETTLE_POLL_INTERVAL_MS as bt, withStackInstanceIdWithheld as bu, inheritedProvenanceForChildDiff as c, planTagDiff as ca, STATE_REGION_DIVERGED as cc, getDefaultStateBucketName as cd, holdsSupersededResources as ci, hasMaskableValues as cl, withNestedRevertRun as cn, sendableAssumeRoleCommand as co, demoteSupersededOrphans as cr, describeTypeWithThrottleRetry as cs, reverseMapIndexContributorInsights as ct, hasUnverifiableParameterRefusal as cu, conditionInputsFrom as d, tagMapAsList as da, malformedResourcesWarning as dc, resolveApp as dd, supersededHeldByOtherTypeWarning as di, printingCorpusOf as dl, withNestedStackContext as dn, callerEnvCredentials as do, planFailedOps as dr, passedParameterClassesOf as ds, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as dt, timePhase as du, refusesFinalSnapshot as ea, malformedExportSourceWarning as ec, formatDockerLoginError as ed, DEFAULT_RESOURCE_WARN_AFTER_MS as ei, valueAtCoordinate as el, displacedOpClause as en, resolveDynamicReferences as eo, updatePartialReason as er, renderStatefulReason as es, vectorIndexesSettled as et, importableOutputKeys as eu, parentSuppliedValues as f, tagPlanWarning as fa, malformedStateRefusalMessage as fc, resolveAutoAssetStorage as fd, supersededHolderOf as fi, recordLogOnlyParameterValue as fl, deleteJournaledOrphans as fn, envCredentialsAreAssumedRole as fo, recheckFailedPlan as fr, declaresNoEcho as fs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as ft, rebuildClientForBucketRegion as fu, isAbsoluteAssetPath as g, ProviderRegistry as ga, refuseMalformedState as gc, resolveStateBucketWithDefaultAndSource as gd, declaresInstancePointInTime as gi, createSecretMasker as gl, journaledOrphanLines as gn, regionLessSecretName as go, withPreviousPolicies as gr, malformedOrphanRecordsWarning as gs, deleteBudgetKey as gt, crossPrefixDeniedWarning as gu, findNestedTemplateTreeDefect as h, CC_BROKEN_REASON as ha, refuseMalformedResourcesForExport as hc, resolveStateBucketWithDefault as hd, POINT_IN_TIME_NO_SOURCE_REASON as hi, unionOfSecretBags as hl, isHandledOrphan as hn, producerRegionsFromState as ho, resolveReplacementOldType as hr, malformedOrphanRecordsRefusalMessage as hs, compensateRemovedDeletionProtection as ht, applyCrossPrefixScan as hu, mergeNoChangeOutputs as i, definedAttributes as ia, refuseMalformedNestedChildOutputs as ic, AssetManifestLoader as id, getStackRecords as ii, recordReferenceProvenanceEntry as il, nestedChildStackName as in, assertFlagRoleArn as io, withCreateTokenLedger as ir, toCfnInteger as is, indexDeclaresContributorInsights as it, orphansCarriedFrom as iu, isProtectionValueActive as j, resolvedResourceTimeoutMs as ja, NO_CC_HANDLERS_REASON as jc, derivePartitionAndUrlSuffix as jd, createReadOnlyAttributeHealerFactory as ji, physicalNameCopiesOf as jl, withMovedTo as jn, keepHeldTokenProvenance as jo, withNameGenerationReached as jr, refuseMalformedResourceEntries as js, enclosingDeadlineRemainingMs as jt, buildDenyExternalAccessPolicy as ju, recordedProtectionNote as k, CloudControlProvider as ka, unwrittenCreateOnlyReplacement as kc, PARTITION_TABLE as kd, noEchoParameterNamesOf as ki, inheritNestedStackParameterAssociations as kl, movedToHint as kn, refStateLookupFromResource as ko, retiredNameGenerationsAfter as kr, malformedScrubResourceEntriesRefusalMessage as ks, isTruthyCfnBoolean as kt, AssetModeResolver as ku, makeCanonicalizePropertiesFn as l, readTagList as la, refuseDivergentRecordRegionForDestroy as lc, getLegacyStateBucketName as ld, isSupersededResourceRecord as li, literalSplitDelimitersOf as ll, collectNestedChildUnaddressed as ln, AWS_CREDENTIAL_ENV_KEYS as lo, isJournaledOrphan as lr, withRetry as ls, reverseMapTableContributorInsights as lt, PhaseClock as lu, childTemplateLoader as m, markDeleteStarted as ma, refuseMalformedResourcesForDestroy as mc, resolveSkipPrefix as md, withoutSuperseded as mi, shareLogOnlyValues as ml, dropFailedHint as mn, classifyReplaySecretRegion as mo, replacementNeverSwapped as mr, isReadableOrphanRecord as ms, beginDeleteWait as mt, CrossPrefixScanCache as mu, isSecretBearingReferenceString as n, createPreDeleteFinalSnapshot as na, malformedOutputsRefusalMessage as nc, runDockerForeground as nd, awaitInFlightSibling as ni, markSameGenerationBag as nl, dropSettledNestedJournals as nn, refuseUnreadableCdkCrossAccountRefs as no, ledgerForStack as nr, coerceWarmThroughput as ns, CONTRIBUTOR_INSIGHTS_KEY as nt, isReadableBag as nu, inRunStackKey as o, DBPROXY_TAGS_WHAT as oa, refuseMalformedOutputsForDestroy as oc, Synthesizer as od, replacedDeleteFailureVerdict as oi, carryLogOnlyValues as ol, revertNestedChildFromJournal as on, explicitRoleArnOrThrow as oo, planRollback as or, prefetchCreateOnlyPropertyPaths as os, planIndexContributorInsightsOps as ot, stackInstanceIdCarriedFrom as ou, readRecordedConditionVerdicts as p, isRefusedByName as pa, refuseMalformedResourcesForDeploy as pc, resolveCaptureObservedState as pd, supersededResourcesOf as pi, recordLogOnlyValue as pl, dropFailedCommands as pn, classifyRecordedSecretRegion as po, recordUnderIdIsNotOwn as pr, deployRefusesOrphanRowsReason as ps, DYNAMODB_DELETE_POLL_COST_MS as pt, CrossPrefixReadError as pu, isTtlRateLimited as q, unchangedBehindSecretReference as qa, maskedLeafCoordinatesOf as qc, renderAssemblyPathEscape as qd, withSecretPhysicalIdsMaskedInState as qi, isLockInfoExpired as ql, settleUnsettledPrevious as qn, withUnsettledProperties as qo, isWholeDynamicReferenceValue as qr, hasReadableOrphans as qs, chunks as qt, redactDockerArgvValues as qu, keptWholeReasonText as r, buildFinalSnapshotIdentifier as ra, malformedOutputsWarning as rc, runDockerStreaming as rd, destroyStackRecordsView as ri, redactForState as rl, getNestedRevertRun as rn, applyRoleArnIfSet as ro, reserveStackCreateToken as rr, isWarmThroughputDecrease as rs, contributorInsightsRefusals as rt, orphansAfterRollback as ru, crossStackOutputProvenanceSource as s, DBPROXY_TAG_OPTIONS as sa, repairMalformedOutputsForReadOnly as sc, synthesisStatusMessage as sd, deleteSupersededEntry as si, createUnionSecretMasker as sl, revertedNestedRowIds as sn, isIamRoleArn as so, seedsDeleteFirstGuard as sr, templateResourceTypes as ss, readContributorInsightsSpec as st, hasReasonlessBaselineRefusal as su, DeployEngine as t, unsupportedFinalSnapshotError as ta, malformedLocalOutputsWarning as tc, getDockerCmd as td, maskingRetryLogger as ti, liveMatchesUnresolvedTokenFrame as tl, displacedPhysicalIdShown as tn, producerLookupOver as to, earliestDefined as tr, WARM_THROUGHPUT_MEMBERS as ts, vectorIndexesShapeDetail as tt, importableOutputs as tu, conditionFingerprint as u, refuseMalformedDesiredTags as ua, malformedRenderedContainersWarning as uc, loadCdkJson as ud, supersededAfterRollback as ui, logOnlyValueCount as ul, getCurrentNestedStackContext as un, applyCallerIdentityCredentials as uo, isReplacementOrphan as ur, parameterInputsFor as us, stripIndexContributorInsights as ut, renderPhaseTimings as uu, renderNestedTemplateTreeDefect as v, isCustomResource as va, JSON_LISTING_HOLE_VALUE as vc, stateBucketExistenceConfirmed as vd, refuseRestoreFromItself as vi, maskSecretsInError as vl, sameJournaledOrphans as vn, s3BucketDomainName as vo, REDACTED_DELETE_ADDRESS_SKIP_REASON as vr, previewableOrphanRecords as vs, resolveDynamoDbDeleteBudgetMs as vt, isNotImplemented as vu, deferredServiceTokenWarning as w, readsNoEchoDeleteValues as wa, hasReadableOutputs as wc, findLargeInlineResources as wd, red as wi, dynamicReferenceTokens as wl, constructPathOf as wn, parameterTypeMayLoseSecretIdentity as wo, orphanNeedsIdentity as wr, unreadableOrphanRecords as ws, relayedIndexBusyDelete as wt, WorkGraph as wu, pendingMovesOutOf as x, applyCustomResourceResponseExpiration as xa, STATE_RESOURCES_MALFORMED as xc, CFN_TEMPLATE_BODY_LIMIT as xd, cyan as xi, withPhysicalNameCopies as xl, planOrphanAdoption as xn, s3BucketWebsiteUrl as xo, redactedDeleteAddressSkip as xr, refuseMalformedOrphansForOrphan as xs, TABLE_INDEX_NOUN as xt, AssetPublisher as xu, templateIdentity as y, wouldReturnToSdkProvider as ya, accountArgs as yc, warnDeprecatedNoPrefixCliFlag as yd, parseZonedTimestamp as yi, maskSecretsInText as yl, makeForeignHolderScan as yn, s3BucketDualStackDomainName as yo, isRedactedRecordedValue as yr, refuseMalformedOrphanRecords as ys, DELETE_INDEX_WAIT_PROCEED_NOTE as yt, stackInstanceIdOf as yu, planStreamMemberOps as z, withIndeterminateGuard as za, sameLambdaFunctionAddress as zc, defineOwnKey as zd, secretNamedAttributeNamesOf as zi, recordMaskOnlyValuesIn as zl, parseMappingFile as zn, carriesDynamicReference as zo, displayTextOrWithheld as zr, malformedDriftResourcePropertiesWarning as zs, refactorMarkerMovesOf as zt, BOOTSTRAP_MARKER_PREFIX as zu };
|
|
59301
|
-
//# sourceMappingURL=deploy-engine-
|
|
59577
|
+
export { vectorIndexesForCreate as $, poisonRenderedSpellingsCollidingIn as $a, passedNoEchoParametersOf as $c, setChildProcessAwsEnv as $d, isFinalSnapshotError as $i, describeRegionValueKind as $l, updatePartialMessage as $n, MULTI_REGION_RECREATE_BLOCKED_TYPES as $o, DEFAULT_RESOURCE_TIMEOUT_MS as $r, refuseMalformedOrphansForDestroy as $s, NESTED_PENDING_PARENT_REASON as $t, warnFinchArgvExposure as $u, PROTECTION_PROPERTY_BY_TYPE as A, waitForGoneAfterDelete as Aa, findSdkUnwiredProperties as Ac, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Ad, withAttemptedItemsMasked as Ai, identityKeyFor as Al, rollbackOrphanIds as An, lacksRecordedTableArn as Ao, retiredNameGenerationsLeaving as Ar, malformedResourceEntriesWarning as As, enclosingDeadlineExpired as At, rewriteTemplateAssetReferences as Au, reverseMapStreamPolicy as B, disableInstanceApiTermination as Ba, lambdaFunctionNameForMask as Bc, describeJsonParseFailure as Bd, secretNamedRecordNeedles as Bi, recordMaskOnlyValue as Bl, propertiesChangedReason as Bn, isNamelessDynamicReferenceError as Bo, exportAliasCollisionScrubWarning as Br, unreadableResourceEntries as Bs, refactorMarkerRefusalMessage as Bt, validateContainerRepoName as Bu, refusePendingMovesOut as C, TemplateNoEchoReresolver as Ca, STATE_RESOURCES_MALFORMED as Cc, warnDeprecatedNoPrefixCliFlag as Cd, green as Ci, withPhysicalNameCopies as Cl, DeploymentEventsStore as Cn, s3BucketWebsiteUrl as Co, removeProtectionTypeList as Cr, refuseMalformedOrphansForOrphan as Cs, maskedLogger as Ct, AssetPublisher as Cu, diffSecurity as D, withPrintingSecrets as Da, hasReadableResources as Dc, MIGRATE_TMP_PREFIX as Dd, noEchoComparisonForTemplate as Di, isUncertifiedBaselineMaskPosition as Dl, findRefactorHints as Dn, AWS_NO_VALUE as Do, nameScopeOf as Dr, isReadableResourceEntry as Ds, S3_AUTO_DELETE_OBJECTS_TAG as Dt, buildAssetRedirectMap as Du, serviceTokenBlockingReason as E, getCurrentResourceSecrets as Ea, hasReadableOutputs as Ec, CFN_TEMPLATE_URL_LIMIT as Ed, noEchoAttributeNamesOf as Ei, dynamicReferenceTokens as El, formatDestructiveChange as En, parameterTypeMayLoseSecretIdentity as Eo, nameGenerationHighWaterOf as Er, unreadableOrphanRecords as Es, ECR_AUTO_DELETE_IMAGES_TAG as Et, WorkGraph as Eu, STREAM_POLICY_KEY as F, UNSPECIFIED_SKIP_REASON as Fa, blockDeviceMappingsDifferOnlyInDeleteOnTermination as Fc, derivePartitionAndUrlSuffix as Fd, namingSecretsWithRecordedNoEcho as Fi, recordPhysicalNameCopy as Fl, differingRemedy as Fn, recordedOutputReferenceRegions as Fo, namesAnyDeclaredParameter as Fr, refuseMalformedResourceEntriesForDestroy as Fs, keptForRetainedRecord as Ft, isCrossRegionRedirect as Fu, streamTagsMatchDeclared as G, reEnableInstanceApiTermination as Ga, isMarkedCoordinate as Gc, hasPlainPrototype$1 as Gd, maskedSecretSegment as Gi, wholeStringLeavesOf as Gl, DELETED_RESOURCE_REMEDY as Gn, isUsableAttemptedName as Go, exportNameNoEchoParameters as Gr, refuseMalformedResourcePropertiesForExport as Gs, markRefusedBeforeApplying as Gt, describeDockerExecFailure as Gu, streamDeclaresTags as H, isTerminationProtectionPropagationError as Ha, DagBuilder as Hc, utf8ByteLength as Hd, storedSecretNameNeedles as Hi, recordNoEchoAttributeValues as Hl, referencedLogicalIds as Hn, keepsSecretReferenceToken as Ho, secretBearingStateKeyWarning as Hr, malformedResourcePropertiesWarning as Hs, sameMove as Ht, buildDockerImage as Hu, STREAM_TAGS_KEY as I, deleteIndeterminateGuards as Ia, dbInstanceEngineChangeIsInPlace as Ic, refuseFailedLookups as Id, orphanRecordsPrintingBag as Ii, recordNestedStackParameterExpressions as Il, isPairableType as In, recordedReferenceRegions as Io, reachableDivergentParameters as Ir, refuseMalformedResourceEntriesForImport as Is, recordRetainedForReadoption as It, getBootstrapMarkerKey as Iu, planTimeToLive as J, isWaitAbandonedError as Ja, maskWholeValue as Jc, absoluteAssemblyPathEscape as Jd, ATOMIC_FINAL_SNAPSHOT_TYPES as Ji, LockManager as Jl, withUnprovenUnsettled as Jn, unsettledPropertiesOf as Jo, noEchoParameterValueSeed as Jr, UNREADABLE_ORPHANS_CONTAINER_ROW as Js, isAccessDeniedError as Jt, redactedDockerCause as Ju, isTtlAlreadyDisabled as K, onlySecretReferencesDiffer as Ka, maskAtCoordinates as Kc, nullPrototypeRecord as Kd, secretSegmentsOfState as Ki, WHOLE_DYNAMIC_REFERENCE_PATTERN as Kl, recordAfterRollbackUpdate as Kn, unsettledItemsField as Ko, exportNameSecretExposure as Kr, refuseMalformedResourcePropertiesForOrphan as Ks, formatResourceLine as Kt, describeDockerFailure as Ku, declaredStreamPolicyMember as L, deleteLeftInPlace as La, ecsServiceLaunchTypeSetOrChanged as Lc, AssemblyReader as Ld, secretNamePrintingBag as Li, splitGetAttStringForm as Ll, looselyEqual as Ln, getAccountInfo as Lo, resourcesNamingDeclaredParameter as Lr, refuseMalformedResourceEntriesForImportSave as Ls, readRefactorMarker as Lt, parseBootstrapMarker as Lu, perType as M, setResolvedResourceTimeouts as Ma, withoutSdkUnwiredProperties as Mc, expectedOwnerParam as Md, completedReplayEntries as Mi, recoverMaskedOutput as Ml, changedReferenceInDiff as Mn, parseWebACLArn as Mo, getCurrentProducerRegions as Mr, refuseMalformedResourceAttributesForOrphan as Ms, withResourceDeadline as Mt, ensureAssetStorage as Mu, readProtection as N, slowCcOperationTimeoutMs as Na, NO_CC_HANDLERS_REASON as Nc, PARTITION_TABLE as Nd, journaledOrphanPrintingBag as Ni, physicalNameCopiesOf as Nl, changedReferencePath as Nn, keepHeldTokenProvenance as No, inheritProducerRegions as Nr, refuseMalformedResourceEntries as Ns, IMPLICIT_DELETE_DEPENDENCIES as Nt, buildDenyExternalAccessPolicy as Nu, recordedProtectionEvidence as O, waitForLambdaFunctionActive as Oa, findActionableSdkUnwired as Oc, findLargeInlineResources as Od, noEchoExactEchoLeavesOf as Oi, spelledKeysOf as Ol, hintSidesOf as On, cfnRefValueFromPhysicalId as Oo, retiredAfterRollback as Or, malformedLocalResourceEntriesWarning as Os, hasCdkAutoDeleteTag as Ot, createAssetRedirectResolver as Ou, DynamoDBGlobalTableProvider as P, RollbackInlinePolicyWriters as Pa, hasNoCloudControlHandlers as Pc, canonicalizeRegion as Pd, maskEventTextWithBoundBags as Pi, recordAttributeIdCopy as Pl, changedReferenceReason as Pn, outputReferenceProvenanceOf as Po, computeParameterTaint as Pr, refuseMalformedResourceEntriesForDeploy as Ps, computeImplicitDeleteEdges as Pt, assertAssetBucketRegion as Pu, readbackVectorIndexes as Q, isAlwaysLiveAttribute as Qa, noEchoOutputsComparison as Qc, resolveAssemblyPath as Qd, effectiveDeletionPolicy as Qi, acceptedCreateOnlyDropsOf as Ql, undeclaredEmptyObservedKeys as Qn, shownType as Qo, bindingSkippedOutputs as Qr, refuseMalformedOrphans as Qs, resolvePendingCloudControlRequests as Qt, partitionSensitiveEnv as Qu, declaredStreamTagsMember as R, deleteSkipReason as Ra, emrClusterInstancesReplaced as Rc, StageLoadError as Rd, secretNamePrintingBags as Ri, carriesSecretMask as Rl, mappingPairs as Rn, isImpossibleEmptyStoredAttribute as Ro, WITHHELD_NAME_DISPLAY as Rr, refuseMalformedResourceEntriesForOrphan as Rs, readRefactorMarkerOnce as Rt, readBootstrapMarkerBody as Ru, pendingMovesRefusalMessage as S, customResourceResponseExpirationWarning as Sa, withheldAccountClause as Sc, stateBucketExistenceConfirmed as Sd, gray as Si, scrubResourceRecord as Sl, DeploymentEventsReader as Sn, s3BucketRegionalDomainName as So, segmentCleanupOptions as Sr, refuseMalformedOrphanRecordsForDestroy as Ss, deleteTableWithIndexBusyRetry as St, withStackInstanceIdWithheld as Su, findServiceTokenRefusals as T, isCustomResourceType as Ta, displayLogicalId as Tc, CFN_TEMPLATE_BODY_LIMIT as Td, yellow as Ti, DYNAMIC_REFERENCE_TOKEN_SCAN as Tl, findDestructiveChanges as Tn, isUnboundTemplateParameter as To, nameGenerationCarriedFrom as Tr, unpreviewableOrphanRecords as Ts, waitForIndexesSettled as Tt, stringifyValue as Tu, streamMemberRefusals as U, observeThenDisableInstanceApiTermination as Ua, TemplateParser as Uc, defineOwnKey as Ud, extractDeploymentEventError as Ui, recordNoEchoParameterFreshValue as Ul, replayFailedOperations as Un, withSharedDrainBudget as Uo, secretSafeKeyDisplay as Ur, refuseMalformedResourcePropertiesForDestroy as Us, updateRefactorMarker as Ut, resolveDockerContextDirectory as Uu, streamDeclaresPolicy as V, ec2InstanceProtectionSite as Va, sameLambdaFunctionAddress as Vc, parseFailureDebugDetail as Vd, stateSecretNameNeedles as Vi, recordMaskOnlyValuesIn as Vl, proposeRenames as Vn, carriesDynamicReference as Vo, secretBearing as Vr, malformedDriftResourcePropertiesWarning as Vs, refuseRefactorMarker as Vt, BOOTSTRAP_MARKER_PREFIX as Vu, streamPolicyMatchesDeclared as W, reDisableInstanceApiTermination as Wa, canonicalCoordinates as Wc, hasOwnKey as Wd, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Wi, recordProvenPublicExpression as Wl, replayRollback as Wn, INTRINSIC_KEYS as Wo, carriedExportAliasExposure as Wr, refuseMalformedResourcePropertiesForDrift as Ws, getPriorAttempts as Wt, describeDockerCapturedOutput as Wu, sendTtlWaitingOutRateLimit as X, IntrinsicFunctionResolver as Xa, noEchoCoordinatesOf as Xc, displayAssemblyPath as Xd, ccRoutedFinalSnapshotError as Xi, S3StateBackend as Xl, equalModuloMarkedMask as Xn, withoutUnsettledProperties as Xo, collectPublishedOutputNames as Xr, malformedOrphansRefusalMessage as Xs, withApiLimit as Xt, dockerSpawnEnvWithSensitive as Xu, readTtlSpec as Y, DiffCalculator as Ya, maskedLeafCoordinatesOf as Yc, describeFileReadFailure as Yd, PRE_DELETE_SNAPSHOT_TYPES as Yi, isLockInfoExpired as Yl, calculateResourceDrift as Yn, withUnsettledProperties as Yo, collectDeclaredOutputNames as Yr, hasReadableOrphans as Ys, lookupEachName as Yt, redactDockerArgvValues as Yu, planVectorIndexUpdates as Z, isSelectOutOfBounds as Za, noEchoLeavesOf as Zc, renderAssemblyPathEscape as Zd, ccRoutedInstanceTakesNoSnapshot as Zi, splitImportedOps as Zl, equalModuloMask as Zn, findReplacedReadersOfRecreateTargets as Zo, isExportAliasCollision as Zr, malformedOrphansWarning as Zs, pendingRequestCount as Zt, finchSecretArgvRefusal as Zu, listNestedTemplateRows as _, ccBrokenReason as _a, refuseMalformedResourcesForExport as _c, resolveSkipPrefix as _d, pointInTimeTemplateRefusal as _i, unionOfSecretBags as _l, loadJournaledOrphans as _n, producerRegionsFromState as _o, findNestedStackTypeChanges as _r, malformedOrphanRecordsRefusalMessage as _s, resolveDynamoDbDeleteBudgetClock as _t, applyCrossPrefixScan as _u, scanActiveConsumers as a, stringifyIfAssigned as aa, malformedOutputsWarning as ac, runDockerStreaming as ad, withStackRecords as ai, redactForState as al, recordDisplacedSkips as an, applyRoleArnIfSet as ao, acquireIdempotencyToken as ar, isWarmThroughputDecrease as as, planContributorInsightsOp as at, orphansAfterRollback as au, hasPendingMovesOut as b, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ba, JSON_LISTING_HOLE_VALUE as bc, resolveStateBucketWithSource as bd, bold as bi, maskSecretsInError as bl, makeSiblingClaimReader as bn, s3BucketDomainName as bo, redactedDeleteAddressFields as br, previewableOrphanRecords as bs, INDEX_SETTLE_POLL_INTERVAL_MS as bt, isNotImplemented as bu, inheritedProvenanceForChildDiff as c, planTagDiff as ca, refuseMalformedOutputsForDestroy as cc, getDockerImageBySourceHash as cd, holdsSupersededResources as ci, carryLogOnlyValues as cl, withNestedRevertRun as cn, explicitRoleArnOrThrow as co, demoteSupersededOrphans as cr, prefetchCreateOnlyPropertyPaths as cs, reverseMapIndexContributorInsights as ct, stackInstanceIdCarriedFrom as cu, conditionInputsFrom as d, tagMapAsList as da, refuseDivergentRecordRegionForDestroy as dc, getDefaultStateBucketName as dd, supersededHeldByOtherTypeWarning as di, literalSplitDelimitersOf as dl, withNestedStackContext as dn, AWS_CREDENTIAL_ENV_KEYS as do, planFailedOps as dr, withRetry as ds, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as dt, PhaseClock as du, refusesFinalSnapshot as ea, repairMalformedOrphansForReadOnly as ec, isDockerClientEnvKey as ed, injectAwsRegion as ef, DEFAULT_RESOURCE_WARN_AFTER_MS as ei, readsNoEchoSource as el, displacedOpClause as en, stackIdTailOf as eo, updatePartialReason as er, isStatefulRecreateTargetForReplace as es, vectorIndexesSettled as et, exportNamesCarriedFrom as eu, parentSuppliedValues as f, tagPlanWarning as fa, malformedRenderedContainersWarning as fc, getLegacyStateBucketName as fd, supersededHolderOf as fi, logOnlyValueCount as fl, deleteJournaledOrphans as fn, applyCallerIdentityCredentials as fo, recheckFailedPlan as fr, parameterInputsFor as fs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as ft, renderPhaseTimings as fu, isAbsoluteAssetPath as g, ProviderRegistry as ga, refuseMalformedResourcesForDestroy as gc, resolveCaptureObservedState as gd, declaresInstancePointInTime as gi, shareLogOnlyValues as gl, journaledOrphanLines as gn, classifyReplaySecretRegion as go, withPreviousPolicies as gr, isReadableOrphanRecord as gs, deleteBudgetKey as gt, CrossPrefixScanCache as gu, findNestedTemplateTreeDefect as h, CC_BROKEN_REASON as ha, refuseMalformedResourcesForDeploy as hc, resolveAutoAssetStorage as hd, POINT_IN_TIME_NO_SOURCE_REASON as hi, recordLogOnlyValue as hl, isHandledOrphan as hn, classifyRecordedSecretRegion as ho, resolveReplacementOldType as hr, deployRefusesOrphanRowsReason as hs, compensateRemovedDeletionProtection as ht, CrossPrefixReadError as hu, mergeNoChangeOutputs as i, definedAttributes as ia, malformedOutputsRefusalMessage as ic, runDockerForeground as id, getStackRecords as ii, markSameGenerationBag as il, nestedChildStackName as in, refuseUnreadableCdkCrossAccountRefs as io, withCreateTokenLedger as ir, coerceWarmThroughput as is, indexDeclaresContributorInsights as it, isReadableBag as iu, isProtectionValueActive as j, resolvedResourceTimeoutMs as ja, unwrittenCreateOnlyReplacement as jc, decodeListingKey as jd, createReadOnlyAttributeHealerFactory as ji, inheritNestedStackParameterAssociations as jl, withMovedTo as jn, refStateLookupFromResource as jo, withNameGenerationReached as jr, malformedScrubResourceEntriesRefusalMessage as js, enclosingDeadlineRemainingMs as jt, AssetModeResolver as ju, recordedProtectionNote as k, CloudControlProvider as ka, findHandledUnwrittenCreateOnly as kc, uploadCfnTemplate as kd, noEchoParameterNamesOf as ki, pathCrossesDottedKey as kl, movedToHint as kn, isStalePlaceholderArnAttribute as ko, retiredNameGenerationsAfter as kr, malformedLocalResourcesWarning as ks, isTruthyCfnBoolean as kt, loadPublishableAssetManifest as ku, makeCanonicalizePropertiesFn as l, readTagList as la, repairMalformedOutputsForReadOnly as lc, Synthesizer as ld, isSupersededResourceRecord as li, createUnionSecretMasker as ll, collectNestedChildUnaddressed as ln, isIamRoleArn as lo, isJournaledOrphan as lr, templateResourceTypes as ls, reverseMapTableContributorInsights as lt, hasReasonlessBaselineRefusal as lu, childTemplateLoader as m, markDeleteStarted as ma, malformedStateRefusalMessage as mc, resolveApp as md, withoutSuperseded as mi, recordLogOnlyParameterValue as ml, dropFailedHint as mn, envCredentialsAreAssumedRole as mo, replacementNeverSwapped as mr, declaresNoEcho as ms, beginDeleteWait as mt, rebuildClientForBucketRegion as mu, isSecretBearingReferenceString as n, createPreDeleteFinalSnapshot as na, malformedExportSourceWarning as nc, formatDockerLoginError as nd, clearBucketRegionCache as nf, awaitInFlightSibling as ni, valueAtCoordinate as nl, dropSettledNestedJournals as nn, resolveDynamicReferences as no, ledgerForStack as nr, renderStatefulReason as ns, CONTRIBUTOR_INSIGHTS_KEY as nt, importableOutputKeys as nu, inRunStackKey as o, DBPROXY_TAGS_WHAT as oa, refuseMalformedNestedChildOutputs as oc, abortInFlightMultipartUploads as od, replacedDeleteFailureVerdict as oi, recordReferenceProvenanceEntry as ol, revertNestedChildFromJournal as on, assertFlagRoleArn as oo, planRollback as or, toCfnInteger as os, planIndexContributorInsightsOps as ot, orphansCarriedFrom as ou, readRecordedConditionVerdicts as p, isRefusedByName as pa, malformedResourcesWarning as pc, loadCdkJson as pd, supersededResourcesOf as pi, printingCorpusOf as pl, dropFailedCommands as pn, callerEnvCredentials as po, recordUnderIdIsNotOwn as pr, passedParameterClassesOf as ps, DYNAMODB_DELETE_POLL_COST_MS as pt, timePhase as pu, isTtlRateLimited as q, unchangedBehindSecretReference as qa, maskReadbackAtCoordinates as qc, ownValue as qd, withSecretPhysicalIdsMaskedInState as qi, isSingleDynamicReferenceToken as ql, settleUnsettledPrevious as qn, unsettledItemsOf as qo, isWholeDynamicReferenceValue as qr, repairMalformedResourcePropertiesForReadOnly as qs, chunks as qt, redactedCause as qu, keptWholeReasonText as r, buildFinalSnapshotIdentifier as ra, malformedLocalOutputsWarning as rc, getDockerCmd as rd, resolveBucketRegion as rf, destroyStackRecordsView as ri, liveMatchesUnresolvedTokenFrame as rl, getNestedRevertRun as rn, producerLookupOver as ro, reserveStackCreateToken as rr, WARM_THROUGHPUT_MEMBERS as rs, contributorInsightsRefusals as rt, importableOutputs as ru, crossStackOutputProvenanceSource as s, DBPROXY_TAG_OPTIONS as sa, refuseMalformedOutputs as sc, AssetManifestLoader as sd, deleteSupersededEntry as si, snapshotPassProvenance as sl, revertedNestedRowIds as sn, assertSendableRoleArn as so, seedsDeleteFirstGuard as sr, toFiniteNumber as ss, readContributorInsightsSpec as st, shouldRetainResource as su, DeployEngine as t, unsupportedFinalSnapshotError as ta, malformedExportNamesWarning as tc, isMalformedEnvKey as td, injectedAwsRegionValue as tf, maskingRetryLogger as ti, recordedNoEchoValuesOf as tl, displacedPhysicalIdShown as tn, isSettledInstanceState as to, earliestDefined as tr, isStatefulRecreateTargetSync as ts, vectorIndexesShapeDetail as tt, hasReadableExportSet as tu, conditionFingerprint as u, refuseMalformedDesiredTags as ua, STATE_REGION_DIVERGED as uc, synthesisStatusMessage as ud, supersededAfterRollback as ui, hasMaskableValues as ul, getCurrentNestedStackContext as un, sendableAssumeRoleCommand as uo, isReplacementOrphan as ur, describeTypeWithThrottleRetry as us, stripIndexContributorInsights as ut, hasUnverifiableParameterRefusal as uu, renderNestedTemplateTreeDefect as v, isCustomResource as va, refuseMalformedState as vc, resolveStateBucketWithDefault as vd, refuseRestoreFromItself as vi, createSecretMasker as vl, sameJournaledOrphans as vn, regionLessSecretName as vo, REDACTED_DELETE_ADDRESS_SKIP_REASON as vr, malformedOrphanRecordsWarning as vs, resolveDynamoDbDeleteBudgetMs as vt, crossPrefixDeniedWarning as vu, deferredServiceTokenWarning as w, readsNoEchoDeleteValues as wa, UNREADABLE_RESOURCES_MAP_ROW as wc, ssmResolvedValueType as wd, red as wi, withoutPhysicalNameCopies as wl, constructPathOf as wn, coerceParameterTypedValue as wo, orphanNeedsIdentity as wr, repairMalformedOrphanRecordsForReadOnly as ws, relayedIndexBusyDelete as wt, isSensitiveAttributeName as wu, pendingMovesOutOf as x, applyCustomResourceResponseExpiration as xa, accountArgs as xc, resolveUseCdkBootstrapAssets as xd, cyan as xi, maskSecretsInText as xl, planOrphanAdoption as xn, s3BucketDualStackDomainName as xo, redactedDeleteAddressSkip as xr, refuseMalformedOrphanRecords as xs, TABLE_INDEX_NOUN as xt, stackInstanceIdOf as xu, templateIdentity as y, wouldReturnToSdkProvider as ya, repairMalformedResourcesForReadOnly as yc, resolveStateBucketWithDefaultAndSource as yd, parseZonedTimestamp as yi, errorCauseChain as yl, makeForeignHolderScan as yn, s3BucketArn as yo, isRedactedRecordedValue as yr, malformedOrphanRowsKeptWarning as ys, DELETE_INDEX_WAIT_PROCEED_NOTE as yt, isAccessDenied$1 as yu, planStreamMemberOps as z, withIndeterminateGuard as za, canonicalLambdaFunctionName as zc, processStackMessages as zd, secretNamedAttributeNamesOf as zi, provenPublicValue as zl, parseMappingFile as zn, carriesFetchableDynamicReference as zo, displayTextOrWithheld as zr, repairMalformedResourceEntriesForReadOnly as zs, refactorMarkerMovesOf as zt, validateAssetBucketName as zu };
|
|
59578
|
+
//# sourceMappingURL=deploy-engine-2XoVAu4C.js.map
|