@go-to-k/cdkd 0.284.72 → 0.284.74
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-DcAqfBUo.js → asg-provider-flHRjCCA.js} +2 -2
- package/dist/{asg-provider-DcAqfBUo.js.map → asg-provider-flHRjCCA.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-Bc0FBOuJ.js → deploy-engine-Dc4zLSpW.js} +208 -5
- package/dist/deploy-engine-Dc4zLSpW.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-B2i8bJUJ.js → program-T5l98nuz.js} +147 -25
- package/dist/{program-B2i8bJUJ.js.map → program-T5l98nuz.js.map} +1 -1
- package/dist/{version-DY_eLvXB.js → version-CPvH0COs.js} +2 -2
- package/dist/{version-DY_eLvXB.js.map → version-CPvH0COs.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-Bc0FBOuJ.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -588,6 +588,7 @@ declare class CloudControlProvider implements ResourceProvider {
|
|
|
588
588
|
private cleanupFailedCreateRemnant;
|
|
589
589
|
update(logicalId: string, physicalId: string, resourceType: string, properties: Record<string, unknown>, previousProperties: Record<string, unknown>): Promise<ResourceUpdateResult>;
|
|
590
590
|
delete(logicalId: string, physicalId: string, resourceType: string, _properties?: Record<string, unknown>, context?: DeleteContext): Promise<void | ResourceDeleteResult>;
|
|
591
|
+
private confirmDeleteTargetIdentity;
|
|
591
592
|
private disableCcProtection;
|
|
592
593
|
getResourceState(resourceType: string, physicalId: string): Promise<Record<string, unknown> | null>;
|
|
593
594
|
private waitForOperation;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/state.ts","../src/deployment/secret-redaction.ts","../src/provisioning/region-check.ts","../src/types/resource.ts","../src/types/config.ts","../src/utils/logger.ts","../src/utils/error-handler.ts","../src/utils/aws-clients.ts","../src/utils/aws-region-resolver.ts","../src/types/assembly.ts","../src/synthesis/stack-messages.ts","../src/synthesis/assembly-reader.ts","../src/cli/upload-cfn-template.ts","../src/synthesis/macro-expander.ts","../src/synthesis/synthesizer.ts","../src/types/deployment-events.ts","../src/provisioning/cloud-control-provider.ts","../src/provisioning/provider-registry.ts","../src/provisioning/final-snapshot.ts","../src/deployment/rollback-executor.ts","../src/types/rollback-journal.ts","../src/state/s3-state-backend.ts","../src/assets/asset-redirect.ts","../src/deployment/work-graph.ts","../src/assets/asset-publisher.ts","../src/state/lock-manager.ts","../src/analyzer/template-parser.ts","../src/analyzer/dag-builder.ts","../src/analyzer/diff-calculator.ts","../src/provisioning/providers/iam-role-provider.ts","../src/state/export-index-store.ts","../src/deployment/deploy-engine.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;KAuGY;UAyBK;EAEf;EAMA;EAEA;;UAsBe;EAEf;EAMA;EAEA;;UAMe;EAKf,SAAS;EAGT;EAMA;EAGA,WAAW,eAAe;EAG1B,SAAS;EAUT,UAAU;EAoBV,cAAc;EAqBd;EAgBA;EAcA;EAYA;EAGA;;UAMe;EAEf;EAGA;EAGA,YAAY;EAcZ,qBAAqB;EAGrB,aAAa;EAGb;EAGA,WAAW;EAmBX;EAMA;EAyBA;;UAMe;EAEf;EAGA;EAGA;EAGA;;KAMU;UAKK;EAEf;EAGA,YAAY;EAGZ;EAGA,oBAAoB;EAGpB,oBAAoB;EAGpB,kBAAkB;EAWlB,mBAAmB;;UAUJ;EAEf;EACA;EACA;;UAiFe;EAEf;EAGA;EAGA;EAGA;EAYA;;;;KC1fU,uBAAuB;KAmmGvB,gBAAgB;;;UCjoGX;EASf;EAyCA;EAwBA;EA0BA;;;;UClHe;EACf;EACA;EACA,aAAa,eAAe;EAC5B,WAAW,eAAe;EAC1B,UAAU,eAAe;EACzB,aAAa;EACb,W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UAOA;UAaA;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UAUA;UAMA;UAQA;UAiBA;UAWA;UAOA;UASA;UAWA;UAQA;UASA;UAOA;EAER,YACE,cAAc,gBACd,aAAa,aACb,YAAY,YACZ,gBAAgB,gBAChB,kBAAkB,kBAClB,SAAS,iCACT,qBACA,mBAAmB;EA+Bf,OAAO,mBAAmB,UAAU,yBAAyB,QAAQ;UA8BnE;UAqFA;UA0BA;UA8DA;UA8BA;UAkDA;UA2BA;UAkCM;UAgDA;UAsGN;UAqEM;UAqrBA;UAokBA;UA4EA;UA2BA;UA+BA;UAuCN;UA+BM;UA4CA;UAqSN;UAaA;UAmBA;UAwBA;UAyCM;UA0CA;UAwKA;UAguCN;UA8BA;UA4BA;UAkCA;UAgCA;UAOA;UAoCA;UA4EA;UA4BM;UA6BN;UAiCA;UAmBA;UAgBA;UAwCM;UAmRN"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/state.ts","../src/deployment/secret-redaction.ts","../src/provisioning/region-check.ts","../src/types/resource.ts","../src/types/config.ts","../src/utils/logger.ts","../src/utils/error-handler.ts","../src/utils/aws-clients.ts","../src/utils/aws-region-resolver.ts","../src/types/assembly.ts","../src/synthesis/stack-messages.ts","../src/synthesis/assembly-reader.ts","../src/cli/upload-cfn-template.ts","../src/synthesis/macro-expander.ts","../src/synthesis/synthesizer.ts","../src/types/deployment-events.ts","../src/provisioning/cloud-control-provider.ts","../src/provisioning/provider-registry.ts","../src/provisioning/final-snapshot.ts","../src/deployment/rollback-executor.ts","../src/types/rollback-journal.ts","../src/state/s3-state-backend.ts","../src/assets/asset-redirect.ts","../src/deployment/work-graph.ts","../src/assets/asset-publisher.ts","../src/state/lock-manager.ts","../src/analyzer/template-parser.ts","../src/analyzer/dag-builder.ts","../src/analyzer/diff-calculator.ts","../src/provisioning/providers/iam-role-provider.ts","../src/state/export-index-store.ts","../src/deployment/deploy-engine.ts"],"mappings":";;;;;;;;;;;;;;;;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ED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cr as LockError, Dr as ProvisioningError, Fr as isCdkdError, G as IAMRoleProvider, Ht as TemplateParser, Ir as normalizeAwsError, J as ProviderRegistry, Ln as Synthesizer, Lt as DiffCalculator, Mr as StateError, Nr as SynthesisError, Pr as formatError, Vt as DagBuilder, _r as DependencyError, ar as AssemblyReader, cn as AssetPublisher, cr as resolveBucketRegion, dr as resetAwsClients, en as LockManager, fr as setAwsClients, hr as ConfigError, lr as AwsClients, mr as CdkdError, nn as S3StateBackend, pr as AssetError, r as DeployEngine, sr as clearBucketRegionCache, st as CloudControlProvider, ur as getAwsClients } from "./deploy-engine-
|
|
1
|
+
import { Cr as LockError, Dr as ProvisioningError, Fr as isCdkdError, G as IAMRoleProvider, Ht as TemplateParser, Ir as normalizeAwsError, J as ProviderRegistry, Ln as Synthesizer, Lt as DiffCalculator, Mr as StateError, Nr as SynthesisError, Pr as formatError, Vt as DagBuilder, _r as DependencyError, ar as AssemblyReader, cn as AssetPublisher, cr as resolveBucketRegion, dr as resetAwsClients, en as LockManager, fr as setAwsClients, hr as ConfigError, lr as AwsClients, mr as CdkdError, nn as S3StateBackend, pr as AssetError, r as DeployEngine, sr as clearBucketRegionCache, st as CloudControlProvider, ur as getAwsClients } from "./deploy-engine-Dc4zLSpW.js";
|
|
2
2
|
import { i as setLogger, n as getLogger, t as ConsoleLogger } from "./logger-C9-E73FI.js";
|
|
3
3
|
|
|
4
4
|
export { AssemblyReader, AssetError, AssetPublisher, AwsClients, CdkdError, CloudControlProvider, ConfigError, ConsoleLogger, DagBuilder, DependencyError, DeployEngine, DiffCalculator, IAMRoleProvider, LockError, LockManager, ProviderRegistry, ProvisioningError, S3StateBackend, StateError, SynthesisError, Synthesizer, TemplateParser, clearBucketRegionCache, formatError, getAwsClients, getLogger, isCdkdError, normalizeAwsError, resetAwsClients, resolveBucketRegion, setAwsClients, setLogger };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as maskerOrIdentity, $n as findLargeInlineResources, $t as scrubResourceRecord, A as renderStatefulReason, An as formatDockerLoginError, Ar as StackHasActiveImportsError, At as producerRegionsFromState, B as exportAliasCollisionScrubWarning, Bn as getLegacyStateBucketName, Br as isThrottlingError, Bt as withRetry, C as isFinalSnapshotError, Cn as parseBootstrapMarker, Ct as configStringRefusal, D as extractDeploymentEventError, Dn as buildDenyExternalAccessPolicy, Dr as ProvisioningError, Dt as requireConfigObject, E as makeCanonicalizePropertiesFn, En as validateContainerRepoName, Er as PartialFailureError, Et as requireConfigArray, F as green, Fn as AssetManifestLoader, Ft as s3BucketWebsiteUrl, G as IAMRoleProvider, Gn as resolveStateBucketWithDefault, Gt as TEMPLATE_SOURCED_RULES, H as secretBearingStateKeyWarning, Hn as resolveAutoAssetStorage, Ht as TemplateParser, I as red, In as getDockerImageBySourceHash, Ir as normalizeAwsError, It as applyRoleArnIfSet, J as ProviderRegistry, Jn as stateBucketExistenceConfirmed, Jt as errorCauseChain, K as collectInlinePolicyNamesManagedBySiblings, Kn as resolveStateBucketWithDefaultAndSource, Kt as createSecretMasker, L as yellow, Ln as Synthesizer, Lr as withErrorHandling, Lt as DiffCalculator, M as bold, Mn as partitionSensitiveEnv, Mt as s3BucketDomainName, N as cyan, Nn as runDockerForeground, Nt as s3BucketDualStackDomainName, O as MULTI_REGION_RECREATE_BLOCKED_TYPES, On as buildDockerImage, Or as ResourceTimeoutError, Ot as requireConfigString, P as gray, Pn as runDockerStreaming, Pt as s3BucketRegionalDomainName, Q as maskDeep, Qn as MIGRATE_TMP_PREFIX, Qt as redactSecretsForState, R as collectDeclaredOutputNames, Rn as synthesisStatusMessage, Rr as isMarkedNonRetryable, Rt as INTRINSIC_KEYS, S as createPreDeleteFinalSnapshot, Sn as isCrossRegionRedirect, Sr as LocalStartServiceError, St as configBooleanRefusal, T as unsupportedFinalSnapshotError, Tn as validateAssetBucketName, Tr as NestedStackChildDirectDestroyError, Tt as replayWarn, U as stateKeySecretExposure, Un as resolveCaptureObservedState, Ut as STATE_SOURCED_CROSS_GENERATION_RULES, V as isExportAliasCollision, Vn as resolveApp, Vr as markNonRetryable, Vt as DagBuilder, W as getCurrentResourceSecrets, Wn as resolveSkipPrefix, Wt as STATE_SOURCED_READBACK_RULES, X as findSilentDropProperties, Xn as CFN_TEMPLATE_BODY_LIMIT, Xt as maskSecretsInError, Y as findActionableSilentDrops, Yn as warnDeprecatedNoPrefixCliFlag, Yt as isSingleDynamicReferenceToken, Z as createMaskedRetryLogger, Zn as CFN_TEMPLATE_URL_LIMIT, Zt as maskSecretsInText, _ as computeImplicitDeleteEdges, _n as AssetModeResolver, _t as WAFv2WebACLProvider, a as DeploymentEventsStore, an as importableOutputKeys, ar as AssemblyReader, at as isInterruptedWaitError, b as buildFinalSnapshotIdentifier, bn as ensureAssetStorage, br as LocalInvokeBuildError$1, bt as assertRegionMatch, c as replayFailedOperations, cn as AssetPublisher, cr as resolveBucketRegion, ct as slowCcOperationTimeoutMs, d as updatePartialReason, dn as buildAssetRedirectMap, dr as resetAwsClients, dt as IntrinsicFunctionResolver, en as LockManager, er as uploadCfnTemplate, et as CUSTOM_RESOURCE_RESPONSE_PREFIX, f as UNSPECIFIED_SKIP_REASON, fn as createAssetRedirectResolver, fr as setAwsClients, ft as carriesDynamicReference, g as IMPLICIT_DELETE_DEPENDENCIES, gn as stripControlChars, gr as CrossAccountSecretRefusalError, gt as refStateLookupFromResource, h as maskingRetryLogger, hn as escapeRegExp, ht as parameterTypeMayLoseSecretIdentity, i as DeploymentEventsReader, in as exportNamesCarriedFrom, ir as derivePartitionAndUrlSuffix, it as interruptWatchListenerCount, j as formatResourceLine, jn as getDockerCmd, jr as StackTerminationProtectionError, jt as s3BucketArn, k as isStatefulRecreateTargetSync, kn as dockerSpawnEnvWithSensitive, kr as ResourceUpdateNotSupportedError, kt as classifyReplaySecretRegion, l as replayRollback, ln as stringifyValue, lr as AwsClients, lt as disableInstanceApiTermination, m as withResourceDeadline, mn as rewriteTemplateAssetReferences, mr as CdkdError, mt as getAccountInfo, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nn as S3StateBackend, nr as PARTITION_TABLE, nt as beginCommandInterruptScope, o as planFailedOps, on as importableOutputs, or as processStackMessages, ot as startInterruptWatch, p as deleteSkipReason, pn as loadPublishableAssetManifest, pt as cfnRefValueFromPhysicalId, q as clearOnUpdateRemoval, qn as resolveUseCdkBootstrapAssets, qt as dynamicReferenceTokens, r as DeployEngine, rn as rebuildClientForBucketRegion, rr as canonicalizeRegion, rt as endCommandInterruptScope, s as planRollback, sn as shouldRetainResource, st as CloudControlProvider, t as DEFAULT_RESOURCE_TIMEOUT_MS, tn as displaySafe, tr as expectedOwnerParam, tt as DEFAULT_STATE_PREFIX, u as updatePartialMessage, un as WorkGraph, ur as getAwsClients, ut as isTerminationProtectionPropagationError, v as ATOMIC_FINAL_SNAPSHOT_TYPES, vn as BOOTSTRAP_MARKER_PREFIX, vr as DeployCancelledError, vt as normalizeAwsTagsToCfn, w as refusesFinalSnapshot, wn as readBootstrapMarkerBody, wr as MissingCdkCliError, wt as readConfigString, x as ccRoutedFinalSnapshotError, xn as getBootstrapMarkerKey, xr as LocalMigrateError, xt as coerceCfnBoolean, y as PRE_DELETE_SNAPSHOT_TYPES, yn as assertAssetBucketRegion, yr as DynamicReferenceRegionAmbiguousError, yt as resolveExplicitPhysicalId, z as collectPublishedOutputNames, zn as getDefaultStateBucketName, zr as isRetryableTransientError, zt as describeTypeWithThrottleRetry } from "./deploy-engine-
|
|
1
|
+
import { $ as maskerOrIdentity, $n as findLargeInlineResources, $t as scrubResourceRecord, A as renderStatefulReason, An as formatDockerLoginError, Ar as StackHasActiveImportsError, At as producerRegionsFromState, B as exportAliasCollisionScrubWarning, Bn as getLegacyStateBucketName, Br as isThrottlingError, Bt as withRetry, C as isFinalSnapshotError, Cn as parseBootstrapMarker, Ct as configStringRefusal, D as extractDeploymentEventError, Dn as buildDenyExternalAccessPolicy, Dr as ProvisioningError, Dt as requireConfigObject, E as makeCanonicalizePropertiesFn, En as validateContainerRepoName, Er as PartialFailureError, Et as requireConfigArray, F as green, Fn as AssetManifestLoader, Ft as s3BucketWebsiteUrl, G as IAMRoleProvider, Gn as resolveStateBucketWithDefault, Gt as TEMPLATE_SOURCED_RULES, H as secretBearingStateKeyWarning, Hn as resolveAutoAssetStorage, Ht as TemplateParser, I as red, In as getDockerImageBySourceHash, Ir as normalizeAwsError, It as applyRoleArnIfSet, J as ProviderRegistry, Jn as stateBucketExistenceConfirmed, Jt as errorCauseChain, K as collectInlinePolicyNamesManagedBySiblings, Kn as resolveStateBucketWithDefaultAndSource, Kt as createSecretMasker, L as yellow, Ln as Synthesizer, Lr as withErrorHandling, Lt as DiffCalculator, M as bold, Mn as partitionSensitiveEnv, Mt as s3BucketDomainName, N as cyan, Nn as runDockerForeground, Nt as s3BucketDualStackDomainName, O as MULTI_REGION_RECREATE_BLOCKED_TYPES, On as buildDockerImage, Or as ResourceTimeoutError, Ot as requireConfigString, P as gray, Pn as runDockerStreaming, Pt as s3BucketRegionalDomainName, Q as maskDeep, Qn as MIGRATE_TMP_PREFIX, Qt as redactSecretsForState, R as collectDeclaredOutputNames, Rn as synthesisStatusMessage, Rr as isMarkedNonRetryable, Rt as INTRINSIC_KEYS, S as createPreDeleteFinalSnapshot, Sn as isCrossRegionRedirect, Sr as LocalStartServiceError, St as configBooleanRefusal, T as unsupportedFinalSnapshotError, Tn as validateAssetBucketName, Tr as NestedStackChildDirectDestroyError, Tt as replayWarn, U as stateKeySecretExposure, Un as resolveCaptureObservedState, Ut as STATE_SOURCED_CROSS_GENERATION_RULES, V as isExportAliasCollision, Vn as resolveApp, Vr as markNonRetryable, Vt as DagBuilder, W as getCurrentResourceSecrets, Wn as resolveSkipPrefix, Wt as STATE_SOURCED_READBACK_RULES, X as findSilentDropProperties, Xn as CFN_TEMPLATE_BODY_LIMIT, Xt as maskSecretsInError, Y as findActionableSilentDrops, Yn as warnDeprecatedNoPrefixCliFlag, Yt as isSingleDynamicReferenceToken, Z as createMaskedRetryLogger, Zn as CFN_TEMPLATE_URL_LIMIT, Zt as maskSecretsInText, _ as computeImplicitDeleteEdges, _n as AssetModeResolver, _t as WAFv2WebACLProvider, a as DeploymentEventsStore, an as importableOutputKeys, ar as AssemblyReader, at as isInterruptedWaitError, b as buildFinalSnapshotIdentifier, bn as ensureAssetStorage, br as LocalInvokeBuildError$1, bt as assertRegionMatch, c as replayFailedOperations, cn as AssetPublisher, cr as resolveBucketRegion, ct as slowCcOperationTimeoutMs, d as updatePartialReason, dn as buildAssetRedirectMap, dr as resetAwsClients, dt as IntrinsicFunctionResolver, en as LockManager, er as uploadCfnTemplate, et as CUSTOM_RESOURCE_RESPONSE_PREFIX, f as UNSPECIFIED_SKIP_REASON, fn as createAssetRedirectResolver, fr as setAwsClients, ft as carriesDynamicReference, g as IMPLICIT_DELETE_DEPENDENCIES, gn as stripControlChars, gr as CrossAccountSecretRefusalError, gt as refStateLookupFromResource, h as maskingRetryLogger, hn as escapeRegExp, ht as parameterTypeMayLoseSecretIdentity, i as DeploymentEventsReader, in as exportNamesCarriedFrom, ir as derivePartitionAndUrlSuffix, it as interruptWatchListenerCount, j as formatResourceLine, jn as getDockerCmd, jr as StackTerminationProtectionError, jt as s3BucketArn, k as isStatefulRecreateTargetSync, kn as dockerSpawnEnvWithSensitive, kr as ResourceUpdateNotSupportedError, kt as classifyReplaySecretRegion, l as replayRollback, ln as stringifyValue, lr as AwsClients, lt as disableInstanceApiTermination, m as withResourceDeadline, mn as rewriteTemplateAssetReferences, mr as CdkdError, mt as getAccountInfo, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nn as S3StateBackend, nr as PARTITION_TABLE, nt as beginCommandInterruptScope, o as planFailedOps, on as importableOutputs, or as processStackMessages, ot as startInterruptWatch, p as deleteSkipReason, pn as loadPublishableAssetManifest, pt as cfnRefValueFromPhysicalId, q as clearOnUpdateRemoval, qn as resolveUseCdkBootstrapAssets, qt as dynamicReferenceTokens, r as DeployEngine, rn as rebuildClientForBucketRegion, rr as canonicalizeRegion, rt as endCommandInterruptScope, s as planRollback, sn as shouldRetainResource, st as CloudControlProvider, t as DEFAULT_RESOURCE_TIMEOUT_MS, tn as displaySafe, tr as expectedOwnerParam, tt as DEFAULT_STATE_PREFIX, u as updatePartialMessage, un as WorkGraph, ur as getAwsClients, ut as isTerminationProtectionPropagationError, v as ATOMIC_FINAL_SNAPSHOT_TYPES, vn as BOOTSTRAP_MARKER_PREFIX, vr as DeployCancelledError, vt as normalizeAwsTagsToCfn, w as refusesFinalSnapshot, wn as readBootstrapMarkerBody, wr as MissingCdkCliError, wt as readConfigString, x as ccRoutedFinalSnapshotError, xn as getBootstrapMarkerKey, xr as LocalMigrateError, xt as coerceCfnBoolean, y as PRE_DELETE_SNAPSHOT_TYPES, yn as assertAssetBucketRegion, yr as DynamicReferenceRegionAmbiguousError, yt as resolveExplicitPhysicalId, z as collectPublishedOutputNames, zn as getDefaultStateBucketName, zr as isRetryableTransientError, zt as describeTypeWithThrottleRetry } from "./deploy-engine-Dc4zLSpW.js";
|
|
2
2
|
import { a as runStackBuffered, c as PATTERN_B_NAME_PROPERTIES, d as generateResourceName, f as generateResourceNameWithFallback, g as withStackName, h as withSkipPrefix, l as PATTERN_B_RESOURCE_TYPES, n as getLogger, o as getLiveRenderer, p as getCurrentStackName, r as reserveStdoutForPayload, s as PATTERN_B_NAME_OPTIONS } from "./logger-C9-E73FI.js";
|
|
3
|
-
import { t as getCdkdVersion } from "./version-
|
|
4
|
-
import { t as ASGProvider } from "./asg-provider-
|
|
3
|
+
import { t as getCdkdVersion } from "./version-CPvH0COs.js";
|
|
4
|
+
import { t as ASGProvider } from "./asg-provider-flHRjCCA.js";
|
|
5
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
6
6
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
7
7
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -79432,12 +79432,12 @@ function resolveLambdaLayers(stack, logicalId, props) {
|
|
|
79432
79432
|
for (let i = 0; i < layers.length; i++) {
|
|
79433
79433
|
const entry = layers[i];
|
|
79434
79434
|
if (typeof entry === "string") {
|
|
79435
|
-
const parsed =
|
|
79436
|
-
if (!parsed) throw new LocalInvokeResolutionError(`Lambda '${logicalId}' has a Layers entry [${i}] cdkd cannot resolve locally: literal string '${entry}'. Expected a same-stack Ref / Fn::GetAtt to an AWS::Lambda::LayerVersion OR a literal layer-version ARN of the form arn:aws:lambda:<region>:<account>:layer:<name>:<version>.`);
|
|
79435
|
+
const parsed = classifyLayerVersionArn(entry);
|
|
79436
|
+
if (!parsed.ok) throw new LocalInvokeResolutionError(`Lambda '${logicalId}' has a Layers entry [${i}] cdkd cannot resolve locally: literal string '${entry}'. Expected a same-stack Ref / Fn::GetAtt to an AWS::Lambda::LayerVersion OR a literal layer-version ARN of the form arn:aws:lambda:<region>:<account>:layer:<name>:<version>.` + describeLayerArnRejection(parsed.rejection));
|
|
79437
79437
|
out.push({
|
|
79438
79438
|
kind: "arn",
|
|
79439
|
-
logicalId: parsed.arn,
|
|
79440
|
-
...parsed
|
|
79439
|
+
logicalId: parsed.value.arn,
|
|
79440
|
+
...parsed.value
|
|
79441
79441
|
});
|
|
79442
79442
|
continue;
|
|
79443
79443
|
}
|
|
@@ -79456,29 +79456,151 @@ function resolveLambdaLayers(stack, logicalId, props) {
|
|
|
79456
79456
|
return out;
|
|
79457
79457
|
}
|
|
79458
79458
|
/**
|
|
79459
|
-
*
|
|
79459
|
+
* `arn:<partition>:lambda:<region>:<account>:layer:<name>:<version>`.
|
|
79460
79460
|
*
|
|
79461
|
-
*
|
|
79462
|
-
*
|
|
79463
|
-
* the
|
|
79464
|
-
* misinterpretation of hand-edited templates. The partition segment
|
|
79465
|
-
* accepts `aws` / `aws-cn` / `aws-us-gov` so GovCloud / China-region
|
|
79466
|
-
* ARNs work without code changes.
|
|
79467
|
-
*
|
|
79468
|
-
* Exported for unit testing.
|
|
79461
|
+
* The PARTITION group is deliberately loose. It is not validated by the
|
|
79462
|
+
* pattern at all — {@link classifyLayerVersionArn} checks it against the one
|
|
79463
|
+
* the REGION derives, which is a stronger check than any alternation.
|
|
79469
79464
|
*/
|
|
79470
|
-
|
|
79471
|
-
|
|
79472
|
-
|
|
79465
|
+
const LAYER_ARN_PATTERN = new RegExp(`^arn:([a-z][a-z0-9-]*):lambda:([a-z]{2,}(?:-[a-z]+)+-\\d+):(\\d{12}):layer:([A-Za-z0-9_-]+):(\\d+)$`);
|
|
79466
|
+
/**
|
|
79467
|
+
* Classify a Lambda layer-version ARN: its segments, or why it was refused.
|
|
79468
|
+
*
|
|
79469
|
+
* The single decision point behind both the resolved layer's fields and the
|
|
79470
|
+
* caller's error message, so the message cannot describe a different verdict
|
|
79471
|
+
* than the parse reached. An earlier revision had the message re-run the
|
|
79472
|
+
* pattern in a separate helper, which left an arm — "the partitions agree" —
|
|
79473
|
+
* that the sole call site could never reach, because it only asked after the
|
|
79474
|
+
* parse had already refused. One classifier with one return value removes the
|
|
79475
|
+
* arm rather than justifying it, and runs the regex once.
|
|
79476
|
+
*
|
|
79477
|
+
* **The partition is DERIVED from the region, not enumerated** (issue #2143).
|
|
79478
|
+
* The pre-#2143 spelling hard-listed `aws` / `aws-cn` / `aws-us-gov` and so
|
|
79479
|
+
* failed to parse a layer ARN in any of the other five partitions
|
|
79480
|
+
* (`aws-iso`, `aws-iso-b`, `aws-iso-e`, `aws-iso-f`, `aws-eusc`) — and the
|
|
79481
|
+
* caller HARD-THROWS on an unparsed ARN, so `cdkd local invoke` on a function
|
|
79482
|
+
* with a literal-ARN layer failed at RESOLUTION in each of them. Running the
|
|
79483
|
+
* region through `derivePartitionAndUrlSuffix` (`src/utils/aws-partition.ts`)
|
|
79484
|
+
* is what the repo already does everywhere else it needs a partition, so the
|
|
79485
|
+
* list is not spelled a fourth time and cannot go stale here independently.
|
|
79486
|
+
*
|
|
79487
|
+
* **This fixes the PARSE only, and the download behind it is still commercial-
|
|
79488
|
+
* only.** `materializeLayerFromArn` (`src/local/layer-arn-materializer.ts`) is
|
|
79489
|
+
* a one-line shim over cdk-local, whose implementation rebuilds the ARN with a
|
|
79490
|
+
* hardcoded `aws`:
|
|
79491
|
+
*
|
|
79492
|
+
* ```js
|
|
79493
|
+
* // node_modules/cdk-local/dist/local-studio-BBtUAVNy.js:15214
|
|
79494
|
+
* const command = await buildGetLayerVersionCommand(
|
|
79495
|
+
* `arn:aws:lambda:${layer.region}:${layer.accountId}:layer:${layer.name}`, Number(layer.version));
|
|
79496
|
+
* ```
|
|
79497
|
+
*
|
|
79498
|
+
* So a layer in ANY of the seven non-commercial partitions still fails at
|
|
79499
|
+
* `lambda:GetLayerVersion`. That includes `aws-cn` and `aws-us-gov`, which the
|
|
79500
|
+
* old alternation ALREADY parsed and which therefore gain nothing here. What
|
|
79501
|
+
* this change moves is confined to the five that previously did not parse
|
|
79502
|
+
* (`aws-iso`, `aws-iso-b`, `aws-iso-e`, `aws-iso-f`, `aws-eusc`): for them the
|
|
79503
|
+
* failure shifts from "cdkd cannot resolve locally" to an AWS-side error, so
|
|
79504
|
+
* the parse stops being the blocker and the message names the true one. That
|
|
79505
|
+
* is a real improvement and it is NOT end-to-end support; nothing in this repo
|
|
79506
|
+
* can make it so, and the remaining half is filed as go-to-k/cdk-local#575.
|
|
79507
|
+
*
|
|
79508
|
+
* Deriving also makes the pair SELF-CONSISTENT, which the alternation could
|
|
79509
|
+
* not: `arn:aws-cn:lambda:us-east-1:...` used to parse, pairing China's
|
|
79510
|
+
* partition with a commercial region. It is now REFUSED — a deliberate
|
|
79511
|
+
* behaviour break, asked for by issue #2143's own direction. Nothing is lost
|
|
79512
|
+
* by refusing early, since the commercial-ARN rebuild above means such a layer
|
|
79513
|
+
* could never have been fetched from the partition its ARN named.
|
|
79514
|
+
*
|
|
79515
|
+
* The fallback direction is worth stating, since `derivePartitionAndUrlSuffix`
|
|
79516
|
+
* answers `aws` for a region it does not recognise. A brand-new COMMERCIAL
|
|
79517
|
+
* region therefore still parses with `arn:aws:` — the direction that must keep
|
|
79518
|
+
* working before the table hears about it — while a brand-new region in a
|
|
79519
|
+
* future partition is rejected rather than mis-attributed to commercial, which
|
|
79520
|
+
* is the same trade every other consumer of that table makes.
|
|
79521
|
+
*
|
|
79522
|
+
* Deliberately NOT `isClientSafeRegion` (`intrinsic-function-resolver.ts`):
|
|
79523
|
+
* that predicate is charset-based because its job is to keep a value inside a
|
|
79524
|
+
* hostname label, so it accepts anything lower-case alphanumeric — including
|
|
79525
|
+
* strings no region grammar would admit. See the note it carries.
|
|
79526
|
+
*
|
|
79527
|
+
* THIS is the exported symbol, and a `parseLayerVersionArn` wrapper returning
|
|
79528
|
+
* `T | undefined` is deliberately not kept beside it. Once the caller moved to
|
|
79529
|
+
* the classifier, that wrapper had no `src/` reference left and existed only
|
|
79530
|
+
* for the tests — which `scripts/check-local-reachability.ts` reports as an
|
|
79531
|
+
* orphaned export, correctly. That critic's opt-out tag would have been a
|
|
79532
|
+
* false statement here — it means "cdk-local owns the live implementation",
|
|
79533
|
+
* and cdkd owns this one — so the wrapper is gone rather than tagged. Tests
|
|
79534
|
+
* drive this classifier or the real caller instead. (The tag is deliberately
|
|
79535
|
+
* not spelled out in this comment: the critic reads tags from JSDoc, so
|
|
79536
|
+
* naming it here registers an annotation on a LIVE symbol and is reported as
|
|
79537
|
+
* stale. Measured.)
|
|
79538
|
+
*/
|
|
79539
|
+
function classifyLayerVersionArn(input) {
|
|
79540
|
+
const m = LAYER_ARN_PATTERN.exec(input);
|
|
79541
|
+
if (!m) return {
|
|
79542
|
+
ok: false,
|
|
79543
|
+
rejection: { kind: "shape" }
|
|
79544
|
+
};
|
|
79545
|
+
const partition = m[1];
|
|
79546
|
+
const region = m[2];
|
|
79547
|
+
const derived = derivePartitionAndUrlSuffix(region).partition;
|
|
79548
|
+
if (derived !== partition) return {
|
|
79549
|
+
ok: false,
|
|
79550
|
+
rejection: {
|
|
79551
|
+
kind: "partition",
|
|
79552
|
+
partition,
|
|
79553
|
+
region,
|
|
79554
|
+
derived,
|
|
79555
|
+
derivedFromTable: derived !== "aws"
|
|
79556
|
+
}
|
|
79557
|
+
};
|
|
79473
79558
|
return {
|
|
79474
|
-
|
|
79475
|
-
|
|
79476
|
-
|
|
79477
|
-
|
|
79478
|
-
|
|
79559
|
+
ok: true,
|
|
79560
|
+
value: {
|
|
79561
|
+
arn: input,
|
|
79562
|
+
region,
|
|
79563
|
+
accountId: m[3],
|
|
79564
|
+
name: m[4],
|
|
79565
|
+
version: m[5]
|
|
79566
|
+
}
|
|
79479
79567
|
};
|
|
79480
79568
|
}
|
|
79481
79569
|
/**
|
|
79570
|
+
* The one sentence a reader cannot derive from the ARN in front of them.
|
|
79571
|
+
*
|
|
79572
|
+
* A `'shape'` rejection gets nothing appended, so the message is
|
|
79573
|
+
* byte-identical to what it has always been for every pre-#2143 refusal. A
|
|
79574
|
+
* `'partition'` rejection is the class this change newly refuses AND the one
|
|
79575
|
+
* that looks perfectly well formed, so it says what disagrees.
|
|
79576
|
+
*
|
|
79577
|
+
* The two `'partition'` arms differ in what cdkd actually KNOWS. On a
|
|
79578
|
+
* `PARTITION_TABLE` hit the derived partition is a fact and is stated as one.
|
|
79579
|
+
* On a miss it is a FALLBACK, so the sentence states the RESOLUTION instead of
|
|
79580
|
+
* asserting membership: `us-east-1` and a hypothetical `us-isog-east-1` both
|
|
79581
|
+
* derive `aws`, but only the first is really commercial, and a message that
|
|
79582
|
+
* cannot tell them apart teaches the reader something false about the second.
|
|
79583
|
+
*
|
|
79584
|
+
* **The miss arm is the COMMERCIAL arm, and that is not obvious from its
|
|
79585
|
+
* name.** `PARTITION_TABLE` (`src/utils/aws-partition.ts`) holds seven rows
|
|
79586
|
+
* and none of them is `aws` — the commercial partition is the fallback
|
|
79587
|
+
* `return` at the bottom of `derivePartitionAndUrlSuffix`, not a row. So
|
|
79588
|
+
* `derivedFromTable` is FALSE for every genuinely commercial region, the fact
|
|
79589
|
+
* arm can never render `derived === 'aws'`, and the miss arm always does. Its
|
|
79590
|
+
* wording therefore has to read correctly for `us-east-1` — the commonest
|
|
79591
|
+
* region there is, and the one the docs, the integ fixture and the changelog
|
|
79592
|
+
* all use as the canonical example. An earlier revision said "no partition
|
|
79593
|
+
* prefix **cdkd knows** matches that region", which is true of the mechanism
|
|
79594
|
+
* and reads as cdkd failing to recognise `us-east-1`; it now leads with the
|
|
79595
|
+
* prefix test and ends on the resolution, which is the fact the reader needs.
|
|
79596
|
+
*/
|
|
79597
|
+
function describeLayerArnRejection(rejection) {
|
|
79598
|
+
if (rejection.kind === "shape") return "";
|
|
79599
|
+
const { partition, region, derived, derivedFromTable } = rejection;
|
|
79600
|
+
const head = ` The partition '${partition}' does not match region '${region}'`;
|
|
79601
|
+
return derivedFromTable ? `${head}, which is in partition '${derived}'.` : `${head}: no partition prefix matches that region, so cdkd resolves it to the commercial partition '${derived}'.`;
|
|
79602
|
+
}
|
|
79603
|
+
/**
|
|
79482
79604
|
* Walk a single Layers-array entry and return the referenced layer's
|
|
79483
79605
|
* logical ID — or `undefined` for shapes we don't try to resolve in v1.
|
|
79484
79606
|
*
|
|
@@ -88423,4 +88545,4 @@ function buildProgram() {
|
|
|
88423
88545
|
|
|
88424
88546
|
//#endregion
|
|
88425
88547
|
export { buildProgram };
|
|
88426
|
-
//# sourceMappingURL=program-
|
|
88548
|
+
//# sourceMappingURL=program-T5l98nuz.js.map
|