@go-to-k/cdkd 0.285.15 → 0.285.16
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-CKEf903K.js → asg-provider-DoP-32eU.js} +2 -2
- package/dist/{asg-provider-CKEf903K.js.map → asg-provider-DoP-32eU.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-DPh-XamZ.js → deploy-engine-DuFUy9D0.js} +86 -4
- package/dist/{deploy-engine-DPh-XamZ.js.map → deploy-engine-DuFUy9D0.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-D8-mNNcf.js → program-C-xfsrSP.js} +4 -4
- package/dist/{program-D8-mNNcf.js.map → program-C-xfsrSP.js.map} +1 -1
- package/dist/{version-Dcdouqd3.js → version-C_ZRHikq.js} +2 -2
- package/dist/{version-Dcdouqd3.js.map → version-C_ZRHikq.js.map} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as withStackName, d as applyDefaultNameForFallback, f as generateResourceName, h as looksLikeCdkdGeneratedName, m as getCurrentStackName, n as getLogger, p as generateResourceNameWithFallback, r as isStdoutReservedForPayload, s as getLiveRenderer } from "./logger-Dw-3y48G.js";
|
|
2
2
|
import { t as awsClientDefaults } from "./aws-client-defaults-D-iYiIJ6.js";
|
|
3
|
-
import { t as getCdkdVersion } from "./version-
|
|
3
|
+
import { t as getCdkdVersion } from "./version-C_ZRHikq.js";
|
|
4
4
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -22378,7 +22378,7 @@ var CloudControlProvider = class {
|
|
|
22378
22378
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
22379
22379
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
22380
22380
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
22381
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
22381
|
+
const { ASGProvider } = await import("./asg-provider-DoP-32eU.js").then((n) => n.n);
|
|
22382
22382
|
return withIndeterminateGuard(await new ASGProvider().delete(logicalId, physicalId, resourceType, _properties, context), indeterminateGuard);
|
|
22383
22383
|
}
|
|
22384
22384
|
const isProtectedEc2Instance = context?.removeProtection === true && resourceType === "AWS::EC2::Instance";
|
|
@@ -29243,6 +29243,25 @@ function formatResourceLine(op, logicalId, resourceType, verbOverride) {
|
|
|
29243
29243
|
* agreement checkable rather than hand-curated.
|
|
29244
29244
|
* `AWS::S3Express::DirectoryBucket` was the one type on the wrong side.
|
|
29245
29245
|
*
|
|
29246
|
+
* **Third bound, and the first that reads the population the other two are
|
|
29247
|
+
* blind to** (issue [#2553]): both bounds above are derived from
|
|
29248
|
+
* `src/provisioning/providers/**` and `register-providers.ts`, so both can
|
|
29249
|
+
* only see types cdkd has an SDK PROVIDER for — 134 of them, against the
|
|
29250
|
+
* 1371 tier-2 types that have none and whose replacement routes through
|
|
29251
|
+
* Cloud Control's DELETE. That is the population issue [#2514] was filed
|
|
29252
|
+
* about, and until now it had never been swept.
|
|
29253
|
+
* `scripts/audit-stateful-candidates.ts` reads every tier-2 type's
|
|
29254
|
+
* CloudFormation registry schema and PROPOSES the ones that declare a
|
|
29255
|
+
* createOnly property (so a rename is a replacement a plain `cdkd deploy`
|
|
29256
|
+
* reaches with no flag) AND fire a data-bearing signal. Each proposal must
|
|
29257
|
+
* end up either on this list or in that script's `NOT_GUARDED` map with a
|
|
29258
|
+
* reason; `tests/unit/scripts/stateful-candidates.test.ts` fails on any that
|
|
29259
|
+
* is in neither, and on a `NOT_GUARDED` entry the derivation has stopped
|
|
29260
|
+
* proposing. Unlike the two bounds above the signals are HEURISTIC — no AWS
|
|
29261
|
+
* artifact states "deleting this destroys user data" — so this bound makes
|
|
29262
|
+
* the widening CHECKABLE rather than proven, which is the property a hand
|
|
29263
|
+
* pass over 1371 types could not have.
|
|
29264
|
+
*
|
|
29246
29265
|
* Neither fence can see a provider whose delete destroys data with NO opt-in
|
|
29247
29266
|
* at all — an unconditional empty (`S3TablesProvider.deleteTableBucket`,
|
|
29248
29267
|
* `S3VectorsProvider.deleteVectorBucket`) or a plainly destructive API call
|
|
@@ -29286,7 +29305,70 @@ const STATEFUL_TYPES = /* @__PURE__ */ new Set([
|
|
|
29286
29305
|
"AWS::Glue::Database",
|
|
29287
29306
|
"AWS::Glue::Table",
|
|
29288
29307
|
"AWS::Logs::LogGroup",
|
|
29289
|
-
"AWS::CloudFront::Distribution"
|
|
29308
|
+
"AWS::CloudFront::Distribution",
|
|
29309
|
+
"AWS::Cassandra::Table",
|
|
29310
|
+
"AWS::DocDBElastic::Cluster",
|
|
29311
|
+
"AWS::Lightsail::Database",
|
|
29312
|
+
"AWS::Timestream::Database",
|
|
29313
|
+
"AWS::Timestream::Table",
|
|
29314
|
+
"AWS::Timestream::InfluxDBCluster",
|
|
29315
|
+
"AWS::Timestream::InfluxDBInstance",
|
|
29316
|
+
"AWS::ODB::CloudAutonomousVmCluster",
|
|
29317
|
+
"AWS::ODB::CloudVmCluster",
|
|
29318
|
+
"AWS::RedshiftServerless::Namespace",
|
|
29319
|
+
"AWS::RedshiftServerless::Snapshot",
|
|
29320
|
+
"AWS::NeptuneGraph::Graph",
|
|
29321
|
+
"AWS::NeptuneGraph::GraphSnapshot",
|
|
29322
|
+
"AWS::MemoryDB::Cluster",
|
|
29323
|
+
"AWS::MemoryDB::MultiRegionCluster",
|
|
29324
|
+
"AWS::ElastiCache::ServerlessCache",
|
|
29325
|
+
"AWS::MSK::Cluster",
|
|
29326
|
+
"AWS::MSK::ServerlessCluster",
|
|
29327
|
+
"AWS::MSK::Channel",
|
|
29328
|
+
"AWS::AmazonMQ::Broker",
|
|
29329
|
+
"AWS::OSIS::Pipeline",
|
|
29330
|
+
"AWS::KinesisVideo::Stream",
|
|
29331
|
+
"AWS::Events::Archive",
|
|
29332
|
+
"AWS::OpenSearchServerless::Collection",
|
|
29333
|
+
"AWS::OpenSearchServerless::Index",
|
|
29334
|
+
"AWS::OpenSearchServerless::CollectionIndex",
|
|
29335
|
+
"AWS::Kendra::Index",
|
|
29336
|
+
"AWS::QBusiness::Index",
|
|
29337
|
+
"AWS::QBusiness::Application",
|
|
29338
|
+
"AWS::Rekognition::Collection",
|
|
29339
|
+
"AWS::Location::GeofenceCollection",
|
|
29340
|
+
"AWS::S3Vectors::Index",
|
|
29341
|
+
"AWS::Bedrock::KnowledgeBase",
|
|
29342
|
+
"AWS::Bedrock::DataAutomationLibrary",
|
|
29343
|
+
"AWS::Lightsail::Bucket",
|
|
29344
|
+
"AWS::S3Outposts::Bucket",
|
|
29345
|
+
"AWS::HealthImaging::Datastore",
|
|
29346
|
+
"AWS::HealthLake::FHIRDatastore",
|
|
29347
|
+
"AWS::SES::MailManagerArchive",
|
|
29348
|
+
"AWS::WorkspacesInstances::Volume",
|
|
29349
|
+
"AWS::IoTAnalytics::Channel",
|
|
29350
|
+
"AWS::IoTAnalytics::Datastore",
|
|
29351
|
+
"AWS::IoTAnalytics::Dataset",
|
|
29352
|
+
"AWS::CodeArtifact::Domain",
|
|
29353
|
+
"AWS::CodeArtifact::Repository",
|
|
29354
|
+
"AWS::ECR::PublicRepository",
|
|
29355
|
+
"AWS::Backup::BackupVault",
|
|
29356
|
+
"AWS::Backup::LogicallyAirGappedBackupVault",
|
|
29357
|
+
"AWS::EKS::Cluster",
|
|
29358
|
+
"AWS::SageMaker::Cluster",
|
|
29359
|
+
"AWS::SageMaker::Domain",
|
|
29360
|
+
"AWS::Cases::Domain",
|
|
29361
|
+
"AWS::CustomerProfiles::Domain",
|
|
29362
|
+
"AWS::DataZone::Domain",
|
|
29363
|
+
"AWS::CleanRooms::IdMappingTable",
|
|
29364
|
+
"AWS::CleanRooms::IntermediateTable",
|
|
29365
|
+
"AWS::CloudFront::KeyValueStore",
|
|
29366
|
+
"AWS::Connect::DataTable",
|
|
29367
|
+
"AWS::AppConfig::ConfigurationProfile",
|
|
29368
|
+
"AWS::AIOps::InvestigationGroup",
|
|
29369
|
+
"AWS::Rbin::Rule",
|
|
29370
|
+
"AWS::SMSVOICE::PhoneNumber",
|
|
29371
|
+
"AWS::SMSVOICE::SenderId"
|
|
29290
29372
|
]);
|
|
29291
29373
|
/**
|
|
29292
29374
|
* Multi-region resource types — `--recreate-via-cc-api` refuses these
|
|
@@ -34541,4 +34623,4 @@ var DeployEngine = class {
|
|
|
34541
34623
|
|
|
34542
34624
|
//#endregion
|
|
34543
34625
|
export { endCommandInterruptScope as $, resolveCaptureObservedState as $n, isThrottlingError as $r, maskSecretsInText as $t, bold as A, getBootstrapMarkerKey as An, DeployCancelledError as Ar, classifyReplaySecretRegion as At, secretBearingStateKeyWarning as B, formatDockerLoginError as Bn, ProvisioningError as Br, describeTypeWithThrottleRetry as Bt, unsupportedFinalSnapshotError as C, rewriteTemplateAssetReferences as Cn, resetAwsClients as Cr, configBooleanRefusal as Ct, isStatefulRecreateTargetSync as D, BOOTSTRAP_MARKER_PREFIX as Dn, ConfigError as Dr, requireConfigArray as Dt, MULTI_REGION_RECREATE_BLOCKED_TYPES as E, AssetModeResolver as En, CdkdError as Er, replayWarn as Et, yellow as F, validateContainerRepoName as Fn, LocalStartServiceError as Fr, s3BucketRegionalDomainName as Ft, clearOnUpdateRemoval as G, AssetManifestLoader as Gn, StateError as Gr, STATE_SOURCED_READBACK_RULES as Gt, getCurrentResourceSecrets as H, partitionSensitiveEnv as Hn, ResourceUpdateNotSupportedError as Hr, DagBuilder as Ht, collectDeclaredOutputNames as I, buildDenyExternalAccessPolicy as In, LockError as Ir, s3BucketWebsiteUrl as It, findSilentDropProperties as J, synthesisStatusMessage as Jn, isCdkdError as Jr, createSecretMasker as Jt, ProviderRegistry as K, getDockerImageBySourceHash as Kn, SynthesisError as Kr, TEMPLATE_SOURCED_RULES as Kt, collectPublishedOutputNames as L, describeAwsFailure as Ln, MissingCdkCliError as Lr, applyRoleArnIfSet as Lt, gray as M, parseBootstrapMarker as Mn, IntrinsicResolutionRefusalError as Mr, s3BucketArn as Mt, green as N, readBootstrapMarkerBody as Nn, LocalInvokeBuildError as Nr, s3BucketDomainName as Nt, renderStatefulReason as O, assertAssetBucketRegion as On, CrossAccountSecretRefusalError as Or, requireConfigObject as Ot, red as P, validateAssetBucketName as Pn, LocalMigrateError as Pr, s3BucketDualStackDomainName as Pt, beginCommandInterruptScope as Q, resolveAutoAssetStorage as Qn, isRetryableTransientError as Qr, maskSecretsInError as Qt, exportAliasCollisionScrubWarning as R, buildDockerImage as Rn, NestedStackChildDirectDestroyError as Rr, DiffCalculator as Rt, refusesFinalSnapshot as S, loadPublishableAssetManifest as Sn, getAwsClients as Sr, coerceCfnBoolean as St, extractDeploymentEventError as T, stripControlChars as Tn, AssetError as Tr, readConfigString as Tt, IAMRoleProvider as U, runDockerForeground as Un, StackHasActiveImportsError as Ur, TemplateParser as Ut, stateKeySecretExposure as V, getDockerCmd as Vn, ResourceTimeoutError as Vr, withRetry as Vt, collectInlinePolicyNamesManagedBySiblings as W, runDockerStreaming as Wn, StackTerminationProtectionError as Wr, STATE_SOURCED_CROSS_GENERATION_RULES as Wt, maskDeep as X, getLegacyStateBucketName as Xn, withErrorHandling as Xr, errorCauseChain as Xt, createMaskedRetryLogger as Y, getDefaultStateBucketName as Yn, normalizeAwsError as Yr, dynamicReferenceTokens as Yt, maskerOrIdentity as Z, resolveApp as Zn, isMarkedNonRetryable as Zr, isSingleDynamicReferenceToken as Zt, PRE_DELETE_SNAPSHOT_TYPES as _, AssetPublisher as _n, AssemblyReader as _r, refStateLookupFromResource as _t, DeploymentEventsStore as a, S3StateBackend as an, warnDeprecatedNoPrefixCliFlag as ar, UNSPECIFIED_SKIP_REASON as at, createPreDeleteFinalSnapshot as b, buildAssetRedirectMap as bn, resolveBucketRegion as br, resolveExplicitPhysicalId as bt, replayFailedOperations as c, buildForceUnlockCommand as cn, MIGRATE_TMP_PREFIX as cr, disableInstanceApiTermination as ct, updatePartialReason as d, CUSTOM_RESOURCE_RESPONSE_PREFIX as dn, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as dr, carriesDynamicReference as dt, isTransientServerError as ei, recordMaskOnlyValue as en, resolveSkipPrefix as er, interruptWatchListenerCount as et, withResourceDeadline as f, DEFAULT_STATE_PREFIX as fn, displaySafe as fr, cfnRefValueFromPhysicalId as ft, ATOMIC_FINAL_SNAPSHOT_TYPES as g, shouldRetainResource as gn, derivePartitionAndUrlSuffix as gr, parameterTypeMayLoseSecretIdentity as gt, computeImplicitDeleteEdges as h, importableOutputs as hn, canonicalizeRegion as hr, isUnboundTemplateParameter as ht, DeploymentEventsReader as i, __exportAll as ii, LockManager as in, stateBucketExistenceConfirmed as ir, slowCcOperationTimeoutMs as it, cyan as j, isCrossRegionRedirect as jn, DynamicReferenceRegionAmbiguousError as jr, producerRegionsFromState as jt, formatResourceLine as k, ensureAssetStorage as kn, DependencyError as kr, requireConfigString as kt, replayRollback as l, buildLockContentionMessage as ln, findLargeInlineResources as lr, isTerminationProtectionPropagationError as lt, IMPLICIT_DELETE_DEPENDENCIES as m, importableOutputKeys as mn, PARTITION_TABLE as mr, getAccountInfo as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, markRedactedCause as ni, redactSecretsForState as nn, resolveStateBucketWithDefaultAndSource as nr, startInterruptWatch as nt, planFailedOps as o, rebuildClientForBucketRegion as on, CFN_TEMPLATE_BODY_LIMIT as or, deleteIndeterminateGuards as ot, maskingRetryLogger as p, exportNamesCarriedFrom as pn, expectedOwnerParam as pr, coerceParameterTypedValue as pt, findActionableSilentDrops as q, Synthesizer as qn, formatError as qr, carriesSecretMask as qt, DeployEngine as r, retryClassificationText as ri, scrubResourceRecord as rn, resolveUseCdkBootstrapAssets as rr, CloudControlProvider as rt, planRollback as s, UNRENDERABLE as sn, CFN_TEMPLATE_URL_LIMIT as sr, deleteSkipReason as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, markNonRetryable as ti, recoverMaskedOutput as tn, resolveStateBucketWithDefault as tr, isInterruptedWaitError as tt, updatePartialMessage as u, forceQuitRecoveryClause as un, uploadCfnTemplate as ur, IntrinsicFunctionResolver as ut, buildFinalSnapshotIdentifier as v, stringifyValue as vn, processStackMessages as vr, WAFv2WebACLProvider as vt, makeCanonicalizePropertiesFn as w, escapeRegExp$1 as wn, setAwsClients as wr, configStringRefusal as wt, isFinalSnapshotError as x, createAssetRedirectResolver as xn, AwsClients as xr, assertRegionMatch as xt, ccRoutedFinalSnapshotError as y, WorkGraph as yn, clearBucketRegionCache as yr, normalizeAwsTagsToCfn as yt, isExportAliasCollision as z, dockerSpawnEnvWithSensitive as zn, PartialFailureError as zr, INTRINSIC_KEYS as zt };
|
|
34544
|
-
//# sourceMappingURL=deploy-engine-
|
|
34626
|
+
//# sourceMappingURL=deploy-engine-DuFUy9D0.js.map
|