@go-to-k/cdkd 0.298.5 → 0.298.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{asg-provider-Cqpxk8Pl.js → asg-provider-C_6LflRi.js} +2 -2
- package/dist/{asg-provider-Cqpxk8Pl.js.map → asg-provider-C_6LflRi.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-Cqmlu_JG.js → deploy-engine-BhJ7GrCh.js} +94 -61
- package/dist/deploy-engine-BhJ7GrCh.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-DxbBY_JA.js} +20 -20
- package/dist/iam-role-provider-DxbBY_JA.js.map +1 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{neptune-provider-CpEImWxf.js → neptune-provider-Cxxs8Pug.js} +2 -2
- package/dist/{neptune-provider-CpEImWxf.js.map → neptune-provider-Cxxs8Pug.js.map} +1 -1
- package/dist/{program-CV-IVMYw.js → program-BYoddGM7.js} +6 -5
- package/dist/program-BYoddGM7.js.map +1 -0
- package/dist/{provider-classes-BvHGcxn6.js → provider-classes-BRNQRRLh.js} +91 -69
- package/dist/provider-classes-BRNQRRLh.js.map +1 -0
- package/dist/{rds-provider-DlzTjANF.js → rds-provider-Db42mU7e.js} +2 -2
- package/dist/{rds-provider-DlzTjANF.js.map → rds-provider-Db42mU7e.js.map} +1 -1
- package/dist/{version-B0fI6qqz.js → version-B28nhaco.js} +2 -2
- package/dist/{version-B0fI6qqz.js.map → version-B28nhaco.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-B28nhaco.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";
|
|
@@ -24885,18 +24885,18 @@ var CloudControlProvider = class {
|
|
|
24885
24885
|
return result;
|
|
24886
24886
|
} catch (error) {
|
|
24887
24887
|
idLog.addId(identifierCarriedBy(error));
|
|
24888
|
-
await this.cleanupFailedCreateRemnant(error, resourceType, logicalId);
|
|
24888
|
+
await this.cleanupFailedCreateRemnant(error, resourceType, logicalId, mask);
|
|
24889
24889
|
this.handleError(error, "CREATE", resourceType, logicalId);
|
|
24890
24890
|
}
|
|
24891
24891
|
}
|
|
24892
|
-
async cleanupFailedCreateRemnant(error, resourceType, logicalId) {
|
|
24892
|
+
async cleanupFailedCreateRemnant(error, resourceType, logicalId, mask) {
|
|
24893
24893
|
if (!(error instanceof CloudControlOperationFailedError)) return;
|
|
24894
24894
|
if (error.ccOperation !== "CREATE" || !error.physicalId) return;
|
|
24895
24895
|
if (error.ccErrorCode === "AlreadyExists") return;
|
|
24896
24896
|
if (error.ccErrorCode === "ResourceConflict") return;
|
|
24897
24897
|
this.logger.info(`CREATE of ${logicalId} failed after materializing ${error.physicalId}; deleting the remnant so a retry can re-create it`);
|
|
24898
24898
|
try {
|
|
24899
|
-
const cleanupResult = await this.delete(logicalId, error.physicalId, resourceType);
|
|
24899
|
+
const cleanupResult = await this.delete(logicalId, error.physicalId, resourceType, void 0, { maskSecrets: mask });
|
|
24900
24900
|
if (cleanupResult?.outcome === "skipped") {
|
|
24901
24901
|
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
24902
|
return;
|
|
@@ -25002,7 +25002,7 @@ var CloudControlProvider = class {
|
|
|
25002
25002
|
}
|
|
25003
25003
|
}
|
|
25004
25004
|
async delete(logicalId, physicalId, resourceType, properties, context) {
|
|
25005
|
-
const mask = maskerOrIdentity(
|
|
25005
|
+
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
25006
25006
|
const idLog = new IdScrubLog(this.logger, mask, holdsSecretDerivedLeaf(properties, mask));
|
|
25007
25007
|
idLog.addId(physicalId);
|
|
25008
25008
|
const result = await inIdLogScope(idLog, () => this.deleteInIdLogScope(logicalId, physicalId, resourceType, properties, context));
|
|
@@ -25027,7 +25027,7 @@ var CloudControlProvider = class {
|
|
|
25027
25027
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
25028
25028
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
25029
25029
|
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-
|
|
25030
|
+
const { ASGProvider } = await import("./asg-provider-C_6LflRi.js");
|
|
25031
25031
|
const delegateRegion = ambientRegion();
|
|
25032
25032
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
25033
25033
|
if (asgProvider === void 0) {
|
|
@@ -25133,7 +25133,7 @@ var CloudControlProvider = class {
|
|
|
25133
25133
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
25134
25134
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
25135
25135
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
25136
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
25136
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-Db42mU7e.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-Cxxs8Pug.js"))).NeptuneProvider({ region: ccRegion });
|
|
25137
25137
|
this.sdkDeleteDelegates.set(family, {
|
|
25138
25138
|
region: ccRegion,
|
|
25139
25139
|
provider
|
|
@@ -26500,7 +26500,11 @@ var TemplateNoEchoReresolver = class TemplateNoEchoReresolver {
|
|
|
26500
26500
|
|
|
26501
26501
|
//#endregion
|
|
26502
26502
|
//#region src/provisioning/providers/custom-resource-provider.ts
|
|
26503
|
-
|
|
26503
|
+
function deletePathMasker(callerMask, noEchoMask) {
|
|
26504
|
+
if (callerMask === void 0) return noEchoMask;
|
|
26505
|
+
if (noEchoMask === void 0) return callerMask;
|
|
26506
|
+
return (text) => callerMask(noEchoMask(text));
|
|
26507
|
+
}
|
|
26504
26508
|
const CR_NO_PROPERTIES_SKIP_REASON = "no properties in state — Delete handler not invoked";
|
|
26505
26509
|
const CR_NO_SERVICE_TOKEN_SKIP_REASON = "no ServiceToken in state — Delete handler not invoked";
|
|
26506
26510
|
const CR_MASKED_SERVICE_TOKEN_SKIP_REASON = "masked ServiceToken in state — Delete handler not invoked";
|
|
@@ -26996,7 +27000,7 @@ var CustomResourceProvider = class CustomResourceProvider {
|
|
|
26996
27000
|
reason: CR_MASKED_PROPERTIES_SKIP_REASON
|
|
26997
27001
|
};
|
|
26998
27002
|
}
|
|
26999
|
-
const deleteMask = payload === properties ?
|
|
27003
|
+
const deleteMask = deletePathMasker(context?.maskSecrets, payload === properties ? void 0 : reresolved?.maskSecrets);
|
|
27000
27004
|
const show = (text) => deleteMask === void 0 ? text : deleteMask(text);
|
|
27001
27005
|
if (!this.isSnsServiceToken(serviceToken) && await this.isBackingLambdaGone(serviceToken)) {
|
|
27002
27006
|
if (context?.stackDestroy === true) {
|
|
@@ -28939,7 +28943,7 @@ const PROPERTY_SHAPES = /* @__PURE__ */ new Map([
|
|
|
28939
28943
|
["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
28944
|
["AWS::AppSync::Resolver", "{\"CachingConfig\":\"object\",\"CachingConfig.CachingKeys\":\"array\",\"PipelineConfig\":\"object\",\"PipelineConfig.Functions\":\"array\",\"Runtime\":\"object\",\"SyncConfig\":\"object\",\"SyncConfig.LambdaConflictHandlerConfig\":\"object\"}"],
|
|
28941
28945
|
["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\"}"],
|
|
28946
|
+
["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
28947
|
["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
28948
|
["AWS::CertificateManager::Certificate", "{\"DomainValidationOptions\":\"array\",\"DomainValidationOptions[]\":\"object\",\"SubjectAlternativeNames\":\"array\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
28945
28949
|
["AWS::CloudFormation::Stack", "{\"Capabilities\":\"array\",\"NotificationARNs\":\"array\",\"Outputs\":\"array\",\"Outputs[]\":\"object\",\"Parameters\":\"object\",\"StackPolicyBody\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
@@ -30601,8 +30605,8 @@ function replayPrefixScope(input, logger, mask, restoring) {
|
|
|
30601
30605
|
const skip = choice.skipPrefix;
|
|
30602
30606
|
return (fn) => withSkipPrefix(skip, fn);
|
|
30603
30607
|
}
|
|
30604
|
-
function createOpMasker(logger, secrets) {
|
|
30605
|
-
const base = createMaskedLogSinks(logger, (text) => maskSecretsInText(text, secrets));
|
|
30608
|
+
function createOpMasker(logger, secrets, deployBag) {
|
|
30609
|
+
const base = createMaskedLogSinks(logger, deployBag === void 0 ? (text) => maskSecretsInText(text, secrets) : createUnionSecretMasker([secrets, deployBag]));
|
|
30606
30610
|
const pairs = [];
|
|
30607
30611
|
let sinks = base;
|
|
30608
30612
|
return {
|
|
@@ -31842,6 +31846,13 @@ var DeploymentEventsReader = class {
|
|
|
31842
31846
|
}
|
|
31843
31847
|
};
|
|
31844
31848
|
|
|
31849
|
+
//#endregion
|
|
31850
|
+
//#region src/deployment/rollback-executor/replay-scope.ts
|
|
31851
|
+
function withReplayDeletePrinting(scope, fn) {
|
|
31852
|
+
const deployBag = scope.ctx.logOnlyNeedlesFor?.(scope.op.logicalId);
|
|
31853
|
+
return withPrintingSecrets(scope.secrets, () => deployBag === void 0 ? fn() : withPrintingSecrets(deployBag, fn));
|
|
31854
|
+
}
|
|
31855
|
+
|
|
31845
31856
|
//#endregion
|
|
31846
31857
|
//#region src/deployment/update-outcome.ts
|
|
31847
31858
|
function updatePartialReason(result) {
|
|
@@ -32962,7 +32973,7 @@ async function replayDelete(s) {
|
|
|
32962
32973
|
const createRollbackClaimed = inlinePolicyWriters.claimedFor(op.resourceType, op.logicalId, stateResources);
|
|
32963
32974
|
const removeProtection = ctx.removeProtection === true;
|
|
32964
32975
|
const physicalId = op.physicalId;
|
|
32965
|
-
const deleteCreated = () => provider.delete(op.logicalId, physicalId, op.resourceType, op.properties, {
|
|
32976
|
+
const deleteCreated = () => withReplayDeletePrinting(s, () => provider.delete(op.logicalId, physicalId, op.resourceType, op.properties, {
|
|
32966
32977
|
expectedRegion: ctx.region,
|
|
32967
32978
|
...removeProtection && { removeProtection: true },
|
|
32968
32979
|
...createRollbackClaimed && { inlinePolicyClaimed: createRollbackClaimed },
|
|
@@ -32970,8 +32981,9 @@ async function replayDelete(s) {
|
|
|
32970
32981
|
...ctx.skipFinalSnapshot === true && { skipFinalSnapshot: true },
|
|
32971
32982
|
deletionPolicy: snapshotPolicy ? "Snapshot" : "Delete",
|
|
32972
32983
|
recordedAttributes: stateResources[op.logicalId]?.attributes,
|
|
32973
|
-
recordedNoEchoLeaves: stateResources[op.logicalId]?.noEchoLeaves
|
|
32974
|
-
|
|
32984
|
+
recordedNoEchoLeaves: stateResources[op.logicalId]?.noEchoLeaves,
|
|
32985
|
+
maskSecrets: mask
|
|
32986
|
+
}));
|
|
32975
32987
|
const createRollbackDelete = removeProtection ? await runDeleteAttempt(true, deleteCreated) : await deleteCreated();
|
|
32976
32988
|
throwIfDeleteSkipped(createRollbackDelete, op.logicalId, op.physicalId, "while rolling back its CREATE", {
|
|
32977
32989
|
ctx,
|
|
@@ -33027,14 +33039,15 @@ async function replayReadopt(s) {
|
|
|
33027
33039
|
});
|
|
33028
33040
|
const finalSnapshotIdentifier = rollbackFinalSnapshotId(op.resourceType, current, op.provisionedBy);
|
|
33029
33041
|
const readoptClaimed = inlinePolicyWriters.claimedFor(op.resourceType, op.logicalId, stateResources);
|
|
33030
|
-
const readoptDelete = await newDeleteProvider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33042
|
+
const readoptDelete = await withReplayDeletePrinting(s, () => newDeleteProvider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33031
33043
|
expectedRegion: ctx.region,
|
|
33032
33044
|
...readoptClaimed && { inlinePolicyClaimed: readoptClaimed },
|
|
33033
33045
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
33034
33046
|
deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
|
|
33035
33047
|
recordedAttributes: current.attributes,
|
|
33036
|
-
recordedNoEchoLeaves: current.noEchoLeaves
|
|
33037
|
-
|
|
33048
|
+
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
33049
|
+
maskSecrets: mask
|
|
33050
|
+
}));
|
|
33038
33051
|
throwIfDeleteSkipped(readoptDelete, op.logicalId, current.physicalId, "while reversing its replacement (re-adopting the retained old resource)", {
|
|
33039
33052
|
ctx,
|
|
33040
33053
|
stackName,
|
|
@@ -33229,19 +33242,22 @@ async function replayReverseReplacement(s) {
|
|
|
33229
33242
|
stateResources,
|
|
33230
33243
|
region: ctx.region,
|
|
33231
33244
|
logger,
|
|
33232
|
-
mask
|
|
33245
|
+
mask,
|
|
33246
|
+
ctx,
|
|
33247
|
+
secrets
|
|
33233
33248
|
};
|
|
33234
33249
|
const deleteNewResourceFirst = async (purpose) => {
|
|
33235
33250
|
const finalSnapshotIdentifier = rollbackFinalSnapshotId(op.resourceType, current, op.provisionedBy);
|
|
33236
33251
|
const deleteNewFirstRoute = resolveNewDeleteRoute();
|
|
33237
|
-
const deleteNewFirst = await deleteNewFirstRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33252
|
+
const deleteNewFirst = await withReplayDeletePrinting(s, () => deleteNewFirstRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33238
33253
|
expectedRegion: ctx.region,
|
|
33239
33254
|
...newCopyClaimed && { inlinePolicyClaimed: newCopyClaimed },
|
|
33240
33255
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
33241
33256
|
deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
|
|
33242
33257
|
recordedAttributes: current.attributes,
|
|
33243
|
-
recordedNoEchoLeaves: current.noEchoLeaves
|
|
33244
|
-
|
|
33258
|
+
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
33259
|
+
maskSecrets: mask
|
|
33260
|
+
}));
|
|
33245
33261
|
throwIfDeleteSkipped(deleteNewFirst, op.logicalId, current.physicalId, purpose, newDeleteGuardScope(deleteNewFirstRoute.provisionedBy));
|
|
33246
33262
|
delete stateResources[op.logicalId];
|
|
33247
33263
|
await afterOp?.(op.logicalId);
|
|
@@ -33354,14 +33370,15 @@ async function replayReverseReplacement(s) {
|
|
|
33354
33370
|
} else if (!deletedNewFirst && !adoptedLiveNewResource) try {
|
|
33355
33371
|
const finalSnapshotIdentifier = rollbackFinalSnapshotId(op.resourceType, current, op.provisionedBy);
|
|
33356
33372
|
const deleteNewAfterRecreateRoute = resolveNewDeleteRoute();
|
|
33357
|
-
const deleteNewAfterRecreate = await deleteNewAfterRecreateRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33373
|
+
const deleteNewAfterRecreate = await withReplayDeletePrinting(s, () => deleteNewAfterRecreateRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
|
|
33358
33374
|
expectedRegion: ctx.region,
|
|
33359
33375
|
...newCopyClaimed && { inlinePolicyClaimed: newCopyClaimed },
|
|
33360
33376
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
33361
33377
|
deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
|
|
33362
33378
|
recordedAttributes: current.attributes,
|
|
33363
|
-
recordedNoEchoLeaves: current.noEchoLeaves
|
|
33364
|
-
|
|
33379
|
+
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
33380
|
+
maskSecrets: mask
|
|
33381
|
+
}));
|
|
33365
33382
|
throwIfDeleteSkipped(deleteNewAfterRecreate, op.logicalId, current.physicalId, "while deleting the new resource after re-creating the old one", newDeleteGuardScope(deleteNewAfterRecreateRoute.provisionedBy));
|
|
33366
33383
|
} catch (deleteError) {
|
|
33367
33384
|
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 +33416,11 @@ async function deleteMarkedRecreate(error, s) {
|
|
|
33399
33416
|
s.logger.info(safeMsg` Rollback: deleting ${id}, which the failed re-create of ${shown} made before failing`);
|
|
33400
33417
|
let failure;
|
|
33401
33418
|
try {
|
|
33402
|
-
const outcome = await s.provider.delete(s.op.logicalId, madeId, s.oldType, s.properties, {
|
|
33419
|
+
const outcome = await withReplayDeletePrinting(s, () => s.provider.delete(s.op.logicalId, madeId, s.oldType, s.properties, {
|
|
33403
33420
|
expectedRegion: s.region,
|
|
33404
|
-
deletionPolicy: "Delete"
|
|
33405
|
-
|
|
33421
|
+
deletionPolicy: "Delete",
|
|
33422
|
+
maskSecrets: s.mask
|
|
33423
|
+
}));
|
|
33406
33424
|
failure = deleteSkipReason(outcome);
|
|
33407
33425
|
} catch (deleteError) {
|
|
33408
33426
|
failure = deleteError instanceof Error ? deleteError.message : String(deleteError);
|
|
@@ -33561,7 +33579,7 @@ async function replaySingle(op, stateResources, stackName, ctx, resolver, orphan
|
|
|
33561
33579
|
const secrets = /* @__PURE__ */ new Map();
|
|
33562
33580
|
const deployBag = ctx.logOnlyNeedlesFor?.(op.logicalId);
|
|
33563
33581
|
if (deployBag) carryLogOnlyValues(deployBag, secrets);
|
|
33564
|
-
const opMasker = createOpMasker(logger, secrets);
|
|
33582
|
+
const opMasker = createOpMasker(logger, secrets, deployBag);
|
|
33565
33583
|
const mask = opMasker.mask;
|
|
33566
33584
|
const scope = {
|
|
33567
33585
|
op,
|
|
@@ -33669,7 +33687,7 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
33669
33687
|
break;
|
|
33670
33688
|
}
|
|
33671
33689
|
const secrets = /* @__PURE__ */ new Map();
|
|
33672
|
-
const opMasker = createOpMasker(logger, secrets);
|
|
33690
|
+
const opMasker = createOpMasker(logger, secrets, ctx.logOnlyNeedlesFor?.(op.logicalId));
|
|
33673
33691
|
const mask = opMasker.mask;
|
|
33674
33692
|
const skipScope = {
|
|
33675
33693
|
ctx,
|
|
@@ -33790,7 +33808,11 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
33790
33808
|
});
|
|
33791
33809
|
const failedCreateClaimed = inlinePolicyWriters.claimedFor(op.resourceType, op.logicalId, stateResources);
|
|
33792
33810
|
const removeProtection = ctx.removeProtection === true && protectionRemovalProven(op, orphanDeleteChecked || ctx.orphanDeleteProven?.has(op) === true);
|
|
33793
|
-
const deleteFailedCreate = () =>
|
|
33811
|
+
const deleteFailedCreate = () => withReplayDeletePrinting({
|
|
33812
|
+
ctx,
|
|
33813
|
+
op,
|
|
33814
|
+
secrets
|
|
33815
|
+
}, () => provider.delete(op.logicalId, op.physicalId, op.resourceType, op.attemptedProperties, {
|
|
33794
33816
|
expectedRegion: ctx.region,
|
|
33795
33817
|
...removeProtection && { removeProtection: true },
|
|
33796
33818
|
...failedCreateClaimed && { inlinePolicyClaimed: failedCreateClaimed },
|
|
@@ -33803,8 +33825,9 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
33803
33825
|
failedCreateOrphan: true,
|
|
33804
33826
|
resolveAttemptedProperties: () => resolveReplayProps(op.attemptedProperties, resolver, secrets, ctx, op.logicalId),
|
|
33805
33827
|
...ctx.writtenThisRun !== void 0 && { writtenThisRun: ctx.writtenThisRun }
|
|
33806
|
-
}
|
|
33807
|
-
|
|
33828
|
+
},
|
|
33829
|
+
maskSecrets: mask
|
|
33830
|
+
}));
|
|
33808
33831
|
const failedCreateDelete = removeProtection ? await runDeleteAttempt(true, deleteFailedCreate) : await deleteFailedCreate();
|
|
33809
33832
|
throwIfDeleteSkipped(failedCreateDelete, op.logicalId, op.physicalId, "while deleting the partially-created resource", {
|
|
33810
33833
|
ctx,
|
|
@@ -36048,15 +36071,16 @@ async function replaceDeleteFirstAndRecreate(logicalId, resourceType, oldResourc
|
|
|
36048
36071
|
const finalSnapshotIdentifier = await this.prepareFinalSnapshotForDelete(logicalId, oldResourceType, currentResource, updateReplacePolicy);
|
|
36049
36072
|
let deleteResult;
|
|
36050
36073
|
try {
|
|
36051
|
-
deleteResult = await oldDeleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, currentResource.properties, {
|
|
36074
|
+
deleteResult = await withPrintingSecrets(secrets, () => oldDeleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, currentResource.properties, {
|
|
36052
36075
|
expectedRegion: this.stackRegion,
|
|
36053
36076
|
forceDataDelete: this.options.forceStatefulRecreation === true,
|
|
36054
36077
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
36055
36078
|
...this.replacementDeleteContext(updateReplacePolicy),
|
|
36056
36079
|
recordedAttributes: currentResource.attributes,
|
|
36057
36080
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
36058
|
-
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues }
|
|
36059
|
-
|
|
36081
|
+
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
36082
|
+
maskSecrets: createUnionSecretMasker([secrets, this.secretNameBagFor(logicalId)])
|
|
36083
|
+
}));
|
|
36060
36084
|
} catch (deleteError) {
|
|
36061
36085
|
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
36086
|
}
|
|
@@ -36178,7 +36202,7 @@ async function deleteReplacedAfterCreate(logicalId, oldResourceType, currentReso
|
|
|
36178
36202
|
let deleteFailed = false;
|
|
36179
36203
|
const inlinePolicyClaimed = isStandaloneInlinePolicyType(oldResourceType) ? this.inlinePolicyClaimedFor(oldResourceType, logicalId, this.deployStateResources) : void 0;
|
|
36180
36204
|
try {
|
|
36181
|
-
deleteResult = await deleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, deleteProperties, {
|
|
36205
|
+
deleteResult = await withPrintingSecrets(secrets, () => deleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, deleteProperties, {
|
|
36182
36206
|
expectedRegion: this.stackRegion,
|
|
36183
36207
|
forceDataDelete: this.options.forceStatefulRecreation === true,
|
|
36184
36208
|
...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
|
|
@@ -36186,8 +36210,9 @@ async function deleteReplacedAfterCreate(logicalId, oldResourceType, currentReso
|
|
|
36186
36210
|
recordedAttributes: currentResource.attributes,
|
|
36187
36211
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
36188
36212
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
36189
|
-
...inlinePolicyClaimed && { inlinePolicyClaimed }
|
|
36190
|
-
|
|
36213
|
+
...inlinePolicyClaimed && { inlinePolicyClaimed },
|
|
36214
|
+
maskSecrets: createUnionSecretMasker([secrets, this.secretNameBagFor(logicalId)])
|
|
36215
|
+
}));
|
|
36191
36216
|
} catch (deleteError) {
|
|
36192
36217
|
const deleteMsg = maskSecretsInText(deleteError instanceof Error ? deleteError.message : String(deleteError), secrets);
|
|
36193
36218
|
deleteFailed = true;
|
|
@@ -38100,14 +38125,16 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38100
38125
|
}
|
|
38101
38126
|
}
|
|
38102
38127
|
async deleteGlobalTableResource(logicalId, physicalId, resourceType, context, flip) {
|
|
38103
|
-
|
|
38128
|
+
const deleteMask = context?.maskSecrets ?? ((text) => text);
|
|
38129
|
+
const shownTable = deleteMask(physicalId);
|
|
38130
|
+
this.logger.debug(deleteMask(`Deleting DynamoDB GlobalTable ${logicalId}: ${shownTable}`));
|
|
38104
38131
|
const budget = this.deleteBudgets.acquire(deleteBudgetKey(physicalId, context?.expectedRegion), resolveDynamoDbDeleteBudgetMs(), resolveDynamoDbDeleteBudgetClock(), DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS);
|
|
38105
38132
|
if (context?.removeProtection === true) try {
|
|
38106
38133
|
let observedProtectionOn = false;
|
|
38107
38134
|
try {
|
|
38108
38135
|
observedProtectionOn = (await this.dynamoDBClient.send(new DescribeTableCommand({ TableName: physicalId }))).Table?.DeletionProtectionEnabled === true;
|
|
38109
38136
|
} catch (observeError) {
|
|
38110
|
-
this.logger.debug(`Could not read DeletionProtectionEnabled on ${
|
|
38137
|
+
this.logger.debug(deleteMask(`Could not read DeletionProtectionEnabled on ${shownTable} before disabling it: ${describeAwsFailure(observeError).detail}`));
|
|
38111
38138
|
}
|
|
38112
38139
|
await this.dynamoDBClient.send(new UpdateTableCommand({
|
|
38113
38140
|
TableName: physicalId,
|
|
@@ -38116,12 +38143,12 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38116
38143
|
if (observedProtectionOn) flip.flippedOffByThisRun = true;
|
|
38117
38144
|
this.logger.debug(`Disabled DeletionProtectionEnabled on ${logicalId}, waiting for ACTIVE`);
|
|
38118
38145
|
try {
|
|
38119
|
-
await this.waitForTableActiveAfterUpdate(physicalId, logicalId, 600, budget);
|
|
38146
|
+
await this.waitForTableActiveAfterUpdate(physicalId, logicalId, 600, budget, context?.maskSecrets);
|
|
38120
38147
|
} catch (waitErr) {
|
|
38121
|
-
this.logger.debug(`Could not wait for table ${
|
|
38148
|
+
this.logger.debug(deleteMask(`Could not wait for table ${shownTable} ACTIVE after protection flip: ${describeAwsFailure(waitErr).detail}`));
|
|
38122
38149
|
}
|
|
38123
38150
|
} catch (flipError) {
|
|
38124
|
-
if (!(flipError instanceof ResourceNotFoundException$1)) this.logger.debug(`Could not disable DeletionProtectionEnabled on ${
|
|
38151
|
+
if (!(flipError instanceof ResourceNotFoundException$1)) this.logger.debug(deleteMask(`Could not disable DeletionProtectionEnabled on ${shownTable}: ${describeAwsFailure(flipError).detail}`));
|
|
38125
38152
|
}
|
|
38126
38153
|
let currentRegion;
|
|
38127
38154
|
try {
|
|
@@ -38146,7 +38173,7 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38146
38173
|
TableName: physicalId,
|
|
38147
38174
|
ReplicaUpdates: [{ Delete: { RegionName: region } }]
|
|
38148
38175
|
}));
|
|
38149
|
-
await this.waitForReplicaGone(physicalId, region, logicalId, REPLICA_GONE_WAIT_ATTEMPTS, budget);
|
|
38176
|
+
await this.waitForReplicaGone(physicalId, region, logicalId, REPLICA_GONE_WAIT_ATTEMPTS, budget, context?.maskSecrets);
|
|
38150
38177
|
} catch (replicaErr) {
|
|
38151
38178
|
if (!(replicaErr instanceof ResourceNotFoundException$1)) throw replicaErr;
|
|
38152
38179
|
}
|
|
@@ -38171,7 +38198,8 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38171
38198
|
this.logger.debug(`Waiting for indexes on ${physicalId} to settle before DeleteTable`);
|
|
38172
38199
|
await this.waitForIndexesActive(physicalId, logicalId, {
|
|
38173
38200
|
proceedNote: DELETE_INDEX_WAIT_PROCEED_NOTE,
|
|
38174
|
-
budget
|
|
38201
|
+
budget,
|
|
38202
|
+
...context?.maskSecrets && { maskSecrets: context.maskSecrets }
|
|
38175
38203
|
});
|
|
38176
38204
|
}
|
|
38177
38205
|
await deleteTableWithIndexBusyRetry({
|
|
@@ -38187,7 +38215,8 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38187
38215
|
reArm: () => this.waitForIndexesActive(physicalId, logicalId, {
|
|
38188
38216
|
maxAttempts: 60,
|
|
38189
38217
|
proceedNote: DELETE_INDEX_WAIT_PROCEED_NOTE,
|
|
38190
|
-
budget
|
|
38218
|
+
budget,
|
|
38219
|
+
...context?.maskSecrets && { maskSecrets: context.maskSecrets }
|
|
38191
38220
|
}),
|
|
38192
38221
|
shouldKeepRetrying: () => {
|
|
38193
38222
|
if (!budget.isExhausted()) return true;
|
|
@@ -38196,7 +38225,7 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38196
38225
|
},
|
|
38197
38226
|
sleepSeam: deleteTableRetryDelays
|
|
38198
38227
|
});
|
|
38199
|
-
await this.waitForTableGone(physicalId, logicalId, 600, budget);
|
|
38228
|
+
await this.waitForTableGone(physicalId, logicalId, 600, budget, context?.maskSecrets);
|
|
38200
38229
|
this.logger.debug(`Successfully deleted DynamoDB GlobalTable ${logicalId}`);
|
|
38201
38230
|
this.deleteBudgets.release(deleteBudgetKey(physicalId, context?.expectedRegion));
|
|
38202
38231
|
this.protectionFlips.release(deleteBudgetKey(physicalId, context?.expectedRegion));
|
|
@@ -38623,13 +38652,14 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38623
38652
|
}
|
|
38624
38653
|
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
38654
|
}
|
|
38626
|
-
async waitForTableGone(tableName, logicalId, maxAttempts = 600, budget) {
|
|
38655
|
+
async waitForTableGone(tableName, logicalId, maxAttempts = 600, budget, mask = (text) => text) {
|
|
38656
|
+
const shownName = mask(tableName);
|
|
38627
38657
|
const wait = beginDeleteWait(maxAttempts, budget);
|
|
38628
|
-
const watch = startInterruptWatch(`DynamoDB table ${
|
|
38658
|
+
const watch = startInterruptWatch(mask(`DynamoDB table ${shownName} deletion wait`));
|
|
38629
38659
|
try {
|
|
38630
38660
|
while (wait.nextPoll()) {
|
|
38631
38661
|
if (watch.isInterrupted()) {
|
|
38632
|
-
this.logger.warn(`DynamoDB GlobalTable ${logicalId}: interrupted while waiting for ${
|
|
38662
|
+
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
38663
|
return;
|
|
38634
38664
|
}
|
|
38635
38665
|
try {
|
|
@@ -38644,10 +38674,10 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
38644
38674
|
watch.dispose();
|
|
38645
38675
|
}
|
|
38646
38676
|
if (wait.cutShort) {
|
|
38647
|
-
this.logger.warn(`DynamoDB GlobalTable ${logicalId}: DeleteTable on ${
|
|
38677
|
+
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
38678
|
return;
|
|
38649
38679
|
}
|
|
38650
|
-
throw new ProvisioningError(`Table ${
|
|
38680
|
+
throw new ProvisioningError(mask(`Table ${shownName} did not disappear within ${wait.pollsRun}s${wait.note()}`), "AWS::DynamoDB::GlobalTable", logicalId, tableName);
|
|
38651
38681
|
}
|
|
38652
38682
|
};
|
|
38653
38683
|
function refuseMalformedReplicaTags(properties, resourceType, logicalId, physicalId) {
|
|
@@ -41928,15 +41958,16 @@ async function updateByReplacement({ change, counts, currentProps, currentResour
|
|
|
41928
41958
|
const recreateFinalSnapshotId = await this.prepareFinalSnapshotForDelete(logicalId, oldResourceType, currentResource, updateReplacePolicy);
|
|
41929
41959
|
let recreateDeleteResult;
|
|
41930
41960
|
try {
|
|
41931
|
-
recreateDeleteResult = await oldDeleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, currentResource.properties, {
|
|
41961
|
+
recreateDeleteResult = await withPrintingSecrets(updateSecrets, () => oldDeleteProvider.delete(logicalId, currentResource.physicalId, oldResourceType, currentResource.properties, {
|
|
41932
41962
|
expectedRegion: this.stackRegion,
|
|
41933
41963
|
forceDataDelete: this.options.forceStatefulRecreation === true,
|
|
41934
41964
|
...recreateFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: recreateFinalSnapshotId },
|
|
41935
41965
|
...this.replacementDeleteContext(updateReplacePolicy),
|
|
41936
41966
|
recordedAttributes: currentResource.attributes,
|
|
41937
41967
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
41938
|
-
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues }
|
|
41939
|
-
|
|
41968
|
+
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
41969
|
+
maskSecrets: createUnionSecretMasker([updateSecrets, this.secretNameBagFor(logicalId)])
|
|
41970
|
+
}));
|
|
41940
41971
|
} catch (deleteError) {
|
|
41941
41972
|
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
41973
|
}
|
|
@@ -42169,15 +42200,16 @@ async function updateInPlace({ conditions, counts, currentProps, currentPropsAsW
|
|
|
42169
42200
|
const fallbackFinalSnapshotId = await this.prepareFinalSnapshotForDelete(logicalId, resourceType, currentResource, fallbackUpdateReplacePolicy);
|
|
42170
42201
|
let fallbackDeleteResult = void 0;
|
|
42171
42202
|
try {
|
|
42172
|
-
fallbackDeleteResult = await updateProvider.delete(logicalId, currentResource.physicalId, resourceType, currentProps, {
|
|
42203
|
+
fallbackDeleteResult = await withPrintingSecrets(updateSecrets, () => updateProvider.delete(logicalId, currentResource.physicalId, resourceType, currentProps, {
|
|
42173
42204
|
expectedRegion: this.stackRegion,
|
|
42174
42205
|
forceDataDelete: this.options.forceStatefulRecreation === true,
|
|
42175
42206
|
...fallbackFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: fallbackFinalSnapshotId },
|
|
42176
42207
|
...this.replacementDeleteContext(fallbackUpdateReplacePolicy),
|
|
42177
42208
|
recordedAttributes: currentResource.attributes,
|
|
42178
42209
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
42179
|
-
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues }
|
|
42180
|
-
|
|
42210
|
+
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
42211
|
+
maskSecrets: createUnionSecretMasker([updateSecrets, this.secretNameBagFor(logicalId)])
|
|
42212
|
+
}));
|
|
42181
42213
|
} catch (deleteError) {
|
|
42182
42214
|
const deleteMsg = deleteError instanceof Error ? deleteError.message : String(deleteError);
|
|
42183
42215
|
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 +42531,8 @@ Drop the record with: ${dropCommand}`);
|
|
|
42499
42531
|
deletionPolicy: governingPolicy ?? "Delete",
|
|
42500
42532
|
...this.options.skipFinalSnapshot === true && { skipFinalSnapshot: true },
|
|
42501
42533
|
recordedAttributes: currentResource.attributes,
|
|
42502
|
-
recordedNoEchoLeaves: currentResource.noEchoLeaves
|
|
42534
|
+
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
42535
|
+
maskSecrets: createUnionSecretMasker([this.secretNameBagFor(logicalId)])
|
|
42503
42536
|
}), logicalId, 3, 5e3, deleteProvider);
|
|
42504
42537
|
} catch (deleteError) {
|
|
42505
42538
|
const msg = deleteError instanceof Error ? deleteError.message : String(deleteError);
|
|
@@ -45558,4 +45591,4 @@ DeployEngine.prototype.orphanedNameCollisionAdvice = orphanedNameCollisionAdvice
|
|
|
45558
45591
|
|
|
45559
45592
|
//#endregion
|
|
45560
45593
|
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-
|
|
45594
|
+
//# sourceMappingURL=deploy-engine-BhJ7GrCh.js.map
|