@go-to-k/cdkd 0.298.5 → 0.298.7
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/{asg-provider-Cqpxk8Pl.js → asg-provider-zprmW9pl.js} +2 -2
- package/dist/{asg-provider-Cqpxk8Pl.js.map → asg-provider-zprmW9pl.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-Cqmlu_JG.js → deploy-engine-CO0EOAem.js} +169 -75
- package/dist/deploy-engine-CO0EOAem.js.map +1 -0
- package/dist/iam-policy-targets-CwKiK9nS.js.map +1 -1
- package/dist/{iam-role-provider-j_AyoKr6.js → iam-role-provider-B0v-Lm_f.js} +20 -20
- package/dist/iam-role-provider-B0v-Lm_f.js.map +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{neptune-provider-CpEImWxf.js → neptune-provider-Bq25rRgt.js} +2 -2
- package/dist/{neptune-provider-CpEImWxf.js.map → neptune-provider-Bq25rRgt.js.map} +1 -1
- package/dist/{program-CV-IVMYw.js → program-BgDt3OZh.js} +386 -92
- package/dist/program-BgDt3OZh.js.map +1 -0
- package/dist/{provider-classes-BvHGcxn6.js → provider-classes-BEIwSimv.js} +91 -69
- package/dist/provider-classes-BEIwSimv.js.map +1 -0
- package/dist/{rds-provider-DlzTjANF.js → rds-provider-Cyb9LwFv.js} +2 -2
- package/dist/{rds-provider-DlzTjANF.js.map → rds-provider-Cyb9LwFv.js.map} +1 -1
- package/dist/{version-B0fI6qqz.js → version-B3Ymd4cN.js} +2 -2
- package/dist/{version-B0fI6qqz.js.map → version-B3Ymd4cN.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-Cqmlu_JG.js.map +0 -1
- package/dist/iam-role-provider-j_AyoKr6.js.map +0 -1
- package/dist/program-CV-IVMYw.js.map +0 -1
- package/dist/provider-classes-BvHGcxn6.js.map +0 -1
|
@@ -2,7 +2,7 @@ import { r as getAwsClients, s as __exportAll } from "./aws-clients-CnmtbrxD.js"
|
|
|
2
2
|
import { A as UNRENDERABLE, C as looksLikeCdkdGeneratedName, E as withoutGeneratedFallbackName, F as displayStackName, H as truncateCodePoints, I as isPasteableIdent, M as displayAwsMessage, N as displayIdent, O as SECRET_REF_MAX_CODE_POINTS, P as displaySafe, R as plainIdentOr, S as getCurrentStackName, T as withStackName, V as terminalSafe, a as getLogger, b as generateResourceNameWithFallback, d as installLogLineMaskerSource, f as getLiveRenderer, g as applyDefaultNameForFallback, k as STACK_REF_MAX_CODE_POINTS, o as isStdoutReservedForPayload, r as safeStringify$1, t as describeAwsFailure, u as currentLogLineMasker, v as explicitNamePropertyFor, w as withSkipPrefix, x as getCurrentSkipPrefix, y as generateResourceName, z as safeMsg } from "./aws-failure-text-DtvlUugx.js";
|
|
3
3
|
import { $ as protectedReplacementAdvice, $n as isAmbiguousOutcomeError, $t as credentialFingerprint, A as isQuotableImportValue, An as UNSHOWABLE_VALUE, At as isAuxiliaryMarkOf, B as isTerminalDeleteFailure, Bn as withheldTargetClause, Bt as recoveryCommandFlags, Ct as RETRY_AUXILIARY_OWNER, Dt as createdResourceIdentityBeforeFailure, E as assertRegionMatch, Et as createdBeforeFailure, F as resolveExplicitPhysicalId, Fn as physicalIdShownBesideCommand, G as runDeleteAttempt, Gn as isNameCollisionErrorFrom, H as observeThenDisableProtection, Ht as CUSTOM_RESOURCE_RESPONSE_PREFIX, In as plainOrDescribed, J as DELETION_PROTECTION_DOC_POINTER, Jn as isReplayedNameCollisionFrom, Kn as isNameCooldownError, L as ProtectionFlipRegistry, Ln as quotedOrDescribed, Lt as formatLockExpiry, M as quotedRemedyLogicalId, Mt as markCreatedBeforeFailure, N as refusalTypeShown, Nn as isInertUnquoted, Nt as UNREPRODUCIBLE_LOCK_CLAUSE, On as SHELL_ACTIVE, Ot as hasCreatedBeforeFailure, Pn as pasteableCommand, Pt as buildForceUnlockCommand, Q as pasteableAwsCommand, Qn as isAmbiguousCcHandlerErrorCode, Qt as clientDefaultsFor, R as compensateProtectionFlip, Rn as shellBoundedDisplay, Rt as formatLockOperation, Sn as SynthesisError, St as withDerivedNameMasks, T as RESOURCE_NOT_FOUND, Tn as normalizeAwsError, U as protectionFlipKey, Un as isUpdateUnsupportedError, Ut as DEFAULT_STATE_PREFIX, Vt as sanitizeRecoveryValue, Wn as hasReplayMayCollide, Wt as injectiveKey, Xn as markReplayMayCollide, Xt as ambientClientDefaults, Yt as withPasteableAwsProfile, Zn as formatRetryClassificationSignals, Zt as ambientCredentialConfig, _n as ResourceTimeoutError, _t as createMaskedLogSinks, an as DependencyError, ar as isMarkedNonRetryable, at as startInterruptWatch, bt as maskDeep, cn as IntrinsicResolutionRefusalError, cr as markRedactedCause, ct as canonicalizeRoute53QueryName, d as prepareRemovalForUpdate, dn as LockError, en as AccountIdUnavailableError, er as isIamPropagationError, f as removalWarning, fn as MacroExpansionError, ft as logicalIdShown, gn as ProvisioningError, gt as stateOrphanRecordRemedy, ht as segmentAfterAnchor, i as holdsSecretDerivedEntry, in as CrossAccountSecretRefusalError, it as isInterruptedWaitError, j as normalizeAwsTagsToCfn, jn as commandHole, jt as markAuxiliaryFailure, kn as SHELL_ACTIVE_WHY, kt as isAuxiliaryFailure, l as withUnchangedSecretPrincipalLists, lr as wrapMaskedAwsError, m as withoutInjectedRemovals, mt as resourceTypeShown, nn as CdkdError, nr as isTransientServerError, or as isThrottlingError, ot as ElapsedBudgetRegistry, pn as MalformedProducerRecordRefusalError, qn as isRecreateRetryableError, qt as producerRecordKey, rr as retryClassificationText, sn as DynamicReferenceRegionAmbiguousError, sr as markNonRetryable, st as monotonicNowMs, tn as AssetError, tr as isRetryableTransientError, ut as compositeIdSeparatorRefusal, vn as ResourceUpdateNotSupportedError, vt as createMaskedRetryLogger, w as withoutServerErrorRetries, wt as carryCreatedBeforeFailure, xn as StateError, xt as maskerOrIdentity, yt as isSecretDerivedValue, z as deleteWithProtectionCompensation, zn as shellQuote, zt as formatLockOwner } from "./iam-policy-targets-CwKiK9nS.js";
|
|
4
4
|
import { a as setAssumedRoleCredentials, i as getPreAssumeEnvCredentials, n as awsClientDefaults, o as setPreAssumeEnvCredentials, r as getAssumedRoleCredentials, s as ambientRegion, t as SECOND_ROLE_PUBLISH_REFUSAL } from "./aws-client-defaults-D0q0z4dG.js";
|
|
5
|
-
import { t as getCdkdVersion } from "./version-
|
|
5
|
+
import { t as getCdkdVersion } from "./version-B3Ymd4cN.js";
|
|
6
6
|
import { createHash, randomUUID } from "node:crypto";
|
|
7
7
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8
8
|
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";
|
|
@@ -106,6 +106,32 @@ async function resolveCrossAccountStateBucket(accountId, credentials) {
|
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
+
//#endregion
|
|
110
|
+
//#region src/utils/injected-aws-region.ts
|
|
111
|
+
let injected;
|
|
112
|
+
function injectAwsRegion(region) {
|
|
113
|
+
injected ??= {
|
|
114
|
+
value: region,
|
|
115
|
+
original: process.env["AWS_REGION"]
|
|
116
|
+
};
|
|
117
|
+
injected.value = region;
|
|
118
|
+
process.env["AWS_REGION"] = region;
|
|
119
|
+
}
|
|
120
|
+
function injectedAwsRegionValue() {
|
|
121
|
+
return injected?.value;
|
|
122
|
+
}
|
|
123
|
+
function withoutInjectedAwsRegion(env) {
|
|
124
|
+
if (injected === void 0 || env["AWS_REGION"] !== injected.value) return env;
|
|
125
|
+
const out = { ...env };
|
|
126
|
+
if (injected.original === void 0) delete out["AWS_REGION"];
|
|
127
|
+
else out["AWS_REGION"] = injected.original;
|
|
128
|
+
return out;
|
|
129
|
+
}
|
|
130
|
+
function injectedAwsRegionOverride() {
|
|
131
|
+
if (injected === void 0 || process.env["AWS_REGION"] !== injected.value) return void 0;
|
|
132
|
+
return { AWS_REGION: injected.original };
|
|
133
|
+
}
|
|
134
|
+
|
|
109
135
|
//#endregion
|
|
110
136
|
//#region src/synthesis/app-executor.ts
|
|
111
137
|
const CDK_ASM_VERSION = "38.0.0";
|
|
@@ -122,7 +148,7 @@ var AppExecutor = class {
|
|
|
122
148
|
this.logger.debug("Executing CDK app:", app);
|
|
123
149
|
this.logger.debug("Output directory:", outputDir);
|
|
124
150
|
const env = {
|
|
125
|
-
...process.env,
|
|
151
|
+
...withoutInjectedAwsRegion({ ...process.env }),
|
|
126
152
|
CDK_OUTDIR: outputDir
|
|
127
153
|
};
|
|
128
154
|
if (region) env["CDK_DEFAULT_REGION"] = region;
|
|
@@ -2272,10 +2298,10 @@ function getDefaultStateBucketName(accountId) {
|
|
|
2272
2298
|
function getLegacyStateBucketName(accountId, region) {
|
|
2273
2299
|
return `cdkd-state-${accountId}-${region}`;
|
|
2274
2300
|
}
|
|
2275
|
-
async function resolveStateBucketWithDefault(cliBucket, region) {
|
|
2276
|
-
return (await resolveStateBucketWithDefaultAndSource(cliBucket, region)).bucket;
|
|
2301
|
+
async function resolveStateBucketWithDefault(cliBucket, region, legacyFallbackRegion) {
|
|
2302
|
+
return (await resolveStateBucketWithDefaultAndSource(cliBucket, region, legacyFallbackRegion)).bucket;
|
|
2277
2303
|
}
|
|
2278
|
-
async function resolveStateBucketWithDefaultAndSource(cliBucket, region) {
|
|
2304
|
+
async function resolveStateBucketWithDefaultAndSource(cliBucket, region, legacyFallbackRegion) {
|
|
2279
2305
|
const syncResult = resolveStateBucketWithSource(cliBucket);
|
|
2280
2306
|
if (syncResult) return syncResult;
|
|
2281
2307
|
const logger = getLogger();
|
|
@@ -2293,7 +2319,8 @@ async function resolveStateBucketWithDefaultAndSource(cliBucket, region) {
|
|
|
2293
2319
|
const accountId = (await stsClient.send(new GetCallerIdentityCommand({}))).Account;
|
|
2294
2320
|
await recordResolvedAccountId(stsClient, accountId);
|
|
2295
2321
|
const newName = getDefaultStateBucketName(accountId);
|
|
2296
|
-
|
|
2322
|
+
let legacyName = getLegacyStateBucketName(accountId, region);
|
|
2323
|
+
let legacyRegion = region;
|
|
2297
2324
|
const stsCredentials = stsClient.config?.credentials;
|
|
2298
2325
|
const probe = new S3Client({
|
|
2299
2326
|
...awsClientDefaults(),
|
|
@@ -2301,13 +2328,30 @@ async function resolveStateBucketWithDefaultAndSource(cliBucket, region) {
|
|
|
2301
2328
|
...typeof stsCredentials === "function" && { credentials: stsCredentials }
|
|
2302
2329
|
});
|
|
2303
2330
|
try {
|
|
2304
|
-
const
|
|
2331
|
+
const fallbackRegion = legacyFallbackRegion !== void 0 && legacyFallbackRegion !== region ? legacyFallbackRegion : void 0;
|
|
2332
|
+
const fallbackName = fallbackRegion === void 0 ? void 0 : getLegacyStateBucketName(accountId, fallbackRegion);
|
|
2333
|
+
const [newProbe, primaryLegacyProbe, fallbackProbe] = await Promise.all([
|
|
2334
|
+
probeBucket(probe, newName, probeDeps),
|
|
2335
|
+
probeBucket(probe, legacyName, probeDeps),
|
|
2336
|
+
fallbackName === void 0 ? void 0 : probeBucket(probe, fallbackName, probeDeps)
|
|
2337
|
+
]);
|
|
2338
|
+
let legacyProbe = primaryLegacyProbe;
|
|
2339
|
+
const fallbackExists = fallbackProbe !== void 0 && fallbackProbe !== "missing";
|
|
2340
|
+
const chooseLegacy = async () => {
|
|
2341
|
+
if (!fallbackExists) return;
|
|
2342
|
+
if (primaryLegacyProbe === "missing" || !(primaryLegacyProbe === "ok" && fallbackProbe === "access-denied") && await bucketHasAnyState(probe, fallbackName, probeDeps, "")) {
|
|
2343
|
+
legacyName = fallbackName;
|
|
2344
|
+
legacyRegion = fallbackRegion;
|
|
2345
|
+
legacyProbe = fallbackProbe;
|
|
2346
|
+
}
|
|
2347
|
+
};
|
|
2305
2348
|
const newExists = newProbe !== "missing";
|
|
2306
|
-
const legacyExists =
|
|
2349
|
+
const legacyExists = primaryLegacyProbe !== "missing" || fallbackExists;
|
|
2307
2350
|
if (newExists && legacyExists) {
|
|
2308
2351
|
if (!await bucketHasAnyState(probe, newName, probeDeps)) {
|
|
2352
|
+
await chooseLegacy();
|
|
2309
2353
|
if (await bucketHasAnyState(probe, legacyName, probeDeps)) {
|
|
2310
|
-
logger.warn(`Both '${newName}' (new default) and '${legacyName}' (legacy default) exist, but the new bucket is empty and the legacy one has state. Reading from legacy. Run \`cdkd state migrate --region ${
|
|
2354
|
+
logger.warn(`Both '${newName}' (new default) and '${legacyName}' (legacy default) exist, but the new bucket is empty and the legacy one has state. Reading from legacy. Run \`cdkd state migrate --region ${displayIdent(legacyRegion)}\` to copy the state into the new bucket and stop seeing this warning.`);
|
|
2311
2355
|
return {
|
|
2312
2356
|
bucket: legacyName,
|
|
2313
2357
|
source: "default-legacy",
|
|
@@ -2331,24 +2375,25 @@ async function resolveStateBucketWithDefaultAndSource(cliBucket, region) {
|
|
|
2331
2375
|
};
|
|
2332
2376
|
}
|
|
2333
2377
|
if (legacyExists) {
|
|
2334
|
-
|
|
2378
|
+
await chooseLegacy();
|
|
2379
|
+
logger.warn(`Using legacy state bucket name '${legacyName}'. The default has changed to '${newName}'. To migrate, run:\n\n cdkd state migrate --region ${displayIdent(legacyRegion)}\n\n(add --remove-legacy to delete the legacy bucket after a successful copy; legacy support will be dropped in a future release.)`);
|
|
2335
2380
|
return {
|
|
2336
2381
|
bucket: legacyName,
|
|
2337
2382
|
source: "default-legacy",
|
|
2338
2383
|
probe: legacyProbe
|
|
2339
2384
|
};
|
|
2340
2385
|
}
|
|
2341
|
-
throw new Error(`No cdkd state bucket found for account ${accountId}. Looked for '${newName}' (current default) and '${legacyName}' (legacy default). Run 'cdkd bootstrap' to create '${newName}'.`);
|
|
2386
|
+
throw new Error(`No cdkd state bucket found for account ${accountId}. Looked for '${newName}' (current default) and '${legacyName}'` + (fallbackName === void 0 ? "" : ` / '${fallbackName}'`) + ` (legacy default). Run 'cdkd bootstrap' to create '${newName}'.`);
|
|
2342
2387
|
} finally {
|
|
2343
2388
|
probe.destroy();
|
|
2344
2389
|
}
|
|
2345
2390
|
}
|
|
2346
|
-
async function bucketHasAnyState(client, bucketName, deps) {
|
|
2391
|
+
async function bucketHasAnyState(client, bucketName, deps, prefix = "cdkd/") {
|
|
2347
2392
|
const { ListObjectsV2Command, expectedOwnerParam } = deps;
|
|
2348
2393
|
try {
|
|
2349
2394
|
return ((await client.send(new ListObjectsV2Command({
|
|
2350
2395
|
Bucket: bucketName,
|
|
2351
|
-
Prefix:
|
|
2396
|
+
...prefix && { Prefix: prefix },
|
|
2352
2397
|
MaxKeys: 1,
|
|
2353
2398
|
...await expectedOwnerParam(client)
|
|
2354
2399
|
}))).KeyCount ?? 0) > 0;
|
|
@@ -3495,7 +3540,11 @@ async function buildDockerImage(asset, cdkOutDir, options) {
|
|
|
3495
3540
|
logger.debug(`Building Docker image via executable: ${shownExecutable} (cwd=${cwd})`);
|
|
3496
3541
|
let result;
|
|
3497
3542
|
try {
|
|
3498
|
-
|
|
3543
|
+
const regionOverride = injectedAwsRegionOverride();
|
|
3544
|
+
result = await spawnStreaming(cmd, args, {
|
|
3545
|
+
cwd,
|
|
3546
|
+
...regionOverride && { env: regionOverride }
|
|
3547
|
+
});
|
|
3499
3548
|
} catch (err) {
|
|
3500
3549
|
throw options.wrapError(describeDockerFailure(err, args));
|
|
3501
3550
|
}
|
|
@@ -5567,6 +5616,18 @@ var S3StateBackend = class S3StateBackend {
|
|
|
5567
5616
|
if (await this.headObject(newKey)) return true;
|
|
5568
5617
|
return this.legacyBelongsToRegion(stackName, region);
|
|
5569
5618
|
}
|
|
5619
|
+
async stateExistsOwnedBy(stackName, region, regionlessOwner) {
|
|
5620
|
+
await this.ensureClientForBucket();
|
|
5621
|
+
if (await this.headObject(this.getStateKey(stackName, region))) return true;
|
|
5622
|
+
const probe = await this.probeLegacyState(stackName);
|
|
5623
|
+
if (probe.kind === "no-region") return region === regionlessOwner;
|
|
5624
|
+
if (probe.kind === "unreadable") throw new Error(`The legacy state record for ${this.displayName(stackName)} cannot be read (${probe.reason}), so cdkd cannot tell which region it belongs to. Name the region with AWS_REGION to proceed.`);
|
|
5625
|
+
return legacyProbeBelongsTo(probe, region);
|
|
5626
|
+
}
|
|
5627
|
+
async rawObjectExists(key) {
|
|
5628
|
+
await this.ensureClientForBucket();
|
|
5629
|
+
return this.headObject(key);
|
|
5630
|
+
}
|
|
5570
5631
|
async getState(stackName, region) {
|
|
5571
5632
|
await this.ensureClientForBucket();
|
|
5572
5633
|
const newKey = this.getStateKey(stackName, region);
|
|
@@ -24885,18 +24946,18 @@ var CloudControlProvider = class {
|
|
|
24885
24946
|
return result;
|
|
24886
24947
|
} catch (error) {
|
|
24887
24948
|
idLog.addId(identifierCarriedBy(error));
|
|
24888
|
-
await this.cleanupFailedCreateRemnant(error, resourceType, logicalId);
|
|
24949
|
+
await this.cleanupFailedCreateRemnant(error, resourceType, logicalId, mask);
|
|
24889
24950
|
this.handleError(error, "CREATE", resourceType, logicalId);
|
|
24890
24951
|
}
|
|
24891
24952
|
}
|
|
24892
|
-
async cleanupFailedCreateRemnant(error, resourceType, logicalId) {
|
|
24953
|
+
async cleanupFailedCreateRemnant(error, resourceType, logicalId, mask) {
|
|
24893
24954
|
if (!(error instanceof CloudControlOperationFailedError)) return;
|
|
24894
24955
|
if (error.ccOperation !== "CREATE" || !error.physicalId) return;
|
|
24895
24956
|
if (error.ccErrorCode === "AlreadyExists") return;
|
|
24896
24957
|
if (error.ccErrorCode === "ResourceConflict") return;
|
|
24897
24958
|
this.logger.info(`CREATE of ${logicalId} failed after materializing ${error.physicalId}; deleting the remnant so a retry can re-create it`);
|
|
24898
24959
|
try {
|
|
24899
|
-
const cleanupResult = await this.delete(logicalId, error.physicalId, resourceType);
|
|
24960
|
+
const cleanupResult = await this.delete(logicalId, error.physicalId, resourceType, void 0, { maskSecrets: mask });
|
|
24900
24961
|
if (cleanupResult?.outcome === "skipped") {
|
|
24901
24962
|
this.logger.warn(`Skipped deleting the remnant ${error.physicalId} left by the failed CREATE of ${logicalId} (a retry may fail with AlreadyExists until it is removed manually): ${displaySafe(cleanupResult.reason)}`);
|
|
24902
24963
|
return;
|
|
@@ -25002,7 +25063,7 @@ var CloudControlProvider = class {
|
|
|
25002
25063
|
}
|
|
25003
25064
|
}
|
|
25004
25065
|
async delete(logicalId, physicalId, resourceType, properties, context) {
|
|
25005
|
-
const mask = maskerOrIdentity(
|
|
25066
|
+
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
25006
25067
|
const idLog = new IdScrubLog(this.logger, mask, holdsSecretDerivedLeaf(properties, mask));
|
|
25007
25068
|
idLog.addId(physicalId);
|
|
25008
25069
|
const result = await inIdLogScope(idLog, () => this.deleteInIdLogScope(logicalId, physicalId, resourceType, properties, context));
|
|
@@ -25027,7 +25088,7 @@ var CloudControlProvider = class {
|
|
|
25027
25088
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
25028
25089
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
25029
25090
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
25030
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
25091
|
+
const { ASGProvider } = await import("./asg-provider-zprmW9pl.js");
|
|
25031
25092
|
const delegateRegion = ambientRegion();
|
|
25032
25093
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
25033
25094
|
if (asgProvider === void 0) {
|
|
@@ -25133,7 +25194,7 @@ var CloudControlProvider = class {
|
|
|
25133
25194
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
25134
25195
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
25135
25196
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
25136
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
25197
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-Cyb9LwFv.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-Bq25rRgt.js"))).NeptuneProvider({ region: ccRegion });
|
|
25137
25198
|
this.sdkDeleteDelegates.set(family, {
|
|
25138
25199
|
region: ccRegion,
|
|
25139
25200
|
provider
|
|
@@ -26500,7 +26561,11 @@ var TemplateNoEchoReresolver = class TemplateNoEchoReresolver {
|
|
|
26500
26561
|
|
|
26501
26562
|
//#endregion
|
|
26502
26563
|
//#region src/provisioning/providers/custom-resource-provider.ts
|
|
26503
|
-
|
|
26564
|
+
function deletePathMasker(callerMask, noEchoMask) {
|
|
26565
|
+
if (callerMask === void 0) return noEchoMask;
|
|
26566
|
+
if (noEchoMask === void 0) return callerMask;
|
|
26567
|
+
return (text) => callerMask(noEchoMask(text));
|
|
26568
|
+
}
|
|
26504
26569
|
const CR_NO_PROPERTIES_SKIP_REASON = "no properties in state — Delete handler not invoked";
|
|
26505
26570
|
const CR_NO_SERVICE_TOKEN_SKIP_REASON = "no ServiceToken in state — Delete handler not invoked";
|
|
26506
26571
|
const CR_MASKED_SERVICE_TOKEN_SKIP_REASON = "masked ServiceToken in state — Delete handler not invoked";
|
|
@@ -26996,7 +27061,7 @@ var CustomResourceProvider = class CustomResourceProvider {
|
|
|
26996
27061
|
reason: CR_MASKED_PROPERTIES_SKIP_REASON
|
|
26997
27062
|
};
|
|
26998
27063
|
}
|
|
26999
|
-
const deleteMask = payload === properties ?
|
|
27064
|
+
const deleteMask = deletePathMasker(context?.maskSecrets, payload === properties ? void 0 : reresolved?.maskSecrets);
|
|
27000
27065
|
const show = (text) => deleteMask === void 0 ? text : deleteMask(text);
|
|
27001
27066
|
if (!this.isSnsServiceToken(serviceToken) && await this.isBackingLambdaGone(serviceToken)) {
|
|
27002
27067
|
if (context?.stackDestroy === true) {
|
|
@@ -28939,7 +29004,7 @@ const PROPERTY_SHAPES = /* @__PURE__ */ new Map([
|
|
|
28939
29004
|
["AWS::AppSync::GraphQLApi", "{\"AdditionalAuthenticationProviders\":\"array\",\"AdditionalAuthenticationProviders[]\":\"object\",\"AdditionalAuthenticationProviders[].LambdaAuthorizerConfig\":\"object\",\"AdditionalAuthenticationProviders[].OpenIDConnectConfig\":\"object\",\"AdditionalAuthenticationProviders[].UserPoolConfig\":\"object\",\"EnhancedMetricsConfig\":\"object\",\"EnvironmentVariables\":\"object\",\"LambdaAuthorizerConfig\":\"object\",\"LogConfig\":\"object\",\"OpenIDConnectConfig\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"UserPoolConfig\":\"object\"}"],
|
|
28940
29005
|
["AWS::AppSync::Resolver", "{\"CachingConfig\":\"object\",\"CachingConfig.CachingKeys\":\"array\",\"PipelineConfig\":\"object\",\"PipelineConfig.Functions\":\"array\",\"Runtime\":\"object\",\"SyncConfig\":\"object\",\"SyncConfig.LambdaConflictHandlerConfig\":\"object\"}"],
|
|
28941
29006
|
["AWS::AutoScaling::AutoScalingGroup", "{\"AvailabilityZoneDistribution\":\"object\",\"AvailabilityZoneIds\":\"array\",\"AvailabilityZoneImpairmentPolicy\":\"object\",\"AvailabilityZones\":\"array\",\"CapacityReservationSpecification\":\"object\",\"CapacityReservationSpecification.CapacityReservationTarget\":\"object\",\"CapacityReservationSpecification.CapacityReservationTarget.CapacityReservationIds\":\"array\",\"CapacityReservationSpecification.CapacityReservationTarget.CapacityReservationResourceGroupArns\":\"array\",\"InstanceLifecyclePolicy\":\"object\",\"InstanceLifecyclePolicy.RetentionTriggers\":\"object\",\"InstanceMaintenancePolicy\":\"object\",\"LaunchTemplate\":\"object\",\"LifecycleHookSpecificationList\":\"array\",\"LifecycleHookSpecificationList[]\":\"object\",\"LoadBalancerNames\":\"array\",\"MetricsCollection\":\"array\",\"MetricsCollection[]\":\"object\",\"MetricsCollection[].Metrics\":\"array\",\"MixedInstancesPolicy\":\"object\",\"MixedInstancesPolicy.InstancesDistribution\":\"object\",\"MixedInstancesPolicy.InstancesDistribution.DistributionSegments\":\"array\",\"MixedInstancesPolicy.InstancesDistribution.DistributionSegments[]\":\"object\",\"MixedInstancesPolicy.InstancesDistribution.DistributionSegments[].TargetCapacityTypes\":\"array\",\"MixedInstancesPolicy.LaunchTemplate\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.LaunchTemplateSpecification\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides\":\"array\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[]\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.AcceleratorCount\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.AcceleratorManufacturers\":\"array\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.AcceleratorNames\":\"array\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.AcceleratorTotalMemoryMiB\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.AcceleratorTypes\":\"array\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.AllowedInstanceTypes\":\"array\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.BaselineEbsBandwidthMbps\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.BaselinePerformanceFactors\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.BaselinePerformanceFactors.Cpu\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.BaselinePerformanceFactors.Cpu.References\":\"array\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.BaselinePerformanceFactors.Cpu.References[]\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.CpuManufacturers\":\"array\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.ExcludedInstanceTypes\":\"array\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.InstanceGenerations\":\"array\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.LocalStorageTypes\":\"array\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.MemoryGiBPerVCpu\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.MemoryMiB\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.NetworkBandwidthGbps\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.NetworkInterfaceCount\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.TotalLocalStorageGB\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].InstanceRequirements.VCpuCount\":\"object\",\"MixedInstancesPolicy.LaunchTemplate.Overrides[].LaunchTemplateSpecification\":\"object\",\"NotificationConfiguration\":\"object\",\"NotificationConfiguration.NotificationTypes\":\"array\",\"NotificationConfigurations\":\"array\",\"NotificationConfigurations[]\":\"object\",\"NotificationConfigurations[].NotificationTypes\":\"array\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"TargetGroupARNs\":\"array\",\"TerminationPolicies\":\"array\",\"TrafficSources\":\"array\",\"TrafficSources[]\":\"object\",\"VPCZoneIdentifier\":\"array\"}"],
|
|
28942
|
-
["AWS::BedrockAgentCore::Evaluator", "{\"EvaluatorConfig\":\"object\",\"EvaluatorConfig.CodeBased\":\"object\",\"EvaluatorConfig.CodeBased.LambdaConfig\":\"object\",\"EvaluatorConfig.Derived\":\"object\",\"EvaluatorConfig.Derived.ModelConfig\":\"object\",\"EvaluatorConfig.Derived.ModelConfig.BedrockEvaluatorModelConfig\":\"object\",\"EvaluatorConfig.Derived.ModelConfig.BedrockEvaluatorModelConfig.AdditionalModelRequestFields\":\"object\",\"EvaluatorConfig.Derived.ModelConfig.BedrockEvaluatorModelConfig.InferenceConfig\":\"object\",\"EvaluatorConfig.Derived.ModelConfig.ResponsesEvaluatorModelConfig\":\"object\",\"EvaluatorConfig.Derived.ModelConfig.ResponsesEvaluatorModelConfig.Reasoning\":\"object\",\"EvaluatorConfig.LlmAsAJudge\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.BedrockEvaluatorModelConfig\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.BedrockEvaluatorModelConfig.AdditionalModelRequestFields\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.BedrockEvaluatorModelConfig.InferenceConfig\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.ResponsesEvaluatorModelConfig\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.ResponsesEvaluatorModelConfig.Reasoning\":\"object\",\"EvaluatorConfig.LlmAsAJudge.RatingScale\":\"object\",\"EvaluatorConfig.LlmAsAJudge.RatingScale.Categorical\":\"array\",\"EvaluatorConfig.LlmAsAJudge.RatingScale.Categorical[]\":\"object\",\"EvaluatorConfig.LlmAsAJudge.RatingScale.Numerical\":\"array\",\"EvaluatorConfig.LlmAsAJudge.RatingScale.Numerical[]\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
29007
|
+
["AWS::BedrockAgentCore::Evaluator", "{\"EvaluatorConfig\":\"object\",\"EvaluatorConfig.CodeBased\":\"object\",\"EvaluatorConfig.CodeBased.LambdaConfig\":\"object\",\"EvaluatorConfig.Derived\":\"object\",\"EvaluatorConfig.Derived.ModelConfig\":\"object\",\"EvaluatorConfig.Derived.ModelConfig.BedrockEvaluatorModelConfig\":\"object\",\"EvaluatorConfig.Derived.ModelConfig.BedrockEvaluatorModelConfig.AdditionalModelRequestFields\":\"object\",\"EvaluatorConfig.Derived.ModelConfig.BedrockEvaluatorModelConfig.InferenceConfig\":\"object\",\"EvaluatorConfig.Derived.ModelConfig.BedrockEvaluatorModelConfig.InferenceConfig.StopSequences\":\"array\",\"EvaluatorConfig.Derived.ModelConfig.ResponsesEvaluatorModelConfig\":\"object\",\"EvaluatorConfig.Derived.ModelConfig.ResponsesEvaluatorModelConfig.Reasoning\":\"object\",\"EvaluatorConfig.LlmAsAJudge\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.BedrockEvaluatorModelConfig\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.BedrockEvaluatorModelConfig.AdditionalModelRequestFields\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.BedrockEvaluatorModelConfig.InferenceConfig\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.BedrockEvaluatorModelConfig.InferenceConfig.StopSequences\":\"array\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.ResponsesEvaluatorModelConfig\":\"object\",\"EvaluatorConfig.LlmAsAJudge.ModelConfig.ResponsesEvaluatorModelConfig.Reasoning\":\"object\",\"EvaluatorConfig.LlmAsAJudge.RatingScale\":\"object\",\"EvaluatorConfig.LlmAsAJudge.RatingScale.Categorical\":\"array\",\"EvaluatorConfig.LlmAsAJudge.RatingScale.Categorical[]\":\"object\",\"EvaluatorConfig.LlmAsAJudge.RatingScale.Numerical\":\"array\",\"EvaluatorConfig.LlmAsAJudge.RatingScale.Numerical[]\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
28943
29008
|
["AWS::BedrockAgentCore::Runtime", "{\"AgentRuntimeArtifact\":\"object\",\"AgentRuntimeArtifact.CodeConfiguration\":\"object\",\"AgentRuntimeArtifact.CodeConfiguration.Code\":\"object\",\"AgentRuntimeArtifact.CodeConfiguration.Code.S3\":\"object\",\"AgentRuntimeArtifact.CodeConfiguration.EntryPoint\":\"array\",\"AgentRuntimeArtifact.ContainerConfiguration\":\"object\",\"AuthorizerConfiguration\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.AllowedAudience\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.AllowedClients\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.AllowedScopes\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.AllowedWorkloadConfiguration\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.AllowedWorkloadConfiguration.HostingEnvironments\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.AllowedWorkloadConfiguration.HostingEnvironments[]\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.AllowedWorkloadConfiguration.WorkloadIdentities\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.CustomClaims\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.CustomClaims[]\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.CustomClaims[].AuthorizingClaimMatchValue\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.CustomClaims[].AuthorizingClaimMatchValue.ClaimMatchValue\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.CustomClaims[].AuthorizingClaimMatchValue.ClaimMatchValue.MatchValueStringList\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpoint\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpoint.ManagedVpcResource\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpoint.ManagedVpcResource.SecurityGroupIds\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpoint.ManagedVpcResource.SubnetIds\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpoint.ManagedVpcResource.Tags\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpoint.SelfManagedLatticeResource\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpointOverrides\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpointOverrides[]\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpointOverrides[].PrivateEndpoint\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpointOverrides[].PrivateEndpoint.ManagedVpcResource\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpointOverrides[].PrivateEndpoint.ManagedVpcResource.SecurityGroupIds\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpointOverrides[].PrivateEndpoint.ManagedVpcResource.SubnetIds\":\"array\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpointOverrides[].PrivateEndpoint.ManagedVpcResource.Tags\":\"object\",\"AuthorizerConfiguration.CustomJWTAuthorizer.PrivateEndpointOverrides[].PrivateEndpoint.SelfManagedLatticeResource\":\"object\",\"CapacityProviderConfiguration\":\"object\",\"EnvironmentVariables\":\"object\",\"FilesystemConfigurations\":\"array\",\"FilesystemConfigurations[]\":\"object\",\"FilesystemConfigurations[].CapacityProviderVolume\":\"object\",\"FilesystemConfigurations[].EfsAccessPoint\":\"object\",\"FilesystemConfigurations[].S3FilesAccessPoint\":\"object\",\"FilesystemConfigurations[].SessionStorage\":\"object\",\"LifecycleConfiguration\":\"object\",\"NetworkConfiguration\":\"object\",\"NetworkConfiguration.NetworkModeConfig\":\"object\",\"NetworkConfiguration.NetworkModeConfig.SecurityGroups\":\"array\",\"NetworkConfiguration.NetworkModeConfig.Subnets\":\"array\",\"RequestHeaderConfiguration\":\"object\",\"RequestHeaderConfiguration.RequestHeaderAllowlist\":\"array\",\"Tags\":\"object\",\"WorkloadIdentityDetails\":\"object\"}"],
|
|
28944
29009
|
["AWS::CertificateManager::Certificate", "{\"DomainValidationOptions\":\"array\",\"DomainValidationOptions[]\":\"object\",\"SubjectAlternativeNames\":\"array\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
28945
29010
|
["AWS::CloudFormation::Stack", "{\"Capabilities\":\"array\",\"NotificationARNs\":\"array\",\"Outputs\":\"array\",\"Outputs[]\":\"object\",\"Parameters\":\"object\",\"StackPolicyBody\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
@@ -30601,8 +30666,8 @@ function replayPrefixScope(input, logger, mask, restoring) {
|
|
|
30601
30666
|
const skip = choice.skipPrefix;
|
|
30602
30667
|
return (fn) => withSkipPrefix(skip, fn);
|
|
30603
30668
|
}
|
|
30604
|
-
function createOpMasker(logger, secrets) {
|
|
30605
|
-
const base = createMaskedLogSinks(logger, (text) => maskSecretsInText(text, secrets));
|
|
30669
|
+
function createOpMasker(logger, secrets, deployBag) {
|
|
30670
|
+
const base = createMaskedLogSinks(logger, deployBag === void 0 ? (text) => maskSecretsInText(text, secrets) : createUnionSecretMasker([secrets, deployBag]));
|
|
30606
30671
|
const pairs = [];
|
|
30607
30672
|
let sinks = base;
|
|
30608
30673
|
return {
|
|
@@ -31842,6 +31907,13 @@ var DeploymentEventsReader = class {
|
|
|
31842
31907
|
}
|
|
31843
31908
|
};
|
|
31844
31909
|
|
|
31910
|
+
//#endregion
|
|
31911
|
+
//#region src/deployment/rollback-executor/replay-scope.ts
|
|
31912
|
+
function withReplayDeletePrinting(scope, fn) {
|
|
31913
|
+
const deployBag = scope.ctx.logOnlyNeedlesFor?.(scope.op.logicalId);
|
|
31914
|
+
return withPrintingSecrets(scope.secrets, () => deployBag === void 0 ? fn() : withPrintingSecrets(deployBag, fn));
|
|
31915
|
+
}
|
|
31916
|
+
|
|
31845
31917
|
//#endregion
|
|
31846
31918
|
//#region src/deployment/update-outcome.ts
|
|
31847
31919
|
function updatePartialReason(result) {
|
|
@@ -32962,7 +33034,7 @@ async function replayDelete(s) {
|
|
|
32962
33034
|
const createRollbackClaimed = inlinePolicyWriters.claimedFor(op.resourceType, op.logicalId, stateResources);
|
|
32963
33035
|
const removeProtection = ctx.removeProtection === true;
|
|
32964
33036
|
const physicalId = op.physicalId;
|
|
32965
|
-
const deleteCreated = () => provider.delete(op.logicalId, physicalId, op.resourceType, op.properties, {
|
|
33037
|
+
const deleteCreated = () => withReplayDeletePrinting(s, () => provider.delete(op.logicalId, physicalId, op.resourceType, op.properties, {
|
|
32966
33038
|
expectedRegion: ctx.region,
|
|
32967
33039
|
...removeProtection && { removeProtection: true },
|
|
32968
33040
|
...createRollbackClaimed && { inlinePolicyClaimed: createRollbackClaimed },
|
|
@@ -32970,8 +33042,9 @@ async function replayDelete(s) {
|
|
|
32970
33042
|
...ctx.skipFinalSnapshot === true && { skipFinalSnapshot: true },
|
|
32971
33043
|
deletionPolicy: snapshotPolicy ? "Snapshot" : "Delete",
|
|
32972
33044
|
recordedAttributes: stateResources[op.logicalId]?.attributes,
|
|
32973
|
-
recordedNoEchoLeaves: stateResources[op.logicalId]?.noEchoLeaves
|
|
32974
|
-
|
|
33045
|
+
recordedNoEchoLeaves: stateResources[op.logicalId]?.noEchoLeaves,
|
|
33046
|
+
maskSecrets: mask
|
|
33047
|
+
}));
|
|
32975
33048
|
const createRollbackDelete = removeProtection ? await runDeleteAttempt(true, deleteCreated) : await deleteCreated();
|
|
32976
33049
|
throwIfDeleteSkipped(createRollbackDelete, op.logicalId, op.physicalId, "while rolling back its CREATE", {
|
|
32977
33050
|
ctx,
|
|
@@ -33027,14 +33100,15 @@ async function replayReadopt(s) {
|
|
|
33027
33100
|
});
|
|
33028
33101
|
const finalSnapshotIdentifier = rollbackFinalSnapshotId(op.resourceType, current, op.provisionedBy);
|
|
33029
33102
|
const readoptClaimed = inlinePolicyWriters.claimedFor(op.resourceType, op.logicalId, stateResources);
|
|
33030
|
-
const readoptDelete = await newDeleteProvider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33103
|
+
const readoptDelete = await withReplayDeletePrinting(s, () => newDeleteProvider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33031
33104
|
expectedRegion: ctx.region,
|
|
33032
33105
|
...readoptClaimed && { inlinePolicyClaimed: readoptClaimed },
|
|
33033
33106
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
33034
33107
|
deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
|
|
33035
33108
|
recordedAttributes: current.attributes,
|
|
33036
|
-
recordedNoEchoLeaves: current.noEchoLeaves
|
|
33037
|
-
|
|
33109
|
+
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
33110
|
+
maskSecrets: mask
|
|
33111
|
+
}));
|
|
33038
33112
|
throwIfDeleteSkipped(readoptDelete, op.logicalId, current.physicalId, "while reversing its replacement (re-adopting the retained old resource)", {
|
|
33039
33113
|
ctx,
|
|
33040
33114
|
stackName,
|
|
@@ -33229,19 +33303,22 @@ async function replayReverseReplacement(s) {
|
|
|
33229
33303
|
stateResources,
|
|
33230
33304
|
region: ctx.region,
|
|
33231
33305
|
logger,
|
|
33232
|
-
mask
|
|
33306
|
+
mask,
|
|
33307
|
+
ctx,
|
|
33308
|
+
secrets
|
|
33233
33309
|
};
|
|
33234
33310
|
const deleteNewResourceFirst = async (purpose) => {
|
|
33235
33311
|
const finalSnapshotIdentifier = rollbackFinalSnapshotId(op.resourceType, current, op.provisionedBy);
|
|
33236
33312
|
const deleteNewFirstRoute = resolveNewDeleteRoute();
|
|
33237
|
-
const deleteNewFirst = await deleteNewFirstRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33313
|
+
const deleteNewFirst = await withReplayDeletePrinting(s, () => deleteNewFirstRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33238
33314
|
expectedRegion: ctx.region,
|
|
33239
33315
|
...newCopyClaimed && { inlinePolicyClaimed: newCopyClaimed },
|
|
33240
33316
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
33241
33317
|
deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
|
|
33242
33318
|
recordedAttributes: current.attributes,
|
|
33243
|
-
recordedNoEchoLeaves: current.noEchoLeaves
|
|
33244
|
-
|
|
33319
|
+
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
33320
|
+
maskSecrets: mask
|
|
33321
|
+
}));
|
|
33245
33322
|
throwIfDeleteSkipped(deleteNewFirst, op.logicalId, current.physicalId, purpose, newDeleteGuardScope(deleteNewFirstRoute.provisionedBy));
|
|
33246
33323
|
delete stateResources[op.logicalId];
|
|
33247
33324
|
await afterOp?.(op.logicalId);
|
|
@@ -33354,14 +33431,15 @@ async function replayReverseReplacement(s) {
|
|
|
33354
33431
|
} else if (!deletedNewFirst && !adoptedLiveNewResource) try {
|
|
33355
33432
|
const finalSnapshotIdentifier = rollbackFinalSnapshotId(op.resourceType, current, op.provisionedBy);
|
|
33356
33433
|
const deleteNewAfterRecreateRoute = resolveNewDeleteRoute();
|
|
33357
|
-
const deleteNewAfterRecreate = await deleteNewAfterRecreateRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33434
|
+
const deleteNewAfterRecreate = await withReplayDeletePrinting(s, () => deleteNewAfterRecreateRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33358
33435
|
expectedRegion: ctx.region,
|
|
33359
33436
|
...newCopyClaimed && { inlinePolicyClaimed: newCopyClaimed },
|
|
33360
33437
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
33361
33438
|
deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
|
|
33362
33439
|
recordedAttributes: current.attributes,
|
|
33363
|
-
recordedNoEchoLeaves: current.noEchoLeaves
|
|
33364
|
-
|
|
33440
|
+
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
33441
|
+
maskSecrets: mask
|
|
33442
|
+
}));
|
|
33365
33443
|
throwIfDeleteSkipped(deleteNewAfterRecreate, op.logicalId, current.physicalId, "while deleting the new resource after re-creating the old one", newDeleteGuardScope(deleteNewAfterRecreateRoute.provisionedBy));
|
|
33366
33444
|
} catch (deleteError) {
|
|
33367
33445
|
logger.warn(mask(` Rollback: old ${safe(op.logicalId)} re-created, but deleting the new resource (${displaySafe(mask(current.physicalId))}) failed: ${displaySafe(deleteError instanceof Error ? deleteError.message : String(deleteError))}. Delete it manually — it is no longer tracked in state.`));
|
|
@@ -33399,10 +33477,11 @@ async function deleteMarkedRecreate(error, s) {
|
|
|
33399
33477
|
s.logger.info(safeMsg` Rollback: deleting ${id}, which the failed re-create of ${shown} made before failing`);
|
|
33400
33478
|
let failure;
|
|
33401
33479
|
try {
|
|
33402
|
-
const outcome = await s.provider.delete(s.op.logicalId, madeId, s.oldType, s.properties, {
|
|
33480
|
+
const outcome = await withReplayDeletePrinting(s, () => s.provider.delete(s.op.logicalId, madeId, s.oldType, s.properties, {
|
|
33403
33481
|
expectedRegion: s.region,
|
|
33404
|
-
deletionPolicy: "Delete"
|
|
33405
|
-
|
|
33482
|
+
deletionPolicy: "Delete",
|
|
33483
|
+
maskSecrets: s.mask
|
|
33484
|
+
}));
|
|
33406
33485
|
failure = deleteSkipReason(outcome);
|
|
33407
33486
|
} catch (deleteError) {
|
|
33408
33487
|
failure = deleteError instanceof Error ? deleteError.message : String(deleteError);
|
|
@@ -33561,7 +33640,7 @@ async function replaySingle(op, stateResources, stackName, ctx, resolver, orphan
|
|
|
33561
33640
|
const secrets = /* @__PURE__ */ new Map();
|
|
33562
33641
|
const deployBag = ctx.logOnlyNeedlesFor?.(op.logicalId);
|
|
33563
33642
|
if (deployBag) carryLogOnlyValues(deployBag, secrets);
|
|
33564
|
-
const opMasker = createOpMasker(logger, secrets);
|
|
33643
|
+
const opMasker = createOpMasker(logger, secrets, deployBag);
|
|
33565
33644
|
const mask = opMasker.mask;
|
|
33566
33645
|
const scope = {
|
|
33567
33646
|
op,
|
|
@@ -33669,7 +33748,7 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
33669
33748
|
break;
|
|
33670
33749
|
}
|
|
33671
33750
|
const secrets = /* @__PURE__ */ new Map();
|
|
33672
|
-
const opMasker = createOpMasker(logger, secrets);
|
|
33751
|
+
const opMasker = createOpMasker(logger, secrets, ctx.logOnlyNeedlesFor?.(op.logicalId));
|
|
33673
33752
|
const mask = opMasker.mask;
|
|
33674
33753
|
const skipScope = {
|
|
33675
33754
|
ctx,
|
|
@@ -33790,7 +33869,11 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
33790
33869
|
});
|
|
33791
33870
|
const failedCreateClaimed = inlinePolicyWriters.claimedFor(op.resourceType, op.logicalId, stateResources);
|
|
33792
33871
|
const removeProtection = ctx.removeProtection === true && protectionRemovalProven(op, orphanDeleteChecked || ctx.orphanDeleteProven?.has(op) === true);
|
|
33793
|
-
const deleteFailedCreate = () =>
|
|
33872
|
+
const deleteFailedCreate = () => withReplayDeletePrinting({
|
|
33873
|
+
ctx,
|
|
33874
|
+
op,
|
|
33875
|
+
secrets
|
|
33876
|
+
}, () => provider.delete(op.logicalId, op.physicalId, op.resourceType, op.attemptedProperties, {
|
|
33794
33877
|
expectedRegion: ctx.region,
|
|
33795
33878
|
...removeProtection && { removeProtection: true },
|
|
33796
33879
|
...failedCreateClaimed && { inlinePolicyClaimed: failedCreateClaimed },
|
|
@@ -33803,8 +33886,9 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
33803
33886
|
failedCreateOrphan: true,
|
|
33804
33887
|
resolveAttemptedProperties: () => resolveReplayProps(op.attemptedProperties, resolver, secrets, ctx, op.logicalId),
|
|
33805
33888
|
...ctx.writtenThisRun !== void 0 && { writtenThisRun: ctx.writtenThisRun }
|
|
33806
|
-
}
|
|
33807
|
-
|
|
33889
|
+
},
|
|
33890
|
+
maskSecrets: mask
|
|
33891
|
+
}));
|
|
33808
33892
|
const failedCreateDelete = removeProtection ? await runDeleteAttempt(true, deleteFailedCreate) : await deleteFailedCreate();
|
|
33809
33893
|
throwIfDeleteSkipped(failedCreateDelete, op.logicalId, op.physicalId, "while deleting the partially-created resource", {
|
|
33810
33894
|
ctx,
|
|
@@ -36048,15 +36132,16 @@ async function replaceDeleteFirstAndRecreate(logicalId, resourceType, oldResourc
|
|
|
36048
36132
|
const finalSnapshotIdentifier = await this.prepareFinalSnapshotForDelete(logicalId, oldResourceType, currentResource, updateReplacePolicy);
|
|
36049
36133
|
let deleteResult;
|
|
36050
36134
|
try {
|
|
36051
|
-
deleteResult = await oldDeleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, currentResource.properties, {
|
|
36135
|
+
deleteResult = await withPrintingSecrets(secrets, () => oldDeleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, currentResource.properties, {
|
|
36052
36136
|
expectedRegion: this.stackRegion,
|
|
36053
36137
|
forceDataDelete: this.options.forceStatefulRecreation === true,
|
|
36054
36138
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
36055
36139
|
...this.replacementDeleteContext(updateReplacePolicy),
|
|
36056
36140
|
recordedAttributes: currentResource.attributes,
|
|
36057
36141
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
36058
|
-
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues }
|
|
36059
|
-
|
|
36142
|
+
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
36143
|
+
maskSecrets: createUnionSecretMasker([secrets, this.secretNameBagFor(logicalId)])
|
|
36144
|
+
}));
|
|
36060
36145
|
} catch (deleteError) {
|
|
36061
36146
|
throw new Error(maskSecretsInText(`Failed to delete old resource ${logicalId} (${currentResource.physicalId}) during the --replace delete-first fallback: ${deleteError instanceof Error ? deleteError.message : String(deleteError)}`, secrets), { cause: deleteError instanceof Error ? maskSecretsInError(deleteError, secrets) : void 0 });
|
|
36062
36147
|
}
|
|
@@ -36178,7 +36263,7 @@ async function deleteReplacedAfterCreate(logicalId, oldResourceType, currentReso
|
|
|
36178
36263
|
let deleteFailed = false;
|
|
36179
36264
|
const inlinePolicyClaimed = isStandaloneInlinePolicyType(oldResourceType) ? this.inlinePolicyClaimedFor(oldResourceType, logicalId, this.deployStateResources) : void 0;
|
|
36180
36265
|
try {
|
|
36181
|
-
deleteResult = await deleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, deleteProperties, {
|
|
36266
|
+
deleteResult = await withPrintingSecrets(secrets, () => deleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, deleteProperties, {
|
|
36182
36267
|
expectedRegion: this.stackRegion,
|
|
36183
36268
|
forceDataDelete: this.options.forceStatefulRecreation === true,
|
|
36184
36269
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
@@ -36186,8 +36271,9 @@ async function deleteReplacedAfterCreate(logicalId, oldResourceType, currentReso
|
|
|
36186
36271
|
recordedAttributes: currentResource.attributes,
|
|
36187
36272
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
36188
36273
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
36189
|
-
...inlinePolicyClaimed && { inlinePolicyClaimed }
|
|
36190
|
-
|
|
36274
|
+
...inlinePolicyClaimed && { inlinePolicyClaimed },
|
|
36275
|
+
maskSecrets: createUnionSecretMasker([secrets, this.secretNameBagFor(logicalId)])
|
|
36276
|
+
}));
|
|
36191
36277
|
} catch (deleteError) {
|
|
36192
36278
|
const deleteMsg = maskSecretsInText(deleteError instanceof Error ? deleteError.message : String(deleteError), secrets);
|
|
36193
36279
|
deleteFailed = true;
|
|
@@ -38100,14 +38186,16 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38100
38186
|
}
|
|
38101
38187
|
}
|
|
38102
38188
|
async deleteGlobalTableResource(logicalId, physicalId, resourceType, context, flip) {
|
|
38103
|
-
|
|
38189
|
+
const deleteMask = context?.maskSecrets ?? ((text) => text);
|
|
38190
|
+
const shownTable = deleteMask(physicalId);
|
|
38191
|
+
this.logger.debug(deleteMask(`Deleting DynamoDB GlobalTable ${logicalId}: ${shownTable}`));
|
|
38104
38192
|
const budget = this.deleteBudgets.acquire(deleteBudgetKey(physicalId, context?.expectedRegion), resolveDynamoDbDeleteBudgetMs(), resolveDynamoDbDeleteBudgetClock(), DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS);
|
|
38105
38193
|
if (context?.removeProtection === true) try {
|
|
38106
38194
|
let observedProtectionOn = false;
|
|
38107
38195
|
try {
|
|
38108
38196
|
observedProtectionOn = (await this.dynamoDBClient.send(new DescribeTableCommand({ TableName: physicalId }))).Table?.DeletionProtectionEnabled === true;
|
|
38109
38197
|
} catch (observeError) {
|
|
38110
|
-
this.logger.debug(`Could not read DeletionProtectionEnabled on ${
|
|
38198
|
+
this.logger.debug(deleteMask(`Could not read DeletionProtectionEnabled on ${shownTable} before disabling it: ${describeAwsFailure(observeError).detail}`));
|
|
38111
38199
|
}
|
|
38112
38200
|
await this.dynamoDBClient.send(new UpdateTableCommand({
|
|
38113
38201
|
TableName: physicalId,
|
|
@@ -38116,12 +38204,12 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38116
38204
|
if (observedProtectionOn) flip.flippedOffByThisRun = true;
|
|
38117
38205
|
this.logger.debug(`Disabled DeletionProtectionEnabled on ${logicalId}, waiting for ACTIVE`);
|
|
38118
38206
|
try {
|
|
38119
|
-
await this.waitForTableActiveAfterUpdate(physicalId, logicalId, 600, budget);
|
|
38207
|
+
await this.waitForTableActiveAfterUpdate(physicalId, logicalId, 600, budget, context?.maskSecrets);
|
|
38120
38208
|
} catch (waitErr) {
|
|
38121
|
-
this.logger.debug(`Could not wait for table ${
|
|
38209
|
+
this.logger.debug(deleteMask(`Could not wait for table ${shownTable} ACTIVE after protection flip: ${describeAwsFailure(waitErr).detail}`));
|
|
38122
38210
|
}
|
|
38123
38211
|
} catch (flipError) {
|
|
38124
|
-
if (!(flipError instanceof ResourceNotFoundException$1)) this.logger.debug(`Could not disable DeletionProtectionEnabled on ${
|
|
38212
|
+
if (!(flipError instanceof ResourceNotFoundException$1)) this.logger.debug(deleteMask(`Could not disable DeletionProtectionEnabled on ${shownTable}: ${describeAwsFailure(flipError).detail}`));
|
|
38125
38213
|
}
|
|
38126
38214
|
let currentRegion;
|
|
38127
38215
|
try {
|
|
@@ -38146,7 +38234,7 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38146
38234
|
TableName: physicalId,
|
|
38147
38235
|
ReplicaUpdates: [{ Delete: { RegionName: region } }]
|
|
38148
38236
|
}));
|
|
38149
|
-
await this.waitForReplicaGone(physicalId, region, logicalId, REPLICA_GONE_WAIT_ATTEMPTS, budget);
|
|
38237
|
+
await this.waitForReplicaGone(physicalId, region, logicalId, REPLICA_GONE_WAIT_ATTEMPTS, budget, context?.maskSecrets);
|
|
38150
38238
|
} catch (replicaErr) {
|
|
38151
38239
|
if (!(replicaErr instanceof ResourceNotFoundException$1)) throw replicaErr;
|
|
38152
38240
|
}
|
|
@@ -38171,7 +38259,8 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38171
38259
|
this.logger.debug(`Waiting for indexes on ${physicalId} to settle before DeleteTable`);
|
|
38172
38260
|
await this.waitForIndexesActive(physicalId, logicalId, {
|
|
38173
38261
|
proceedNote: DELETE_INDEX_WAIT_PROCEED_NOTE,
|
|
38174
|
-
budget
|
|
38262
|
+
budget,
|
|
38263
|
+
...context?.maskSecrets && { maskSecrets: context.maskSecrets }
|
|
38175
38264
|
});
|
|
38176
38265
|
}
|
|
38177
38266
|
await deleteTableWithIndexBusyRetry({
|
|
@@ -38187,7 +38276,8 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38187
38276
|
reArm: () => this.waitForIndexesActive(physicalId, logicalId, {
|
|
38188
38277
|
maxAttempts: 60,
|
|
38189
38278
|
proceedNote: DELETE_INDEX_WAIT_PROCEED_NOTE,
|
|
38190
|
-
budget
|
|
38279
|
+
budget,
|
|
38280
|
+
...context?.maskSecrets && { maskSecrets: context.maskSecrets }
|
|
38191
38281
|
}),
|
|
38192
38282
|
shouldKeepRetrying: () => {
|
|
38193
38283
|
if (!budget.isExhausted()) return true;
|
|
@@ -38196,7 +38286,7 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38196
38286
|
},
|
|
38197
38287
|
sleepSeam: deleteTableRetryDelays
|
|
38198
38288
|
});
|
|
38199
|
-
await this.waitForTableGone(physicalId, logicalId, 600, budget);
|
|
38289
|
+
await this.waitForTableGone(physicalId, logicalId, 600, budget, context?.maskSecrets);
|
|
38200
38290
|
this.logger.debug(`Successfully deleted DynamoDB GlobalTable ${logicalId}`);
|
|
38201
38291
|
this.deleteBudgets.release(deleteBudgetKey(physicalId, context?.expectedRegion));
|
|
38202
38292
|
this.protectionFlips.release(deleteBudgetKey(physicalId, context?.expectedRegion));
|
|
@@ -38623,13 +38713,14 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38623
38713
|
}
|
|
38624
38714
|
throw new ProvisioningError(maskSecrets(`Replica ${region} for table ${maskSecrets(tableName)} did not disappear within ${wait.pollsRun}s${wait.note()}`), "AWS::DynamoDB::GlobalTable", logicalId, tableName);
|
|
38625
38715
|
}
|
|
38626
|
-
async waitForTableGone(tableName, logicalId, maxAttempts = 600, budget) {
|
|
38716
|
+
async waitForTableGone(tableName, logicalId, maxAttempts = 600, budget, mask = (text) => text) {
|
|
38717
|
+
const shownName = mask(tableName);
|
|
38627
38718
|
const wait = beginDeleteWait(maxAttempts, budget);
|
|
38628
|
-
const watch = startInterruptWatch(`DynamoDB table ${
|
|
38719
|
+
const watch = startInterruptWatch(mask(`DynamoDB table ${shownName} deletion wait`));
|
|
38629
38720
|
try {
|
|
38630
38721
|
while (wait.nextPoll()) {
|
|
38631
38722
|
if (watch.isInterrupted()) {
|
|
38632
|
-
this.logger.warn(`DynamoDB GlobalTable ${logicalId}: interrupted while waiting for ${
|
|
38723
|
+
this.logger.warn(mask(`DynamoDB GlobalTable ${logicalId}: interrupted while waiting for ${shownName} to disappear. AWS ACCEPTED the DeleteTable and will finish it; cdkd stopped watching.`));
|
|
38633
38724
|
return;
|
|
38634
38725
|
}
|
|
38635
38726
|
try {
|
|
@@ -38644,10 +38735,10 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38644
38735
|
watch.dispose();
|
|
38645
38736
|
}
|
|
38646
38737
|
if (wait.cutShort) {
|
|
38647
|
-
this.logger.warn(`DynamoDB GlobalTable ${logicalId}: DeleteTable on ${
|
|
38738
|
+
this.logger.warn(mask(`DynamoDB GlobalTable ${logicalId}: DeleteTable on ${shownName} was ACCEPTED by AWS but cdkd stopped waiting for the table to disappear${wait.note()} The delete completes on AWS's side; a later describe (or a re-run of this destroy) sees it gone.`));
|
|
38648
38739
|
return;
|
|
38649
38740
|
}
|
|
38650
|
-
throw new ProvisioningError(`Table ${
|
|
38741
|
+
throw new ProvisioningError(mask(`Table ${shownName} did not disappear within ${wait.pollsRun}s${wait.note()}`), "AWS::DynamoDB::GlobalTable", logicalId, tableName);
|
|
38651
38742
|
}
|
|
38652
38743
|
};
|
|
38653
38744
|
function refuseMalformedReplicaTags(properties, resourceType, logicalId, physicalId) {
|
|
@@ -41928,15 +42019,16 @@ async function updateByReplacement({ change, counts, currentProps, currentResour
|
|
|
41928
42019
|
const recreateFinalSnapshotId = await this.prepareFinalSnapshotForDelete(logicalId, oldResourceType, currentResource, updateReplacePolicy);
|
|
41929
42020
|
let recreateDeleteResult;
|
|
41930
42021
|
try {
|
|
41931
|
-
recreateDeleteResult = await oldDeleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, currentResource.properties, {
|
|
42022
|
+
recreateDeleteResult = await withPrintingSecrets(updateSecrets, () => oldDeleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, currentResource.properties, {
|
|
41932
42023
|
expectedRegion: this.stackRegion,
|
|
41933
42024
|
forceDataDelete: this.options.forceStatefulRecreation === true,
|
|
41934
42025
|
...recreateFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: recreateFinalSnapshotId },
|
|
41935
42026
|
...this.replacementDeleteContext(updateReplacePolicy),
|
|
41936
42027
|
recordedAttributes: currentResource.attributes,
|
|
41937
42028
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
41938
|
-
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues }
|
|
41939
|
-
|
|
42029
|
+
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
42030
|
+
maskSecrets: createUnionSecretMasker([updateSecrets, this.secretNameBagFor(logicalId)])
|
|
42031
|
+
}));
|
|
41940
42032
|
} catch (deleteError) {
|
|
41941
42033
|
throw new Error(maskSecretsInText(`Failed to destroy old resource ${logicalId} (${currentResource.physicalId}) during ${recreateFlagName}: ${deleteError instanceof Error ? deleteError.message : String(deleteError)}`, updateSecrets), { cause: deleteError instanceof Error ? maskSecretsInError(deleteError, updateSecrets) : void 0 });
|
|
41942
42034
|
}
|
|
@@ -42169,15 +42261,16 @@ async function updateInPlace({ conditions, counts, currentProps, currentPropsAsW
|
|
|
42169
42261
|
const fallbackFinalSnapshotId = await this.prepareFinalSnapshotForDelete(logicalId, resourceType, currentResource, fallbackUpdateReplacePolicy);
|
|
42170
42262
|
let fallbackDeleteResult = void 0;
|
|
42171
42263
|
try {
|
|
42172
|
-
fallbackDeleteResult = await updateProvider.delete(logicalId, currentResource.physicalId, resourceType, currentProps, {
|
|
42264
|
+
fallbackDeleteResult = await withPrintingSecrets(updateSecrets, () => updateProvider.delete(logicalId, currentResource.physicalId, resourceType, currentProps, {
|
|
42173
42265
|
expectedRegion: this.stackRegion,
|
|
42174
42266
|
forceDataDelete: this.options.forceStatefulRecreation === true,
|
|
42175
42267
|
...fallbackFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: fallbackFinalSnapshotId },
|
|
42176
42268
|
...this.replacementDeleteContext(fallbackUpdateReplacePolicy),
|
|
42177
42269
|
recordedAttributes: currentResource.attributes,
|
|
42178
42270
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
42179
|
-
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues }
|
|
42180
|
-
|
|
42271
|
+
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
42272
|
+
maskSecrets: createUnionSecretMasker([updateSecrets, this.secretNameBagFor(logicalId)])
|
|
42273
|
+
}));
|
|
42181
42274
|
} catch (deleteError) {
|
|
42182
42275
|
const deleteMsg = deleteError instanceof Error ? deleteError.message : String(deleteError);
|
|
42183
42276
|
if (!isWaitAbandonedError(deleteError) && !isInterruptedWaitError(deleteError) && !isMarkedNonRetryable(deleteError) && (deleteMsg.includes("does not exist") || deleteMsg.includes("not found") || deleteMsg.includes("NotFound"))) this.logger.debug(`Old resource ${logicalId} already gone, proceeding with CREATE`);
|
|
@@ -42499,7 +42592,8 @@ Drop the record with: ${dropCommand}`);
|
|
|
42499
42592
|
deletionPolicy: governingPolicy ?? "Delete",
|
|
42500
42593
|
...this.options.skipFinalSnapshot === true && { skipFinalSnapshot: true },
|
|
42501
42594
|
recordedAttributes: currentResource.attributes,
|
|
42502
|
-
recordedNoEchoLeaves: currentResource.noEchoLeaves
|
|
42595
|
+
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
42596
|
+
maskSecrets: createUnionSecretMasker([this.secretNameBagFor(logicalId)])
|
|
42503
42597
|
}), logicalId, 3, 5e3, deleteProvider);
|
|
42504
42598
|
} catch (deleteError) {
|
|
42505
42599
|
const msg = deleteError instanceof Error ? deleteError.message : String(deleteError);
|
|
@@ -45557,5 +45651,5 @@ DeployEngine.prototype.replacementNameOrigin = replacementNameOrigin;
|
|
|
45557
45651
|
DeployEngine.prototype.orphanedNameCollisionAdvice = orphanedNameCollisionAdvice;
|
|
45558
45652
|
|
|
45559
45653
|
//#endregion
|
|
45560
|
-
export { isTruthyCfnBoolean as $, isStatefulRecreateTargetForReplace as $a, warnDeprecatedNoPrefixCliFlag as $c, malformedOrphansRefusalMessage as $i, ledgerForStack as $n, markSameGenerationBag as $o, sendableAssumeRoleCommand as $r, AssetPublisher as $s, seedsDeleteFirstGuard as $t, noEchoComparisonForTemplate as A, refuseMalformedResourcesForDeploy as Aa, redactDockerArgvValues as Ac, declaresNoEcho as Ai, journaledOrphanPrintingBag as An, maskWholeValue as Ao, deleteIndeterminateGuards as Ar, LockManager as As, dropFailedHint as At, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as B, unpreviewableOrphanRecords as Ba, Synthesizer as Bc, hasReadableOutputs as Bi, PRE_DELETE_SNAPSHOT_TYPES as Bn, carryLogOnlyValues as Bo, reDisableInstanceApiTermination as Br, splitImportedOps as Bs, getStackRecords as Bt, recordRetainedForReadoption as C, refuseMalformedResourceEntriesForImport as Ca, dockerSpawnEnvWithSensitive as Cc, cfnRefValueFromPhysicalId as Ci, renderAssemblyPathEscape as Cl, collectDeclaredOutputNames as Cn, sameLambdaFunctionAddress as Co, applyCustomResourceResponseExpiration as Cr, wholeStringLeavesOf as Cs, revertNestedChildFromJournal as Ct, withResourceDeadline as D, refuseMalformedResourcePropertiesForDrift as Da, isDockerClientEnvKey as Dc, withSharedDrainBudget as Di, DEFAULT_RESOURCE_TIMEOUT_MS as Dn, isMarkedCoordinate as Do, unchangedBehindSecretReference as Dr, TEMPLATE_SOURCED_RULES as Ds, getCurrentNestedStackContext as Dt, serviceTokenBlockingReason as E, refuseMalformedResourcePropertiesForDestroy as Ea, getDockerCmd as Ec, parseWebACLArn as Ei, resolveBucketRegion as El, bindingSkippedOutputs as En, canonicalCoordinates as Eo, slowCcOperationTimeoutMs as Er, STATE_SOURCED_READBACK_RULES as Es, collectNestedChildUnaddressed as Et, PROTECTION_PROPERTY_BY_TYPE as F, repairMalformedOrphansForReadOnly as Fa, escapeRegExp$3 as Fc, UNREADABLE_RESOURCES_MAP_ROW as Fi, secretNamedRecordNeedles as Fn, passedNoEchoParametersOf as Fo, markWaitAbandoned as Fr, CrossPrefixScanCache as Fs, sameJournaledOrphans as Ft, resolveDynamoDbDeleteBudgetMs as G, findSilentDropProperties as Ga, resolveApp as Gc, malformedExportNamesWarning as Gi, isFinalSnapshotError as Gn, printingCorpusOf as Go, poisonRenderedSpellingsCollidingIn as Gr, hasReasonlessBaselineRefusal as Gs, isJournaledOrphan as Gt, compensateRemovedDeletionProtection as H, unreadableResourceEntries as Ha, getDefaultStateBucketName as Hc, isReadableOrphanRecord as Hi, ccRoutedFinalSnapshotError as Hn, hasMaskableValues as Ho, DiffCalculator as Hr, describeRegionValueKind as Hs, removeProtectionTypeList as Ht, isProtectionValueActive as I, repairMalformedOutputsForReadOnly as Ia, stripControlChars as Ic, accountArgs as Ii, stateSecretNameNeedles as In, readbackPathFor as Io, disableInstanceApiTermination as Ir, applyCrossPrefixScan as Is, replayFailedOperations as It, deleteTableWithIndexBusyRetry as J, NO_CC_HANDLERS_REASON as Ja, resolveSkipPrefix as Jc, malformedLocalResourceEntriesWarning as Ji, maskingRetryLogger as Jn, shareLogOnlyValues as Jo, applyRoleArnIfSet as Jr, importableOutputs as Js, planRollback as Jt, DELETE_INDEX_WAIT_PROCEED_NOTE as K, unwrittenCreateOnlyReplacement as Ka, resolveAutoAssetStorage as Kc, malformedExportSourceWarning as Ki, refusesFinalSnapshot as Kn, recordLogOnlyParameterValue as Ko, producerLookupOver as Kr, hasUnverifiableParameterRefusal as Ks, isReplacementOrphan as Kt, perType as L, repairMalformedResourceEntriesForReadOnly as La, stripForDisplay as Lc, deployRefusesOrphanRowsReason as Li, storedSecretNameNeedles as Ln, readsNoEchoSource as Lo, ec2InstanceProtectionSite as Lr, crossPrefixDeniedWarning as Ls, replayRollback as Lt, noEchoParameterNamesOf as M, refuseMalformedResourcesForExport as Ma, runDockerForeground as Mc, STATE_REGION_DIVERGED as Mi, orphanRecordsPrintingBag as Mn, noEchoCoordinatesOf as Mo, deleteSkipReason as Mr, S3StateBackend as Ms, journaledOrphanLines as Mt, recordedProtectionEvidence as N, refuseMalformedState as Na, runDockerStreaming as Nc, STATE_RESOURCES_MALFORMED as Ni, secretNamePrintingBag as Nn, noEchoLeavesOf as No, withIndeterminateGuard as Nr, rebuildClientForBucketRegion as Ns, loadJournaledOrphans as Nt, diffSecurity as O, refuseMalformedResourcePropertiesForExport as Oa, isMalformedEnvKey as Oc, parameterInputsFor as Oi, DEFAULT_RESOURCE_WARN_AFTER_MS as On, maskAtCoordinates as Oo, RollbackInlinePolicyWriters as Or, WHOLE_DYNAMIC_REFERENCE_PATTERN as Os, withNestedStackContext as Ot, recordedProtectionNote as P, repairMalformedOrphanRecordsForReadOnly as Pa, warnFinchArgvExposure as Pc, UNREADABLE_ORPHANS_CONTAINER_ROW as Pi, secretNamePrintingBags as Pn, noEchoOutputsComparison as Po, isWaitAbandonedError as Pr, CrossPrefixReadError as Ps, makeForeignHolderScan as Pt, hasCdkAutoDeleteTag as Q, MULTI_REGION_RECREATE_BLOCKED_TYPES as Qa, stateBucketExistenceConfirmed as Qc, malformedOrphanRowsKeptWarning as Qi, earliestDefined as Qn, maskSecretsInText as Qo, isIamRoleArn as Qr, shouldRetainResource as Qs, resolveReplacementOldType as Qt, readProtection as R, repairMalformedResourcePropertiesForReadOnly as Ra, AssetManifestLoader as Rc, displayLogicalId as Ri, extractDeploymentEventError as Rn, valueAtCoordinate as Ro, isTerminationProtectionPropagationError as Rr, isAccessDenied$1 as Rs, awaitInFlightSibling as Rt, keptForReadoption as S, refuseMalformedResourceEntriesForDestroy as Sa, describeDockerFailure as Sc, AWS_NO_VALUE as Si, displayAssemblyPath as Sl, noEchoParameterValueSeed as Sn, lambdaFunctionNameForMask as So, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as Sr, recordProvenPublicExpression as Ss, recordDisplacedSkips as St, findServiceTokenRefusals as T, refuseMalformedResourceEntriesForOrphan as Ta, formatDockerLoginError as Tc, refStateLookupFromResource as Ti, clearBucketRegionCache as Tl, isExportAliasCollision as Tn, TemplateParser as To, CloudControlProvider as Tr, STATE_SOURCED_CROSS_GENERATION_RULES as Ts, withNestedRevertRun as Tt, deleteBudgetKey as U, withheldAccountClause as Ua, getLegacyStateBucketName as Uc, isReadableResourceEntry as Ui, createPreDeleteFinalSnapshot as Un, literalSplitDelimitersOf as Uo, INTRINSIC_KEYS as Ur, exportNamesCarriedFrom as Us, recordAfterRollbackUpdate as Ut, beginDeleteWait as V, unreadableOrphanRecords as Va, synthesisStatusMessage as Vc, hasReadableResources as Vi, buildFinalSnapshotIdentifier as Vn, createUnionSecretMasker as Vo, reEnableInstanceApiTermination as Vr, acceptedCreateOnlyDropsOf as Vs, withStackRecords as Vt, resolveDynamoDbDeleteBudgetClock as W, findActionableSilentDrops as Wa, loadCdkJson as Wc, malformedDriftResourcePropertiesWarning as Wi, effectiveDeletionPolicy as Wn, logOnlyValueCount as Wo, IntrinsicFunctionResolver as Wr, hasReadableExportSet as Ws, demoteSupersededOrphans as Wt, ECR_AUTO_DELETE_IMAGES_TAG as X, findReplacedReadersOfRecreateTargets as Xa, resolveStateBucketWithDefaultAndSource as Xc, malformedOrphanRecordsRefusalMessage as Xi, findDestructiveChanges as Xn, errorCauseChain as Xo, assertSendableRoleArn as Xr, orphansAfterRollback as Xs, recordUnderIdIsNotOwn as Xt, waitForIndexesSettled as Y, hasNoCloudControlHandlers as Ya, resolveStateBucketWithDefault as Yc, malformedLocalResourcesWarning as Yi, constructPathOf as Yn, createSecretMasker as Yo, assertFlagRoleArn as Yr, isReadableBag as Ys, recheckFailedPlan as Yt, S3_AUTO_DELETE_OBJECTS_TAG as Z, shownType as Za, resolveUseCdkBootstrapAssets as Zc, malformedOrphanRecordsWarning as Zi, formatDestructiveChange as Zn, maskSecretsInError as Zo, explicitRoleArnOrThrow as Zr, orphansCarriedFrom as Zs, replacementNeverSwapped as Zt, makeCanonicalizePropertiesFn as _, refuseMalformedOutputs as _a, buildDenyExternalAccessPolicy as _c, isImpossibleEmptyStoredAttribute as _i, hasPlainPrototype$1 as _l, secretSafeKeyDisplay as _n, prefetchCreateOnlyPropertyPaths as _o, TemplateNoEchoReresolver as _r, provenPublicValue as _s, displacedOpClause as _t, findNestedTemplateTreeDefect as a, malformedResourcePropertiesWarning as aa, loadPublishableAssetManifest as ac, s3BucketArn as ai, uploadCfnTemplate as al, isRedactedRecordedValue as an, toCfnInteger as ao, planTagDiff as ar, dynamicReferenceTokens as as, cyan as at, lookupEachName as b, refuseMalformedResourceEntries as ba, describeDockerCapturedOutput as bc, isNamelessDynamicReferenceError as bi, absoluteAssemblyPathEscape as bl, exportNameSecretExposure as bn, withRetry as bo, getCurrentResourceSecrets as br, recordNoEchoAttributeValues as bs, getNestedRevertRun as bt, renderNestedTemplateTreeDefect as c, malformedStateRefusalMessage as ca, BOOTSTRAP_MARKER_PREFIX as cc, s3BucketRegionalDomainName as ci, expectedOwnerParam as cl, updatePartialMessage as cn, coerceCfnInteger as co, tagMapAsList as cr, identityKeyFor as cs, red as ct, conditionInputsFrom as d, refuseMalformedNestedChildOutputs as da, getBootstrapMarkerKey as dc, producerRegionsFromState as di, derivePartitionAndUrlSuffix as dl, DeploymentEventsStore as dn, configStringRefusal as do, stringifyIfAssigned as dr, recoverMaskedOutput as ds, namesAnyDeclaredParameter as dt, malformedOrphansWarning as ea, isSensitiveAttributeName as ec, AWS_CREDENTIAL_ENV_KEYS as ei, ssmResolvedValueType as el, orphanDeleteNeedsIdentity as en, isStatefulRecreateTargetSync as eo, reserveStackCreateToken as er, redactSecretsForState as es, getPriorAttempts as et, parentSuppliedValues as f, refuseMalformedOrphanRecords as fa, isCrossRegionRedirect as fc, regionLessSecretName as fi, AssemblyReader as fl, WITHHELD_NAME_DISPLAY as fn, readConfigString as fo, CC_BROKEN_REASON as fr, physicalNameCopiesOf as fs, reachableDivergentParameters as ft, mergeNoChangeOutputs as g, refuseMalformedOrphansForOrphan as ga, validateContainerRepoName as gc, getAccountInfo as gi, hasOwnKey as gl, secretBearingStateKeyWarning as gn, requireConfigString as go, wouldReturnToSdkProvider as gr, carriesSecretMask as gs, NESTED_PENDING_PARENT_REASON as gt, keptWholeReasonText as h, refuseMalformedOrphansForDestroy as ha, validateAssetBucketName as hc, parameterTypeMayLoseSecretIdentity as hi, defineOwnKey as hl, secretBearing as hn, requireConfigObject as ho, isCustomResource as hr, splitGetAttStringForm as hs, planOrphanAdoption as ht, childTemplateLoader as i, malformedResourceEntriesWarning as ia, createAssetRedirectResolver as ic, isSettledInstanceState as ii, findLargeInlineResources as il, REDACTED_DELETE_ADDRESS_SKIP_REASON as in, isWarmThroughputDecrease as io, DBPROXY_TAG_OPTIONS as ir, DYNAMIC_REFERENCE_TOKEN_SCAN as is, bold as it, noEchoExactEchoLeavesOf as j, refuseMalformedResourcesForDestroy as ja, redactedDockerCause as jc, JSON_LISTING_HOLE_VALUE as ji, maskEventTextWithBoundBags as jn, maskedLeafCoordinatesOf as jo, deleteLeftInPlace as jr, isLockInfoExpired as js, isHandledOrphan as jt, noEchoAttributeNamesOf as k, refuseMalformedResourcePropertiesForOrphan as ka, partitionSensitiveEnv as kc, passedParameterClassesOf as ki, completedReplayEntries as kn, maskReadbackAtCoordinates as ko, UNSPECIFIED_SKIP_REASON as kr, isSingleDynamicReferenceToken as ks, deleteJournaledOrphans as kt, templateIdentity as l, previewableOrphanRecords as la, assertAssetBucketRegion as lc, s3BucketWebsiteUrl as li, PARTITION_TABLE as ll, updatePartialReason as ln, configBooleanRefusal as lo, tagPlanWarning as lr, inheritNestedStackParameterAssociations as ls, yellow as lt, isSecretBearingReferenceString as m, refuseMalformedOrphans as ma, readBootstrapMarkerBody as mc, isUnboundTemplateParameter as mi, processStackMessages as ml, exportAliasCollisionScrubWarning as mn, requireConfigArray as mo, ccBrokenReason as mr, recordPhysicalNameCopy as ms, makeSiblingClaimReader as mt, IMPLICIT_DELETE_DEPENDENCIES as n, malformedOutputsWarning as na, WorkGraph as nc, callerEnvCredentials as ni, CFN_TEMPLATE_URL_LIMIT as nl, getCurrentProducerRegions as nn, WARM_THROUGHPUT_MEMBERS as no, acquireIdempotencyToken as nr, withPhysicalNameCopies as ns, formatResourceLine as nt, isAbsoluteAssetPath as o, malformedResourcesWarning as oa, rewriteTemplateAssetReferences as oc, s3BucketDomainName as oi, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as ol, redactedDeleteAddressFields as on, toFiniteNumber as oo, readTagList as or, isUncertifiedBaselineMaskPosition as os, gray as ot, readRecordedConditionVerdicts as p, refuseMalformedOrphanRecordsForDestroy as pa, parseBootstrapMarker as pc, coerceParameterTypedValue as pi, StageLoadError as pl, displayTextOrWithheld as pn, replayWarn as po, ProviderRegistry as pr, recordAttributeIdCopy as ps, resourcesNamingDeclaredParameter as pt, INDEX_SETTLE_POLL_INTERVAL_MS as q, withoutSilentDropProperties as qa, resolveCaptureObservedState as qc, malformedLocalOutputsWarning as qi, unsupportedFinalSnapshotError as qn, recordLogOnlyValue as qo, refuseUnreadableCdkCrossAccountRefs as qr, importableOutputKeys as qs, planFailedOps as qt, computeImplicitDeleteEdges as r, malformedRenderedContainersWarning as ra, buildAssetRedirectMap as rc, envCredentialsAreAssumedRole as ri, MIGRATE_TMP_PREFIX as rl, inheritProducerRegions as rn, coerceWarmThroughput as ro, DBPROXY_TAGS_WHAT as rr, withoutPhysicalNameCopies as rs, createReadOnlyAttributeHealerFactory as rt, listNestedTemplateRows as s, malformedScrubResourceEntriesRefusalMessage as sa, AssetModeResolver as sc, s3BucketDualStackDomainName as si, decodeListingKey as sl, redactedDeleteAddressSkip as sn, coerceCfnBoolean as so, refuseMalformedDesiredTags as sr, pathCrossesDottedKey as ss, green as st, DeployEngine as t, malformedOutputsRefusalMessage as ta, stringifyValue as tc, applyCallerIdentityCredentials as ti, CFN_TEMPLATE_BODY_LIMIT as tl, findNestedStackTypeChanges as tn, renderStatefulReason as to, withCreateTokenLedger as tr, scrubResourceRecord as ts, markRefusedBeforeApplying as tt, conditionFingerprint as u, refuseDivergentRecordRegionForDestroy as ua, ensureAssetStorage as uc, classifyReplaySecretRegion as ui, canonicalizeRegion as ul, DeploymentEventsReader as un, configIntegerRefusal as uo, definedAttributes as ur, recordNestedStackParameterExpressions as us, computeParameterTaint as ut, chunks as v, refuseMalformedOutputsForDestroy as va, buildDockerImage as vc, carriesDynamicReference as vi, nullPrototypeRecord as vl, carriedExportAliasExposure as vn, templateResourceTypes as vo, readsNoEchoDeleteValues as vr, recordMaskOnlyValue as vs, displacedPhysicalIdShown as vt, deferredServiceTokenWarning as w, refuseMalformedResourceEntriesForImportSave as wa, finchSecretArgvRefusal as wc, isStalePlaceholderArnAttribute as wi, resolveAssemblyPath as wl, collectPublishedOutputNames as wn, DagBuilder as wo, customResourceResponseExpirationWarning as wr, STATE_SOURCED_BASELINE_RULES as ws, revertedNestedRowIds as wt, withApiLimit as x, refuseMalformedResourceEntriesForDeploy as xa, describeDockerExecFailure as xc, keepsSecretReferenceToken as xi, describeFileReadFailure as xl, isWholeDynamicReferenceValue as xn, canonicalLambdaFunctionName as xo, withPrintingSecrets as xr, recordNoEchoParameterFreshValue as xs, nestedChildStackName as xt, isAccessDeniedError as y, refuseMalformedResourceAttributesForOrphan as ya, resolveDockerContextDirectory as yc, carriesFetchableDynamicReference as yi, ownValue as yl, exportNameNoEchoParameters as yn, describeTypeWithThrottleRetry as yo, isCustomResourceType as yr, recordMaskOnlyValuesIn as ys, dropSettledNestedJournals as yt, DynamoDBGlobalTableProvider as z, repairMalformedResourcesForReadOnly as za, getDockerImageBySourceHash as zc, hasReadableOrphans as zi, ATOMIC_FINAL_SNAPSHOT_TYPES as zn, liveMatchesUnresolvedTokenFrame as zo, observeThenDisableInstanceApiTermination as zr, isNotImplemented as zs, destroyStackRecordsView as zt };
|
|
45561
|
-
//# sourceMappingURL=deploy-engine-
|
|
45654
|
+
export { isTruthyCfnBoolean as $, isStatefulRecreateTargetForReplace as $a, warnDeprecatedNoPrefixCliFlag as $c, malformedOrphansRefusalMessage as $i, ledgerForStack as $n, markSameGenerationBag as $o, sendableAssumeRoleCommand as $r, AssetPublisher as $s, seedsDeleteFirstGuard as $t, noEchoComparisonForTemplate as A, refuseMalformedResourcesForDeploy as Aa, redactDockerArgvValues as Ac, declaresNoEcho as Ai, journaledOrphanPrintingBag as An, maskWholeValue as Ao, deleteIndeterminateGuards as Ar, LockManager as As, dropFailedHint as At, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as B, unpreviewableOrphanRecords as Ba, Synthesizer as Bc, hasReadableOutputs as Bi, PRE_DELETE_SNAPSHOT_TYPES as Bn, carryLogOnlyValues as Bo, reDisableInstanceApiTermination as Br, splitImportedOps as Bs, getStackRecords as Bt, recordRetainedForReadoption as C, refuseMalformedResourceEntriesForImport as Ca, dockerSpawnEnvWithSensitive as Cc, cfnRefValueFromPhysicalId as Ci, renderAssemblyPathEscape as Cl, collectDeclaredOutputNames as Cn, sameLambdaFunctionAddress as Co, applyCustomResourceResponseExpiration as Cr, wholeStringLeavesOf as Cs, revertNestedChildFromJournal as Ct, withResourceDeadline as D, refuseMalformedResourcePropertiesForDrift as Da, isDockerClientEnvKey as Dc, withSharedDrainBudget as Di, clearBucketRegionCache as Dl, DEFAULT_RESOURCE_TIMEOUT_MS as Dn, isMarkedCoordinate as Do, unchangedBehindSecretReference as Dr, TEMPLATE_SOURCED_RULES as Ds, getCurrentNestedStackContext as Dt, serviceTokenBlockingReason as E, refuseMalformedResourcePropertiesForDestroy as Ea, getDockerCmd as Ec, parseWebACLArn as Ei, injectedAwsRegionValue as El, bindingSkippedOutputs as En, canonicalCoordinates as Eo, slowCcOperationTimeoutMs as Er, STATE_SOURCED_READBACK_RULES as Es, collectNestedChildUnaddressed as Et, PROTECTION_PROPERTY_BY_TYPE as F, repairMalformedOrphansForReadOnly as Fa, escapeRegExp$3 as Fc, UNREADABLE_RESOURCES_MAP_ROW as Fi, secretNamedRecordNeedles as Fn, passedNoEchoParametersOf as Fo, markWaitAbandoned as Fr, CrossPrefixScanCache as Fs, sameJournaledOrphans as Ft, resolveDynamoDbDeleteBudgetMs as G, findSilentDropProperties as Ga, resolveApp as Gc, malformedExportNamesWarning as Gi, isFinalSnapshotError as Gn, printingCorpusOf as Go, poisonRenderedSpellingsCollidingIn as Gr, hasReasonlessBaselineRefusal as Gs, isJournaledOrphan as Gt, compensateRemovedDeletionProtection as H, unreadableResourceEntries as Ha, getDefaultStateBucketName as Hc, isReadableOrphanRecord as Hi, ccRoutedFinalSnapshotError as Hn, hasMaskableValues as Ho, DiffCalculator as Hr, describeRegionValueKind as Hs, removeProtectionTypeList as Ht, isProtectionValueActive as I, repairMalformedOutputsForReadOnly as Ia, stripControlChars as Ic, accountArgs as Ii, stateSecretNameNeedles as In, readbackPathFor as Io, disableInstanceApiTermination as Ir, applyCrossPrefixScan as Is, replayFailedOperations as It, deleteTableWithIndexBusyRetry as J, NO_CC_HANDLERS_REASON as Ja, resolveSkipPrefix as Jc, malformedLocalResourceEntriesWarning as Ji, maskingRetryLogger as Jn, shareLogOnlyValues as Jo, applyRoleArnIfSet as Jr, importableOutputs as Js, planRollback as Jt, DELETE_INDEX_WAIT_PROCEED_NOTE as K, unwrittenCreateOnlyReplacement as Ka, resolveAutoAssetStorage as Kc, malformedExportSourceWarning as Ki, refusesFinalSnapshot as Kn, recordLogOnlyParameterValue as Ko, producerLookupOver as Kr, hasUnverifiableParameterRefusal as Ks, isReplacementOrphan as Kt, perType as L, repairMalformedResourceEntriesForReadOnly as La, stripForDisplay as Lc, deployRefusesOrphanRowsReason as Li, storedSecretNameNeedles as Ln, readsNoEchoSource as Lo, ec2InstanceProtectionSite as Lr, crossPrefixDeniedWarning as Ls, replayRollback as Lt, noEchoParameterNamesOf as M, refuseMalformedResourcesForExport as Ma, runDockerForeground as Mc, STATE_REGION_DIVERGED as Mi, orphanRecordsPrintingBag as Mn, noEchoCoordinatesOf as Mo, deleteSkipReason as Mr, S3StateBackend as Ms, journaledOrphanLines as Mt, recordedProtectionEvidence as N, refuseMalformedState as Na, runDockerStreaming as Nc, STATE_RESOURCES_MALFORMED as Ni, secretNamePrintingBag as Nn, noEchoLeavesOf as No, withIndeterminateGuard as Nr, rebuildClientForBucketRegion as Ns, loadJournaledOrphans as Nt, diffSecurity as O, refuseMalformedResourcePropertiesForExport as Oa, isMalformedEnvKey as Oc, parameterInputsFor as Oi, resolveBucketRegion as Ol, DEFAULT_RESOURCE_WARN_AFTER_MS as On, maskAtCoordinates as Oo, RollbackInlinePolicyWriters as Or, WHOLE_DYNAMIC_REFERENCE_PATTERN as Os, withNestedStackContext as Ot, recordedProtectionNote as P, repairMalformedOrphanRecordsForReadOnly as Pa, warnFinchArgvExposure as Pc, UNREADABLE_ORPHANS_CONTAINER_ROW as Pi, secretNamePrintingBags as Pn, noEchoOutputsComparison as Po, isWaitAbandonedError as Pr, CrossPrefixReadError as Ps, makeForeignHolderScan as Pt, hasCdkAutoDeleteTag as Q, MULTI_REGION_RECREATE_BLOCKED_TYPES as Qa, stateBucketExistenceConfirmed as Qc, malformedOrphanRowsKeptWarning as Qi, earliestDefined as Qn, maskSecretsInText as Qo, isIamRoleArn as Qr, shouldRetainResource as Qs, resolveReplacementOldType as Qt, readProtection as R, repairMalformedResourcePropertiesForReadOnly as Ra, AssetManifestLoader as Rc, displayLogicalId as Ri, extractDeploymentEventError as Rn, valueAtCoordinate as Ro, isTerminationProtectionPropagationError as Rr, isAccessDenied$1 as Rs, awaitInFlightSibling as Rt, keptForReadoption as S, refuseMalformedResourceEntriesForDestroy as Sa, describeDockerFailure as Sc, AWS_NO_VALUE as Si, displayAssemblyPath as Sl, noEchoParameterValueSeed as Sn, lambdaFunctionNameForMask as So, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as Sr, recordProvenPublicExpression as Ss, recordDisplacedSkips as St, findServiceTokenRefusals as T, refuseMalformedResourceEntriesForOrphan as Ta, formatDockerLoginError as Tc, refStateLookupFromResource as Ti, injectAwsRegion as Tl, isExportAliasCollision as Tn, TemplateParser as To, CloudControlProvider as Tr, STATE_SOURCED_CROSS_GENERATION_RULES as Ts, withNestedRevertRun as Tt, deleteBudgetKey as U, withheldAccountClause as Ua, getLegacyStateBucketName as Uc, isReadableResourceEntry as Ui, createPreDeleteFinalSnapshot as Un, literalSplitDelimitersOf as Uo, INTRINSIC_KEYS as Ur, exportNamesCarriedFrom as Us, recordAfterRollbackUpdate as Ut, beginDeleteWait as V, unreadableOrphanRecords as Va, synthesisStatusMessage as Vc, hasReadableResources as Vi, buildFinalSnapshotIdentifier as Vn, createUnionSecretMasker as Vo, reEnableInstanceApiTermination as Vr, acceptedCreateOnlyDropsOf as Vs, withStackRecords as Vt, resolveDynamoDbDeleteBudgetClock as W, findActionableSilentDrops as Wa, loadCdkJson as Wc, malformedDriftResourcePropertiesWarning as Wi, effectiveDeletionPolicy as Wn, logOnlyValueCount as Wo, IntrinsicFunctionResolver as Wr, hasReadableExportSet as Ws, demoteSupersededOrphans as Wt, ECR_AUTO_DELETE_IMAGES_TAG as X, findReplacedReadersOfRecreateTargets as Xa, resolveStateBucketWithDefaultAndSource as Xc, malformedOrphanRecordsRefusalMessage as Xi, findDestructiveChanges as Xn, errorCauseChain as Xo, assertSendableRoleArn as Xr, orphansAfterRollback as Xs, recordUnderIdIsNotOwn as Xt, waitForIndexesSettled as Y, hasNoCloudControlHandlers as Ya, resolveStateBucketWithDefault as Yc, malformedLocalResourcesWarning as Yi, constructPathOf as Yn, createSecretMasker as Yo, assertFlagRoleArn as Yr, isReadableBag as Ys, recheckFailedPlan as Yt, S3_AUTO_DELETE_OBJECTS_TAG as Z, shownType as Za, resolveUseCdkBootstrapAssets as Zc, malformedOrphanRecordsWarning as Zi, formatDestructiveChange as Zn, maskSecretsInError as Zo, explicitRoleArnOrThrow as Zr, orphansCarriedFrom as Zs, replacementNeverSwapped as Zt, makeCanonicalizePropertiesFn as _, refuseMalformedOutputs as _a, buildDenyExternalAccessPolicy as _c, isImpossibleEmptyStoredAttribute as _i, hasPlainPrototype$1 as _l, secretSafeKeyDisplay as _n, prefetchCreateOnlyPropertyPaths as _o, TemplateNoEchoReresolver as _r, provenPublicValue as _s, displacedOpClause as _t, findNestedTemplateTreeDefect as a, malformedResourcePropertiesWarning as aa, loadPublishableAssetManifest as ac, s3BucketArn as ai, uploadCfnTemplate as al, isRedactedRecordedValue as an, toCfnInteger as ao, planTagDiff as ar, dynamicReferenceTokens as as, cyan as at, lookupEachName as b, refuseMalformedResourceEntries as ba, describeDockerCapturedOutput as bc, isNamelessDynamicReferenceError as bi, absoluteAssemblyPathEscape as bl, exportNameSecretExposure as bn, withRetry as bo, getCurrentResourceSecrets as br, recordNoEchoAttributeValues as bs, getNestedRevertRun as bt, renderNestedTemplateTreeDefect as c, malformedStateRefusalMessage as ca, BOOTSTRAP_MARKER_PREFIX as cc, s3BucketRegionalDomainName as ci, expectedOwnerParam as cl, updatePartialMessage as cn, coerceCfnInteger as co, tagMapAsList as cr, identityKeyFor as cs, red as ct, conditionInputsFrom as d, refuseMalformedNestedChildOutputs as da, getBootstrapMarkerKey as dc, producerRegionsFromState as di, derivePartitionAndUrlSuffix as dl, DeploymentEventsStore as dn, configStringRefusal as do, stringifyIfAssigned as dr, recoverMaskedOutput as ds, namesAnyDeclaredParameter as dt, malformedOrphansWarning as ea, isSensitiveAttributeName as ec, AWS_CREDENTIAL_ENV_KEYS as ei, ssmResolvedValueType as el, orphanDeleteNeedsIdentity as en, isStatefulRecreateTargetSync as eo, reserveStackCreateToken as er, redactSecretsForState as es, getPriorAttempts as et, parentSuppliedValues as f, refuseMalformedOrphanRecords as fa, isCrossRegionRedirect as fc, regionLessSecretName as fi, AssemblyReader as fl, WITHHELD_NAME_DISPLAY as fn, readConfigString as fo, CC_BROKEN_REASON as fr, physicalNameCopiesOf as fs, reachableDivergentParameters as ft, mergeNoChangeOutputs as g, refuseMalformedOrphansForOrphan as ga, validateContainerRepoName as gc, getAccountInfo as gi, hasOwnKey as gl, secretBearingStateKeyWarning as gn, requireConfigString as go, wouldReturnToSdkProvider as gr, carriesSecretMask as gs, NESTED_PENDING_PARENT_REASON as gt, keptWholeReasonText as h, refuseMalformedOrphansForDestroy as ha, validateAssetBucketName as hc, parameterTypeMayLoseSecretIdentity as hi, defineOwnKey as hl, secretBearing as hn, requireConfigObject as ho, isCustomResource as hr, splitGetAttStringForm as hs, planOrphanAdoption as ht, childTemplateLoader as i, malformedResourceEntriesWarning as ia, createAssetRedirectResolver as ic, isSettledInstanceState as ii, findLargeInlineResources as il, REDACTED_DELETE_ADDRESS_SKIP_REASON as in, isWarmThroughputDecrease as io, DBPROXY_TAG_OPTIONS as ir, DYNAMIC_REFERENCE_TOKEN_SCAN as is, bold as it, noEchoExactEchoLeavesOf as j, refuseMalformedResourcesForDestroy as ja, redactedDockerCause as jc, JSON_LISTING_HOLE_VALUE as ji, maskEventTextWithBoundBags as jn, maskedLeafCoordinatesOf as jo, deleteLeftInPlace as jr, isLockInfoExpired as js, isHandledOrphan as jt, noEchoAttributeNamesOf as k, refuseMalformedResourcePropertiesForOrphan as ka, partitionSensitiveEnv as kc, passedParameterClassesOf as ki, completedReplayEntries as kn, maskReadbackAtCoordinates as ko, UNSPECIFIED_SKIP_REASON as kr, isSingleDynamicReferenceToken as ks, deleteJournaledOrphans as kt, templateIdentity as l, previewableOrphanRecords as la, assertAssetBucketRegion as lc, s3BucketWebsiteUrl as li, PARTITION_TABLE as ll, updatePartialReason as ln, configBooleanRefusal as lo, tagPlanWarning as lr, inheritNestedStackParameterAssociations as ls, yellow as lt, isSecretBearingReferenceString as m, refuseMalformedOrphans as ma, readBootstrapMarkerBody as mc, isUnboundTemplateParameter as mi, processStackMessages as ml, exportAliasCollisionScrubWarning as mn, requireConfigArray as mo, ccBrokenReason as mr, recordPhysicalNameCopy as ms, makeSiblingClaimReader as mt, IMPLICIT_DELETE_DEPENDENCIES as n, malformedOutputsWarning as na, WorkGraph as nc, callerEnvCredentials as ni, CFN_TEMPLATE_URL_LIMIT as nl, getCurrentProducerRegions as nn, WARM_THROUGHPUT_MEMBERS as no, acquireIdempotencyToken as nr, withPhysicalNameCopies as ns, formatResourceLine as nt, isAbsoluteAssetPath as o, malformedResourcesWarning as oa, rewriteTemplateAssetReferences as oc, s3BucketDomainName as oi, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as ol, redactedDeleteAddressFields as on, toFiniteNumber as oo, readTagList as or, isUncertifiedBaselineMaskPosition as os, gray as ot, readRecordedConditionVerdicts as p, refuseMalformedOrphanRecordsForDestroy as pa, parseBootstrapMarker as pc, coerceParameterTypedValue as pi, StageLoadError as pl, displayTextOrWithheld as pn, replayWarn as po, ProviderRegistry as pr, recordAttributeIdCopy as ps, resourcesNamingDeclaredParameter as pt, INDEX_SETTLE_POLL_INTERVAL_MS as q, withoutSilentDropProperties as qa, resolveCaptureObservedState as qc, malformedLocalOutputsWarning as qi, unsupportedFinalSnapshotError as qn, recordLogOnlyValue as qo, refuseUnreadableCdkCrossAccountRefs as qr, importableOutputKeys as qs, planFailedOps as qt, computeImplicitDeleteEdges as r, malformedRenderedContainersWarning as ra, buildAssetRedirectMap as rc, envCredentialsAreAssumedRole as ri, MIGRATE_TMP_PREFIX as rl, inheritProducerRegions as rn, coerceWarmThroughput as ro, DBPROXY_TAGS_WHAT as rr, withoutPhysicalNameCopies as rs, createReadOnlyAttributeHealerFactory as rt, listNestedTemplateRows as s, malformedScrubResourceEntriesRefusalMessage as sa, AssetModeResolver as sc, s3BucketDualStackDomainName as si, decodeListingKey as sl, redactedDeleteAddressSkip as sn, coerceCfnBoolean as so, refuseMalformedDesiredTags as sr, pathCrossesDottedKey as ss, green as st, DeployEngine as t, malformedOutputsRefusalMessage as ta, stringifyValue as tc, applyCallerIdentityCredentials as ti, CFN_TEMPLATE_BODY_LIMIT as tl, findNestedStackTypeChanges as tn, renderStatefulReason as to, withCreateTokenLedger as tr, scrubResourceRecord as ts, markRefusedBeforeApplying as tt, conditionFingerprint as u, refuseDivergentRecordRegionForDestroy as ua, ensureAssetStorage as uc, classifyReplaySecretRegion as ui, canonicalizeRegion as ul, DeploymentEventsReader as un, configIntegerRefusal as uo, definedAttributes as ur, recordNestedStackParameterExpressions as us, computeParameterTaint as ut, chunks as v, refuseMalformedOutputsForDestroy as va, buildDockerImage as vc, carriesDynamicReference as vi, nullPrototypeRecord as vl, carriedExportAliasExposure as vn, templateResourceTypes as vo, readsNoEchoDeleteValues as vr, recordMaskOnlyValue as vs, displacedPhysicalIdShown as vt, deferredServiceTokenWarning as w, refuseMalformedResourceEntriesForImportSave as wa, finchSecretArgvRefusal as wc, isStalePlaceholderArnAttribute as wi, resolveAssemblyPath as wl, collectPublishedOutputNames as wn, DagBuilder as wo, customResourceResponseExpirationWarning as wr, STATE_SOURCED_BASELINE_RULES as ws, revertedNestedRowIds as wt, withApiLimit as x, refuseMalformedResourceEntriesForDeploy as xa, describeDockerExecFailure as xc, keepsSecretReferenceToken as xi, describeFileReadFailure as xl, isWholeDynamicReferenceValue as xn, canonicalLambdaFunctionName as xo, withPrintingSecrets as xr, recordNoEchoParameterFreshValue as xs, nestedChildStackName as xt, isAccessDeniedError as y, refuseMalformedResourceAttributesForOrphan as ya, resolveDockerContextDirectory as yc, carriesFetchableDynamicReference as yi, ownValue as yl, exportNameNoEchoParameters as yn, describeTypeWithThrottleRetry as yo, isCustomResourceType as yr, recordMaskOnlyValuesIn as ys, dropSettledNestedJournals as yt, DynamoDBGlobalTableProvider as z, repairMalformedResourcesForReadOnly as za, getDockerImageBySourceHash as zc, hasReadableOrphans as zi, ATOMIC_FINAL_SNAPSHOT_TYPES as zn, liveMatchesUnresolvedTokenFrame as zo, observeThenDisableInstanceApiTermination as zr, isNotImplemented as zs, destroyStackRecordsView as zt };
|
|
45655
|
+
//# sourceMappingURL=deploy-engine-CO0EOAem.js.map
|