@go-to-k/cdkd 0.291.4 → 0.291.5

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.
@@ -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/failed-stages.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-noncurrent-version-purge.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":";;;;;;;;;;;;;;;;;;;;;;;;;KAiJY;UAyBK;EAEf;EAMA;EAYA;;UAsBe;EAUf;EAMA;EAQA;;UAMe;EAKf,SAAS;EAGT;EAMA;EAGA,WAAW,eAAe;EAG1B,SAAS;EAUT,UAAU;EAoBV,cAAc;EAqBd;EA0EA,iBAAiB;EAgBjB;EAcA;EAYA;EAwCA,UAAU;EAGV;;UASe;EAEf;EAGA;EAGA,OAAO;;UAMQ;EAEf;EAGA;EAGA,YAAY;EAcZ,qBAAqB;EAGrB,aAAa;EAGb;EAGA,WAAW;EAmBX;EAMA;EA0CA;EA2DA;EAiEA;;UA0Ce;EAEf;EAGA;EAG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UA;UAaA;UAUA;EAER,YACE,cAAc,gBACd,aAAa,aACb,YAAY,YACZ,gBAAgB,gBAChB,kBAAkB,kBAClB,SAAS,iCACT,qBACA,mBAAmB;EA+Bf,OAAO,mBAAmB,UAAU,yBAAyB,QAAQ;UAkEnE;UAuJA;UA2EA;UAiDA;UAiBA;UAyGA;iBA6GO;UAqQP;UAoFA;UA4EA;UA8BA;UAYM;UAmEN;UAsBA;UAUA;UA0IA;UAiDA;UAmCA;UAwBA;UA2BA;UAkCM;UAwGA;UA0GN;UAiDA;UA2IM;UAwgCA;UAqpBA;UA8FA;UAuDA;UAgCA;UA+BA;UAuCN;UAoCM;UA4CA;UAoVN;UAwBA;UAWA;UAkDA;UAmBA;UAwBA;UAyCM;UA0CA;UAgMA;UAgpEN;UA+CA;UA4DA;UA6FA;UA0IA;UAgCA;UAOA;UAoCA;UAgFA;UA4BM;UA6BN;UAiCA;UAmBA;UAgEA;UAiEM;UAkeN"}
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/failed-stages.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-noncurrent-version-purge.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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gBAAgB;EAgBhB;IACE;IACA;IACA;;EAqEF,mBAAmB;EA2BnB,wBAAwB,mBAAmB,OAAO,2BAA2B;EAgE7E;IAEE;IACA,YAAY;;EAEd;IAEE;IAEA,UAAU;IAEV,gBAAgB;;EAoBlB,gBAAgB;EAkBhB;EAyBA;EAWA;EAWA;EAaA;EAYA,uBAAuB;;UAkER;EAEf;EAEA;EAEA;EAEA;EAwBA;EAQA;EAEA;EAEA;EAMA,UAAU;EAcV;;qBAiSW;UACH;UACA;UACA;UAOA;UAaA;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UAUA;UAMA;UAQA;UAiBA;UAuBA;UAWA;UAeA;UAOA;UAUA;UAkBA;UAcA;UAYA;UAQA;UASA;UAkCA;UAcA;UAUA;UAaA;UAUA;EAER,YACE,cAAc,gBACd,aAAa,aACb,YAAY,YACZ,gBAAgB,gBAChB,kBAAkB,kBAClB,SAAS,iCACT,qBACA,mBAAmB;EA+Bf,OAAO,mBAAmB,UAAU,yBAAyB,QAAQ;UAkEnE;UAuJA;UA2EA;UAiDA;UAiBA;UAyGA;iBA6GO;UAqQP;UAoFA;UA4EA;UA8BA;UAYM;UAmEN;UAsBA;UAUA;UA0IA;UAiDA;UAmCA;UAwBA;UA2BA;UAkCM;UAwGA;UA0GN;UAiDA;UA2IM;UAwgCA;UAqpBA;UA8FA;UAuDA;UAgCA;UA+BA;UAuCN;UAoCM;UA4CA;UAoVN;UAwBA;UAWA;UAkDA;UAmBA;UAwBA;UAyCM;UA0CA;UAgMA;UAgpEN;UA+CA;UA4DA;UA6FA;UA0IA;UAgCA;UAOA;UAoCA;UAgFA;UA4BM;UA6BN;UAiCA;UAmBA;UAgEA;UAiEM;UAkeN"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Ba as StateError, Ca as ConfigError, Dr as S3StateBackend, Er as LockManager, Fa as ProvisioningError, Ha as formatError, Oi as Synthesizer, Sa as CdkdError, Ta as DependencyError, Ua as isCdkdError, Va as SynthesisError, Wa as normalizeAwsError, _a as AwsClients, ba as setAwsClients, cr as TemplateParser, ct as IAMRoleProvider, dt as ProviderRegistry, ga as resolveBucketRegion, ha as clearBucketRegionCache, ja as LockError, mn as DiffCalculator, qr as AssetPublisher, r as DeployEngine, ra as AssemblyReader, sr as DagBuilder, va as getAwsClients, xa as AssetError, xt as CloudControlProvider, ya as resetAwsClients } from "./deploy-engine-CpMT9Bmm.js";
1
+ import { Ca as CdkdError, Dr as S3StateBackend, Ea as DependencyError, Er as LockManager, Ga as normalizeAwsError, Ha as SynthesisError, Ia as ProvisioningError, Ma as LockError, Oi as Synthesizer, Sa as AssetError, Ua as formatError, Va as StateError, Wa as isCdkdError, _a as AwsClients, cr as TemplateParser, ct as IAMRoleProvider, dt as ProviderRegistry, ga as resolveBucketRegion, ha as clearBucketRegionCache, mn as DiffCalculator, qr as AssetPublisher, r as DeployEngine, ra as AssemblyReader, sr as DagBuilder, va as getAwsClients, wa as ConfigError, xa as setAwsClients, xt as CloudControlProvider, ya as resetAwsClients } from "./deploy-engine-BtJocpRR.js";
2
2
  import { a as setLogger, n as getLogger, t as ConsoleLogger } from "./logger-GASr9bAF.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,8 +1,8 @@
1
- import { $ as yellow, $a as describeAwsFailure, $i as expectedOwnerParam, $n as repairMalformedResourcePropertiesForReadOnly, $r as rewriteTemplateAssetReferences, $t as requireConfigObject, A as createPreDeleteFinalSnapshot, Aa as LocalStartServiceError, Ai as getDefaultStateBucketName, An as malformedOutputsRefusalMessage, Ar as buildForceUnlockCommand, At as carriesDynamicReference, B as isStatefulRecreateTargetSync, Bi as warnDeprecatedNoPrefixCliFlag, Bn as refuseMalformedOrphansForDestroy, Br as hasUnverifiableParameterRefusal, Bt as isSettledInstanceState, C as namesAnyDeclaredParameter, Ci as runDockerStreaming, Cn as isReadableResourceEntry, Cr as recoverMaskedOutput, Ct as slowCcOperationTimeoutMs, D as PRE_DELETE_SNAPSHOT_TYPES, Da as DynamicReferenceRegionAmbiguousError, Di as getDockerImageBySourceHash, Dn as malformedOrphanRecordsWarning, Dr as S3StateBackend, Dt as disableInstanceApiTermination, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ea as DeployCancelledError, Ei as AssetManifestLoader, En as malformedLocalOutputsWarning, Er as LockManager, Et as deleteSkipReason, F as extractDeploymentEventError, Fa as ProvisioningError, Fi as resolveSkipPrefix, Fn as malformedResourcesWarning, Fr as CUSTOM_RESOURCE_RESPONSE_PREFIX, Ft as isImpossibleEmptyStoredAttribute, G as toCfnInteger, Ga as withErrorHandling, Gi as findLargeInlineResources, Gn as refuseMalformedResourceEntries, Gr as orphansCarriedFrom, Gt as coerceCfnBoolean, H as WARM_THROUGHPUT_MEMBERS, Hi as CFN_TEMPLATE_BODY_LIMIT, Hn as refuseMalformedOutputs, Hr as importableOutputs, Ht as normalizeAwsTagsToCfn, I as makeSiblingClaimReader, Ia as ResourceTimeoutError, Ii as resolveStateBucketWithDefault, In as malformedStateRefusalMessage, Ir as DEFAULT_STATE_PREFIX, It as isNamelessDynamicReferenceError, J as bold, Ja as isThrottlingError, Ji as injectiveKey, Jn as refuseMalformedResourcesForDestroy, Jr as stringifyValue, Jt as configIntegerRefusal, K as toFiniteNumber, Ka as isMarkedNonRetryable, Ki as uploadCfnTemplate, Kn as refuseMalformedResourceEntriesForOrphan, Kr as shouldRetainResource, Kt as coerceCfnInteger, L as planOrphanAdoption, La as ResourceUpdateNotSupportedError, Li as resolveStateBucketWithDefaultAndSource, Ln as refuseDivergentRecordRegionForDestroy, Lr as exportNamesCarriedFrom, Lt as isUnboundTemplateParameter, M as refusesFinalSnapshot, Ma as MalformedProducerRecordRefusalError, Mi as resolveApp, Mn as malformedRenderedContainersWarning, Mr as forceQuitRecoveryClause, Mt as cfnRefValueFromPhysicalId, N as unsupportedFinalSnapshotError, Na as NestedStackChildDirectDestroyError, Ni as resolveAutoAssetStorage, Nn as malformedResourceEntriesWarning, Nr as formatLockExpiry, Nt as coerceParameterTypedValue, O as buildFinalSnapshotIdentifier, Oa as IntrinsicResolutionRefusalError, Oi as Synthesizer, On as malformedOrphansRefusalMessage, Or as rebuildClientForBucketRegion, Ot as isTerminationProtectionPropagationError, P as makeCanonicalizePropertiesFn, Pa as PartialFailureError, Pi as resolveCaptureObservedState, Pn as malformedResourcePropertiesWarning, Pr as shellQuote, Pt as getAccountInfo, Q as red, Qa as retryClassificationText, Qi as decodeListingKey, Qn as repairMalformedResourceEntriesForReadOnly, Qr as loadPublishableAssetManifest, Qt as requireConfigArray, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ra as StackHasActiveImportsError, Ri as resolveUseCdkBootstrapAssets, Rn as refuseMalformedNestedChildOutputs, Rr as hasReadableExportSet, Rt as parameterTypeMayLoseSecretIdentity, S as computeParameterTaint, Sa as CdkdError, Si as runDockerForeground, Sn as hasReadableResources, Sr as recordMaskOnlyValue, St as isWaitAbandonedError, T as resourcesNamingDeclaredParameter, Ti as stripControlChars, Tn as malformedExportSourceWarning, Tr as scrubResourceRecord, Tt as deleteIndeterminateGuards, U as coerceWarmThroughput$1, Ui as CFN_TEMPLATE_URL_LIMIT, Un as refuseMalformedOutputsForDestroy, Ur as isReadableBag, Ut as resolveExplicitPhysicalId, V as renderStatefulReason, Va as SynthesisError, Vi as ssmResolvedValueType, Vn as refuseMalformedOrphansForOrphan, Vr as importableOutputKeys, Vt as WAFv2WebACLProvider, W as isWarmThroughputDecrease, Wa as normalizeAwsError, Wi as MIGRATE_TMP_PREFIX, Wn as refuseMalformedResourceAttributesForOrphan, Wr as orphansAfterRollback, Wt as assertRegionMatch, X as gray, Xa as markNonRetryable, Xi as producerCoordinateKey, Xn as repairMalformedOrphansForReadOnly, Xr as buildAssetRedirectMap, Xt as readConfigString, Y as cyan, Ya as isTransientServerError, Yi as injectiveKeyPrefix, Yn as refuseMalformedState, Yr as WorkGraph, Yt as configStringRefusal, Z as green, Za as markRedactedCause, Zi as producerRecordKey, Zn as repairMalformedOutputsForReadOnly, Zr as createAssetRedirectResolver, Zt as replayWarn, _ as bagHoldsSecretExpression, _a as AwsClients, _i as dockerSpawnEnvWithSensitive, _n as UNREADABLE_ORPHANS_CONTAINER_ROW, _r as identityKeyFor, _t as endCommandInterruptScope, a as DeploymentEventsStore, aa as globMatches, ai as isCrossRegionRedirect, an as s3BucketDomainName, ar as describeTypeWithThrottleRetry, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as setAwsClients, bi as partitionSensitiveEnv, bn as hasReadableOrphans, br as maskSecretsInError, bt as startInterruptWatch, c as replayFailedOperations, ca as hasOwnKey, ci as validateAssetBucketName, cn as s3BucketWebsiteUrl, cr as TemplateParser, ct as IAMRoleProvider, d as updatePartialMessage, da as ownValue, di as buildDockerImage, dn as applyCallerIdentityCredentials, dr as STATE_SOURCED_READBACK_RULES, dt as ProviderRegistry, ea as PARTITION_TABLE, ei as AssetModeResolver, en as requireConfigString, eo as safeStringify, er as repairMalformedResourcesForReadOnly, et as collectDeclaredOutputNames, f as updatePartialReason, fa as absoluteAssemblyPathEscape, fi as resolveDockerContextDirectory, fn as callerEnvCredentials, fr as TEMPLATE_SOURCED_RULES, ft as wouldReturnToSdkProvider, g as computeImplicitDeleteEdges, ga as resolveBucketRegion, gi as describeDockerFailure, gn as STATE_RESOURCES_MALFORMED, gr as errorCauseChain, gt as beginCommandInterruptScope, h as IMPLICIT_DELETE_DEPENDENCIES, hi as describeDockerExecFailure, hn as INTRINSIC_KEYS, hr as dynamicReferenceTokens, ht as maskerOrIdentity, i as DeploymentEventsReader, ia as failedStageNote, ii as getBootstrapMarkerKey, in as s3BucketArn, ir as findSilentDropProperties, it as secretBearing, j as isFinalSnapshotError, ji as getLegacyStateBucketName, jn as malformedOutputsWarning, jr as buildLockContentionMessage, jt as carriesFetchableDynamicReference, k as ccRoutedFinalSnapshotError, ka as LocalInvokeBuildError$1, ki as synthesisStatusMessage, kn as malformedOrphansWarning, kr as UNREPRODUCIBLE_LOCK_CLAUSE, kt as IntrinsicFunctionResolver, l as replayRollback, la as hasPlainPrototype, li as validateContainerRepoName, ln as applyRoleArnIfSet, lr as STATE_SOURCED_BASELINE_RULES, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as resolveAssemblyPath, mi as describeDockerCapturedOutput, mn as DiffCalculator, mr as createSecretMasker, mt as maskDeep, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as derivePartitionAndUrlSuffix, ni as assertAssetBucketRegion, nn as producerRegionsFromState, nr as safeStackName, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as processStackMessages, oi as parseBootstrapMarker, on as s3BucketDualStackDomainName, or as withRetry, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as renderAssemblyPathEscape, pi as warnManifestExecutable, pn as envCredentialsAreAssumedRole, pr as carriesSecretMask, pt as createMaskedRetryLogger, q as formatResourceLine, qa as isRetryableTransientError, qi as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, qn as refuseMalformedResourcePropertiesForOrphan, qr as AssetPublisher, qt as configBooleanRefusal, r as DeployEngine, ra as AssemblyReader, ri as ensureAssetStorage, rn as withSharedDrainBudget, rr as findActionableSilentDrops, rt as isExportAliasCollision, s as planRollback, sa as defineOwnKey, si as readBootstrapMarkerBody, sn as s3BucketRegionalDomainName, sr as DagBuilder, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as canonicalizeRegion, ti as BOOTSTRAP_MARKER_PREFIX, tn as classifyReplaySecretRegion, tr as safeRegion, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as nullPrototypeRecord, ui as buildDenyExternalAccessPolicy, un as AWS_CREDENTIAL_ENV_KEYS, ur as STATE_SOURCED_CROSS_GENERATION_RULES, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as getAwsClients, vi as formatDockerLoginError, vn as UNREADABLE_RESOURCES_MAP_ROW, vr as isSingleDynamicReferenceToken, vt as interruptWatchListenerCount, w as reachableDivergentParameters, wa as CrossAccountSecretRefusalError, wi as escapeRegExp, wn as malformedExportNamesWarning, wr as redactSecretsForState, wt as UNSPECIFIED_SKIP_REASON, x as bindingSkippedOutputs, xi as redactDockerArgvValues, xn as hasReadableOutputs, xr as maskSecretsInText, xt as CloudControlProvider, y as keptWholeReasonText, ya as resetAwsClients, yi as getDockerCmd, yn as displayLogicalId, yr as markSameGenerationBag, yt as isInterruptedWaitError, z as isStatefulRecreateTargetForReplace, za as StackTerminationProtectionError, zi as stateBucketExistenceConfirmed, zn as refuseMalformedOrphans, zr as hasReasonlessBaselineRefusal, zt as refStateLookupFromResource } from "./deploy-engine-CpMT9Bmm.js";
1
+ import { $ as yellow, $a as retryClassificationText, $i as expectedOwnerParam, $n as repairMalformedResourcePropertiesForReadOnly, $r as rewriteTemplateAssetReferences, $t as requireConfigObject, A as createPreDeleteFinalSnapshot, Aa as LocalInvokeBuildError$1, Ai as getDefaultStateBucketName, An as malformedOutputsRefusalMessage, Ar as buildForceUnlockCommand, At as carriesDynamicReference, B as isStatefulRecreateTargetSync, Ba as StackTerminationProtectionError, Bi as warnDeprecatedNoPrefixCliFlag, Bn as refuseMalformedOrphansForDestroy, Br as hasUnverifiableParameterRefusal, Bt as isSettledInstanceState, C as namesAnyDeclaredParameter, Ca as CdkdError, Ci as runDockerStreaming, Cn as isReadableResourceEntry, Cr as recoverMaskedOutput, Ct as slowCcOperationTimeoutMs, D as PRE_DELETE_SNAPSHOT_TYPES, Da as DeployCancelledError, Di as getDockerImageBySourceHash, Dn as malformedOrphanRecordsWarning, Dr as S3StateBackend, Dt as disableInstanceApiTermination, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ei as AssetManifestLoader, En as malformedLocalOutputsWarning, Er as LockManager, Et as deleteSkipReason, F as extractDeploymentEventError, Fa as PartialFailureError, Fi as resolveSkipPrefix, Fn as malformedResourcesWarning, Fr as CUSTOM_RESOURCE_RESPONSE_PREFIX, Ft as isImpossibleEmptyStoredAttribute, G as toCfnInteger, Ga as normalizeAwsError, Gi as findLargeInlineResources, Gn as refuseMalformedResourceEntries, Gr as orphansCarriedFrom, Gt as coerceCfnBoolean, H as WARM_THROUGHPUT_MEMBERS, Ha as SynthesisError, Hi as CFN_TEMPLATE_BODY_LIMIT, Hn as refuseMalformedOutputs, Hr as importableOutputs, Ht as normalizeAwsTagsToCfn, I as makeSiblingClaimReader, Ia as ProvisioningError, Ii as resolveStateBucketWithDefault, In as malformedStateRefusalMessage, Ir as DEFAULT_STATE_PREFIX, It as isNamelessDynamicReferenceError, J as bold, Ja as isRetryableTransientError, Ji as injectiveKey, Jn as refuseMalformedResourcesForDestroy, Jr as stringifyValue, Jt as configIntegerRefusal, K as toFiniteNumber, Ka as withErrorHandling, Ki as uploadCfnTemplate, Kn as refuseMalformedResourceEntriesForOrphan, Kr as shouldRetainResource, Kt as coerceCfnInteger, L as planOrphanAdoption, La as ResourceTimeoutError, Li as resolveStateBucketWithDefaultAndSource, Ln as refuseDivergentRecordRegionForDestroy, Lr as exportNamesCarriedFrom, Lt as isUnboundTemplateParameter, M as refusesFinalSnapshot, Mi as resolveApp, Mn as malformedRenderedContainersWarning, Mr as forceQuitRecoveryClause, Mt as cfnRefValueFromPhysicalId, N as unsupportedFinalSnapshotError, Na as MalformedProducerRecordRefusalError, Ni as resolveAutoAssetStorage, Nn as malformedResourceEntriesWarning, Nr as formatLockExpiry, Nt as coerceParameterTypedValue, O as buildFinalSnapshotIdentifier, Oa as DynamicReferenceRegionAmbiguousError, Oi as Synthesizer, On as malformedOrphansRefusalMessage, Or as rebuildClientForBucketRegion, Ot as isTerminationProtectionPropagationError, P as makeCanonicalizePropertiesFn, Pa as NestedStackChildDirectDestroyError, Pi as resolveCaptureObservedState, Pn as malformedResourcePropertiesWarning, Pr as shellQuote, Pt as getAccountInfo, Q as red, Qa as markRedactedCause, Qi as decodeListingKey, Qn as repairMalformedResourceEntriesForReadOnly, Qr as loadPublishableAssetManifest, Qt as requireConfigArray, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ra as ResourceUpdateNotSupportedError, Ri as resolveUseCdkBootstrapAssets, Rn as refuseMalformedNestedChildOutputs, Rr as hasReadableExportSet, Rt as parameterTypeMayLoseSecretIdentity, S as computeParameterTaint, Si as runDockerForeground, Sn as hasReadableResources, Sr as recordMaskOnlyValue, St as isWaitAbandonedError, T as resourcesNamingDeclaredParameter, Ta as CrossAccountSecretRefusalError, Ti as stripControlChars, Tn as malformedExportSourceWarning, Tr as scrubResourceRecord, Tt as deleteIndeterminateGuards, U as coerceWarmThroughput$1, Ui as CFN_TEMPLATE_URL_LIMIT, Un as refuseMalformedOutputsForDestroy, Ur as isReadableBag, Ut as resolveExplicitPhysicalId, V as renderStatefulReason, Vi as ssmResolvedValueType, Vn as refuseMalformedOrphansForOrphan, Vr as importableOutputKeys, Vt as WAFv2WebACLProvider, W as isWarmThroughputDecrease, Wi as MIGRATE_TMP_PREFIX, Wn as refuseMalformedResourceAttributesForOrphan, Wr as orphansAfterRollback, Wt as assertRegionMatch, X as gray, Xa as isTransientServerError, Xi as producerCoordinateKey, Xn as repairMalformedOrphansForReadOnly, Xr as buildAssetRedirectMap, Xt as readConfigString, Y as cyan, Ya as isThrottlingError, Yi as injectiveKeyPrefix, Yn as refuseMalformedState, Yr as WorkGraph, Yt as configStringRefusal, Z as green, Za as markNonRetryable, Zi as producerRecordKey, Zn as repairMalformedOutputsForReadOnly, Zr as createAssetRedirectResolver, Zt as replayWarn, _ as bagHoldsSecretExpression, _a as AwsClients, _i as dockerSpawnEnvWithSensitive, _n as UNREADABLE_ORPHANS_CONTAINER_ROW, _r as identityKeyFor, _t as endCommandInterruptScope, a as DeploymentEventsStore, aa as globMatches, ai as isCrossRegionRedirect, an as s3BucketDomainName, ar as describeTypeWithThrottleRetry, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as runWithStackAwsClients, bi as partitionSensitiveEnv, bn as hasReadableOrphans, br as maskSecretsInError, bt as startInterruptWatch, c as replayFailedOperations, ca as hasOwnKey, ci as validateAssetBucketName, cn as s3BucketWebsiteUrl, cr as TemplateParser, ct as IAMRoleProvider, d as updatePartialMessage, da as ownValue, di as buildDockerImage, dn as applyCallerIdentityCredentials, dr as STATE_SOURCED_READBACK_RULES, dt as ProviderRegistry, ea as PARTITION_TABLE, ei as AssetModeResolver, en as requireConfigString, eo as describeAwsFailure, er as repairMalformedResourcesForReadOnly, et as collectDeclaredOutputNames, f as updatePartialReason, fa as absoluteAssemblyPathEscape, fi as resolveDockerContextDirectory, fn as callerEnvCredentials, fr as TEMPLATE_SOURCED_RULES, ft as wouldReturnToSdkProvider, g as computeImplicitDeleteEdges, ga as resolveBucketRegion, gi as describeDockerFailure, gn as STATE_RESOURCES_MALFORMED, gr as errorCauseChain, gt as beginCommandInterruptScope, h as IMPLICIT_DELETE_DEPENDENCIES, hi as describeDockerExecFailure, hn as INTRINSIC_KEYS, hr as dynamicReferenceTokens, ht as maskerOrIdentity, i as DeploymentEventsReader, ia as failedStageNote, ii as getBootstrapMarkerKey, in as s3BucketArn, ir as findSilentDropProperties, it as secretBearing, j as isFinalSnapshotError, ja as LocalStartServiceError, ji as getLegacyStateBucketName, jn as malformedOutputsWarning, jr as buildLockContentionMessage, jt as carriesFetchableDynamicReference, k as ccRoutedFinalSnapshotError, ka as IntrinsicResolutionRefusalError, ki as synthesisStatusMessage, kn as malformedOrphansWarning, kr as UNREPRODUCIBLE_LOCK_CLAUSE, kt as IntrinsicFunctionResolver, l as replayRollback, la as hasPlainPrototype, li as validateContainerRepoName, ln as applyRoleArnIfSet, lr as STATE_SOURCED_BASELINE_RULES, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as resolveAssemblyPath, mi as describeDockerCapturedOutput, mn as DiffCalculator, mr as createSecretMasker, mt as maskDeep, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as derivePartitionAndUrlSuffix, ni as assertAssetBucketRegion, nn as producerRegionsFromState, nr as safeStackName, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as processStackMessages, oi as parseBootstrapMarker, on as s3BucketDualStackDomainName, or as withRetry, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as renderAssemblyPathEscape, pi as warnManifestExecutable, pn as envCredentialsAreAssumedRole, pr as carriesSecretMask, pt as createMaskedRetryLogger, q as formatResourceLine, qa as isMarkedNonRetryable, qi as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, qn as refuseMalformedResourcePropertiesForOrphan, qr as AssetPublisher, qt as configBooleanRefusal, r as DeployEngine, ra as AssemblyReader, ri as ensureAssetStorage, rn as withSharedDrainBudget, rr as findActionableSilentDrops, rt as isExportAliasCollision, s as planRollback, sa as defineOwnKey, si as readBootstrapMarkerBody, sn as s3BucketRegionalDomainName, sr as DagBuilder, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as canonicalizeRegion, ti as BOOTSTRAP_MARKER_PREFIX, tn as classifyReplaySecretRegion, to as safeStringify, tr as safeRegion, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as nullPrototypeRecord, ui as buildDenyExternalAccessPolicy, un as AWS_CREDENTIAL_ENV_KEYS, ur as STATE_SOURCED_CROSS_GENERATION_RULES, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as getAwsClients, vi as formatDockerLoginError, vn as UNREADABLE_RESOURCES_MAP_ROW, vr as isSingleDynamicReferenceToken, vt as interruptWatchListenerCount, w as reachableDivergentParameters, wi as escapeRegExp, wn as malformedExportNamesWarning, wr as redactSecretsForState, wt as UNSPECIFIED_SKIP_REASON, x as bindingSkippedOutputs, xa as setAwsClients, xi as redactDockerArgvValues, xn as hasReadableOutputs, xr as maskSecretsInText, xt as CloudControlProvider, y as keptWholeReasonText, ya as resetAwsClients, yi as getDockerCmd, yn as displayLogicalId, yr as markSameGenerationBag, yt as isInterruptedWaitError, z as isStatefulRecreateTargetForReplace, za as StackHasActiveImportsError, zi as stateBucketExistenceConfirmed, zn as refuseMalformedOrphans, zr as hasReasonlessBaselineRefusal, zt as refStateLookupFromResource } from "./deploy-engine-BtJocpRR.js";
2
2
  import { C as displayAwsMessage, D as truncateCodePoints, E as isPasteableIdent, S as UNRENDERABLE, T as displaySafe, _ as withSkipPrefix, b as SECRET_REF_MAX_CODE_POINTS, c as PATTERN_B_NAME_OPTIONS, f as explicitNamePropertyFor, h as getCurrentStackName, i as reserveStdoutForPayload, l as PATTERN_B_NAME_PROPERTIES, m as generateResourceNameWithFallback, n as getLogger, o as runStackBuffered, p as generateResourceName, s as getLiveRenderer, u as PATTERN_B_RESOURCE_TYPES, v as withStackName, w as displayIdent, x as STACK_REF_MAX_CODE_POINTS } from "./logger-GASr9bAF.js";
3
- import { n as awsClientDefaults } from "./aws-client-defaults-BoIxyCir.js";
4
- import { t as getCdkdVersion } from "./version-ChuDKy_E.js";
5
- import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-_vdcb9QG.js";
3
+ import { n as awsClientDefaults, s as ambientRegion } from "./aws-client-defaults-jISU4PHo.js";
4
+ import { t as getCdkdVersion } from "./version-DVA14XyG.js";
5
+ import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-CZTUKQnY.js";
6
6
  import { AsyncLocalStorage } from "node:async_hooks";
7
7
  import { createHash, randomBytes, randomUUID } from "node:crypto";
8
8
  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, NotFound, 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";
@@ -12226,7 +12226,7 @@ var SQSQueueProvider = class {
12226
12226
  return `arn:${partition}:sqs:${region}:${accountId}:${queueName}`;
12227
12227
  } catch {
12228
12228
  this.logger.warn("Failed to construct SQS ARN from STS, using placeholder");
12229
- const { partition } = derivePartitionAndUrlSuffix(process.env["AWS_REGION"] ?? "");
12229
+ const { partition } = derivePartitionAndUrlSuffix(ambientRegion() ?? "");
12230
12230
  return `arn:${partition}:sqs:unknown:unknown:${queueName}`;
12231
12231
  }
12232
12232
  }
@@ -26244,11 +26244,11 @@ var LogsLogGroupProvider = class {
26244
26244
  async buildArn(logGroupName) {
26245
26245
  try {
26246
26246
  const accountId = (await this.stsClient.send(new GetCallerIdentityCommand({}))).Account;
26247
- const region = await this.logsClient.config.region() || process.env["AWS_REGION"] || "us-east-1";
26247
+ const region = await this.logsClient.config.region() || ambientRegion() || "us-east-1";
26248
26248
  const { partition } = derivePartitionAndUrlSuffix(region);
26249
26249
  return `arn:${partition}:logs:${region}:${accountId}:log-group:${logGroupName}:*`;
26250
26250
  } catch {
26251
- const { partition } = derivePartitionAndUrlSuffix(process.env["AWS_REGION"] ?? "");
26251
+ const { partition } = derivePartitionAndUrlSuffix(ambientRegion() ?? "");
26252
26252
  return `arn:${partition}:logs:unknown:unknown:log-group:${logGroupName}:*`;
26253
26253
  }
26254
26254
  }
@@ -26512,11 +26512,11 @@ var CloudWatchAlarmProvider = class {
26512
26512
  this.logger.debug(`Failed to describe alarm ${alarmName}, constructing ARN from config: ${describeAwsFailure(error).detail}`);
26513
26513
  }
26514
26514
  try {
26515
- const region = await this.cloudWatchClient.config.region() || process.env["AWS_REGION"] || "us-east-1";
26515
+ const region = await this.cloudWatchClient.config.region() || ambientRegion() || "us-east-1";
26516
26516
  const { partition } = derivePartitionAndUrlSuffix(region);
26517
26517
  return `arn:${partition}:cloudwatch:${region}:*:alarm:${alarmName}`;
26518
26518
  } catch {
26519
- const { partition } = derivePartitionAndUrlSuffix(process.env["AWS_REGION"] ?? "");
26519
+ const { partition } = derivePartitionAndUrlSuffix(ambientRegion() ?? "");
26520
26520
  return `arn:${partition}:cloudwatch:*:*:alarm:${alarmName}`;
26521
26521
  }
26522
26522
  }
@@ -28871,7 +28871,7 @@ const generations = /* @__PURE__ */ new Map();
28871
28871
  * long-lived process cannot grow the map without bound.
28872
28872
  */
28873
28873
  const MAX_TRACKED_GENERATIONS = 1e5;
28874
- const tokenKey = (scope, logicalId, maxLength, charset) => injectiveKey(scope, process.env["AWS_REGION"] ?? "", getCurrentStackName() ?? "", logicalId, maxLength, charset);
28874
+ const tokenKey = (scope, logicalId, maxLength, charset) => injectiveKey(scope, ambientRegion() ?? "", getCurrentStackName() ?? "", logicalId, maxLength, charset);
28875
28875
  const derive = (key, generation, maxLength, charset) => {
28876
28876
  const digest = createHash("sha256").update(`${PROCESS_NONCE}\u0000${key}\u0000${generation}`).digest("hex");
28877
28877
  return `cdkd${charset === "alphanumeric" ? "" : "-"}${digest}`.slice(0, maxLength);
@@ -34167,7 +34167,7 @@ function appendMapPatchOps(ops, basePath, next, prev) {
34167
34167
  */
34168
34168
  var ApiGatewayV2Provider = class {
34169
34169
  client;
34170
- providerRegion = process.env["AWS_REGION"];
34170
+ providerRegion = ambientRegion();
34171
34171
  logger = getLogger().child("ApiGatewayV2Provider");
34172
34172
  handledProperties = /* @__PURE__ */ new Map([
34173
34173
  ["AWS::ApiGatewayV2::Api", /* @__PURE__ */ new Set([
@@ -38058,7 +38058,7 @@ var AgentCoreEvaluatorProvider = class {
38058
38058
  var StepFunctionsProvider = class {
38059
38059
  sfnClient;
38060
38060
  s3Client;
38061
- providerRegion = process.env["AWS_REGION"];
38061
+ providerRegion = ambientRegion();
38062
38062
  logger = getLogger().child("StepFunctionsProvider");
38063
38063
  handledProperties = /* @__PURE__ */ new Map([["AWS::StepFunctions::StateMachine", /* @__PURE__ */ new Set([
38064
38064
  "StateMachineName",
@@ -38650,7 +38650,7 @@ function clusterNameFromServiceArn(arn) {
38650
38650
  const settleRolloutDelays = { sleep: (ms) => new Promise((resolve) => setTimeout(resolve, ms)) };
38651
38651
  var ECSProvider = class {
38652
38652
  ecsClient;
38653
- providerRegion = process.env["AWS_REGION"];
38653
+ providerRegion = ambientRegion();
38654
38654
  logger = getLogger().child("ECSProvider");
38655
38655
  handledProperties = /* @__PURE__ */ new Map([
38656
38656
  ["AWS::ECS::Cluster", /* @__PURE__ */ new Set([
@@ -40454,7 +40454,7 @@ const LISTENER_ATTRIBUTE_DEFAULTS = { "routing.http.response.server.enabled": "t
40454
40454
  */
40455
40455
  var ELBv2Provider = class {
40456
40456
  elbv2Client;
40457
- providerRegion = process.env["AWS_REGION"];
40457
+ providerRegion = ambientRegion();
40458
40458
  logger = getLogger().child("ELBv2Provider");
40459
40459
  handledProperties = /* @__PURE__ */ new Map([
40460
40460
  ["AWS::ElasticLoadBalancingV2::LoadBalancer", /* @__PURE__ */ new Set([
@@ -41732,7 +41732,7 @@ var ELBv2Provider = class {
41732
41732
  */
41733
41733
  var RDSProvider = class {
41734
41734
  rdsClient;
41735
- providerRegion = process.env["AWS_REGION"];
41735
+ providerRegion = ambientRegion();
41736
41736
  logger = getLogger().child("RDSProvider");
41737
41737
  handledProperties = /* @__PURE__ */ new Map([
41738
41738
  ["AWS::RDS::DBSubnetGroup", /* @__PURE__ */ new Set([
@@ -42540,7 +42540,7 @@ const POLL_TIMEOUT_MS$1 = 18e5;
42540
42540
  */
42541
42541
  var RDSDBProxyProvider = class {
42542
42542
  rdsClient;
42543
- providerRegion = process.env["AWS_REGION"];
42543
+ providerRegion = ambientRegion();
42544
42544
  logger = getLogger().child("RDSDBProxyProvider");
42545
42545
  attributeCache = /* @__PURE__ */ new Map();
42546
42546
  handledProperties = /* @__PURE__ */ new Map([["AWS::RDS::DBProxy", /* @__PURE__ */ new Set([
@@ -42882,7 +42882,7 @@ const POLL_TIMEOUT_MS = 18e5;
42882
42882
  */
42883
42883
  var RDSDBProxyEndpointProvider = class {
42884
42884
  rdsClient;
42885
- providerRegion = process.env["AWS_REGION"];
42885
+ providerRegion = ambientRegion();
42886
42886
  logger = getLogger().child("RDSDBProxyEndpointProvider");
42887
42887
  attributeCache = /* @__PURE__ */ new Map();
42888
42888
  handledProperties = /* @__PURE__ */ new Map([["AWS::RDS::DBProxyEndpoint", /* @__PURE__ */ new Set([
@@ -43196,7 +43196,7 @@ var RDSDBProxyEndpointProvider = class {
43196
43196
  */
43197
43197
  var RDSDBProxyTargetGroupProvider = class {
43198
43198
  rdsClient;
43199
- providerRegion = process.env["AWS_REGION"];
43199
+ providerRegion = ambientRegion();
43200
43200
  logger = getLogger().child("RDSDBProxyTargetGroupProvider");
43201
43201
  handledProperties = /* @__PURE__ */ new Map([["AWS::RDS::DBProxyTargetGroup", /* @__PURE__ */ new Set([
43202
43202
  "DBProxyName",
@@ -43484,7 +43484,7 @@ var RDSDBProxyTargetGroupProvider = class {
43484
43484
  */
43485
43485
  var DocDBProvider = class {
43486
43486
  docdbClient;
43487
- providerRegion = process.env["AWS_REGION"];
43487
+ providerRegion = ambientRegion();
43488
43488
  logger = getLogger().child("DocDBProvider");
43489
43489
  handledProperties = /* @__PURE__ */ new Map([
43490
43490
  ["AWS::DocDB::DBSubnetGroup", /* @__PURE__ */ new Set([
@@ -44125,7 +44125,7 @@ var DocDBProvider = class {
44125
44125
  */
44126
44126
  var NeptuneProvider = class {
44127
44127
  neptuneClient;
44128
- providerRegion = process.env["AWS_REGION"];
44128
+ providerRegion = ambientRegion();
44129
44129
  logger = getLogger().child("NeptuneProvider");
44130
44130
  handledProperties = /* @__PURE__ */ new Map([
44131
44131
  ["AWS::Neptune::DBSubnetGroup", /* @__PURE__ */ new Set([
@@ -44908,7 +44908,7 @@ function canonicalizeQueryName(name) {
44908
44908
  */
44909
44909
  var Route53Provider = class {
44910
44910
  route53Client;
44911
- providerRegion = process.env["AWS_REGION"];
44911
+ providerRegion = ambientRegion();
44912
44912
  logger = getLogger().child("Route53Provider");
44913
44913
  handledProperties = /* @__PURE__ */ new Map([["AWS::Route53::HostedZone", /* @__PURE__ */ new Set([
44914
44914
  "Name",
@@ -46975,7 +46975,7 @@ function narrowMfaConfiguration(properties) {
46975
46975
  */
46976
46976
  var CognitoUserPoolProvider = class {
46977
46977
  cognitoClient;
46978
- providerRegion = process.env["AWS_REGION"];
46978
+ providerRegion = ambientRegion();
46979
46979
  logger = getLogger().child("CognitoUserPoolProvider");
46980
46980
  handledProperties = /* @__PURE__ */ new Map([["AWS::Cognito::UserPool", /* @__PURE__ */ new Set([
46981
46981
  "UserPoolName",
@@ -47910,7 +47910,7 @@ var CognitoUserPoolProvider = class {
47910
47910
  */
47911
47911
  var ElastiCacheProvider = class {
47912
47912
  client;
47913
- providerRegion = process.env["AWS_REGION"];
47913
+ providerRegion = ambientRegion();
47914
47914
  logger = getLogger().child("ElastiCacheProvider");
47915
47915
  handledProperties = /* @__PURE__ */ new Map([["AWS::ElastiCache::SubnetGroup", /* @__PURE__ */ new Set([
47916
47916
  "CacheSubnetGroupName",
@@ -48448,7 +48448,7 @@ const PRIVATE_DNS_NAMESPACE_DEFAULT_SOA_TTL = 15;
48448
48448
  var ServiceDiscoveryProvider = class ServiceDiscoveryProvider {
48449
48449
  client;
48450
48450
  stsClient;
48451
- providerRegion = process.env["AWS_REGION"];
48451
+ providerRegion = ambientRegion();
48452
48452
  logger = getLogger().child("ServiceDiscoveryProvider");
48453
48453
  handledProperties = /* @__PURE__ */ new Map([
48454
48454
  ["AWS::ServiceDiscovery::PrivateDnsNamespace", /* @__PURE__ */ new Set([
@@ -49461,7 +49461,7 @@ const MUTABLE_GRAPHQL_API_CONFIG_PROPERTIES = [
49461
49461
  var AppSyncProvider = class {
49462
49462
  client;
49463
49463
  s3Client;
49464
- providerRegion = process.env["AWS_REGION"];
49464
+ providerRegion = ambientRegion();
49465
49465
  logger = getLogger().child("AppSyncProvider");
49466
49466
  /**
49467
49467
  * Cache of `apiId -> GraphqlApi ARN` for the lifetime of this provider
@@ -51391,7 +51391,7 @@ function resolveTableIdentity(input) {
51391
51391
  */
51392
51392
  var GlueProvider = class {
51393
51393
  client;
51394
- providerRegion = process.env["AWS_REGION"];
51394
+ providerRegion = ambientRegion();
51395
51395
  logger = getLogger().child("GlueProvider");
51396
51396
  handledProperties = /* @__PURE__ */ new Map([["AWS::Glue::Database", /* @__PURE__ */ new Set([
51397
51397
  "DatabaseInput",
@@ -52249,7 +52249,7 @@ var GlueWorkflowProvider = class {
52249
52249
  client;
52250
52250
  stsClient;
52251
52251
  cachedAccountId;
52252
- providerRegion = process.env["AWS_REGION"];
52252
+ providerRegion = ambientRegion();
52253
52253
  logger = getLogger().child("GlueWorkflowProvider");
52254
52254
  handledProperties = /* @__PURE__ */ new Map([["AWS::Glue::Workflow", /* @__PURE__ */ new Set([
52255
52255
  "Name",
@@ -52414,7 +52414,7 @@ var GlueWorkflowProvider = class {
52414
52414
  */
52415
52415
  var GlueSecurityConfigurationProvider = class {
52416
52416
  client;
52417
- providerRegion = process.env["AWS_REGION"];
52417
+ providerRegion = ambientRegion();
52418
52418
  logger = getLogger().child("GlueSecurityConfigurationProvider");
52419
52419
  handledProperties = /* @__PURE__ */ new Map([["AWS::Glue::SecurityConfiguration", /* @__PURE__ */ new Set(["Name", "EncryptionConfiguration"])]]);
52420
52420
  getClient() {
@@ -52712,7 +52712,7 @@ function cleanCfnObject(obj) {
52712
52712
  * to STS when not provided.
52713
52713
  */
52714
52714
  async function buildGlueResourceArn(client, stsClient, resource, name, accountId) {
52715
- return `arn:aws:glue:${await client.config.region() || process.env["AWS_REGION"] || "us-east-1"}:${accountId ?? await resolveAccountId(stsClient)}:${resource}/${name}`;
52715
+ return `arn:aws:glue:${await client.config.region() || ambientRegion() || "us-east-1"}:${accountId ?? await resolveAccountId(stsClient)}:${resource}/${name}`;
52716
52716
  }
52717
52717
  async function resolveAccountId(stsClient) {
52718
52718
  const identity = await stsClient.send(new GetCallerIdentityCommand({}));
@@ -52753,7 +52753,7 @@ var GlueJobProvider = class {
52753
52753
  client;
52754
52754
  stsClient;
52755
52755
  cachedAccountId;
52756
- providerRegion = process.env["AWS_REGION"];
52756
+ providerRegion = ambientRegion();
52757
52757
  logger = getLogger().child("GlueJobProvider");
52758
52758
  handledProperties = /* @__PURE__ */ new Map([["AWS::Glue::Job", /* @__PURE__ */ new Set([
52759
52759
  "Name",
@@ -53142,7 +53142,7 @@ var GlueCrawlerProvider = class {
53142
53142
  client;
53143
53143
  stsClient;
53144
53144
  cachedAccountId;
53145
- providerRegion = process.env["AWS_REGION"];
53145
+ providerRegion = ambientRegion();
53146
53146
  logger = getLogger().child("GlueCrawlerProvider");
53147
53147
  handledProperties = /* @__PURE__ */ new Map([["AWS::Glue::Crawler", /* @__PURE__ */ new Set([
53148
53148
  "Name",
@@ -53473,7 +53473,7 @@ function toCfnCrawlerTargets(targets) {
53473
53473
  */
53474
53474
  var GlueConnectionProvider = class {
53475
53475
  client;
53476
- providerRegion = process.env["AWS_REGION"];
53476
+ providerRegion = ambientRegion();
53477
53477
  logger = getLogger().child("GlueConnectionProvider");
53478
53478
  handledProperties = /* @__PURE__ */ new Map([["AWS::Glue::Connection", /* @__PURE__ */ new Set(["ConnectionInput", "CatalogId"])]]);
53479
53479
  getClient() {
@@ -53628,7 +53628,7 @@ var GlueTriggerProvider = class {
53628
53628
  client;
53629
53629
  stsClient;
53630
53630
  cachedAccountId;
53631
- providerRegion = process.env["AWS_REGION"];
53631
+ providerRegion = ambientRegion();
53632
53632
  logger = getLogger().child("GlueTriggerProvider");
53633
53633
  handledProperties = /* @__PURE__ */ new Map([["AWS::Glue::Trigger", /* @__PURE__ */ new Set([
53634
53634
  "Name",
@@ -53851,7 +53851,7 @@ var GlueTriggerProvider = class {
53851
53851
  */
53852
53852
  var KMSProvider = class {
53853
53853
  client;
53854
- providerRegion = process.env["AWS_REGION"];
53854
+ providerRegion = ambientRegion();
53855
53855
  logger = getLogger().child("KMSProvider");
53856
53856
  handledProperties = /* @__PURE__ */ new Map([["AWS::KMS::Key", /* @__PURE__ */ new Set([
53857
53857
  "Description",
@@ -54308,7 +54308,7 @@ var KMSProvider = class {
54308
54308
  */
54309
54309
  var BudgetsBudgetProvider = class {
54310
54310
  client;
54311
- providerRegion = process.env["AWS_REGION"];
54311
+ providerRegion = ambientRegion();
54312
54312
  logger = getLogger().child("BudgetsBudgetProvider");
54313
54313
  accountIdPromise;
54314
54314
  handledProperties = /* @__PURE__ */ new Map([["AWS::Budgets::Budget", /* @__PURE__ */ new Set([
@@ -54354,7 +54354,8 @@ var BudgetsBudgetProvider = class {
54354
54354
  * `${AWS::Partition}` uses (issue #1815).
54355
54355
  *
54356
54356
  * Asking the CLIENT rather than `providerRegion` is what makes the ARN and
54357
- * its consumer agree. `providerRegion` is `process.env['AWS_REGION']`, and
54357
+ * its consumer agree. `providerRegion` is `ambientRegion()` (the stack scope's region, else
54358
+ * `process.env['AWS_REGION']`), and
54358
54359
  * when that is unset `getClient()` builds `new BudgetsClient({})`, leaving
54359
54360
  * the SDK to resolve the region from its OWN chain (`AWS_DEFAULT_REGION`,
54360
54361
  * the `~/.aws/config` profile). So a profile-configured `cn-north-1` /
@@ -54922,7 +54923,7 @@ function comparableRecordSize(value, mask) {
54922
54923
  */
54923
54924
  var KinesisStreamProvider = class {
54924
54925
  client;
54925
- providerRegion = process.env["AWS_REGION"];
54926
+ providerRegion = ambientRegion();
54926
54927
  logger = getLogger().child("KinesisProvider");
54927
54928
  handledProperties = /* @__PURE__ */ new Map([["AWS::Kinesis::Stream", /* @__PURE__ */ new Set([
54928
54929
  "Name",
@@ -55408,7 +55409,7 @@ var KinesisStreamProvider = class {
55408
55409
  */
55409
55410
  var KinesisStreamConsumerProvider = class {
55410
55411
  client;
55411
- providerRegion = process.env["AWS_REGION"];
55412
+ providerRegion = ambientRegion();
55412
55413
  logger = getLogger().child("KinesisStreamConsumerProvider");
55413
55414
  handledProperties = /* @__PURE__ */ new Map([["AWS::Kinesis::StreamConsumer", /* @__PURE__ */ new Set([
55414
55415
  "ConsumerName",
@@ -55689,7 +55690,7 @@ function tagListToMap(tags) {
55689
55690
  */
55690
55691
  var SchedulerScheduleProvider = class {
55691
55692
  client;
55692
- providerRegion = process.env["AWS_REGION"];
55693
+ providerRegion = ambientRegion();
55693
55694
  logger = getLogger().child("SchedulerScheduleProvider");
55694
55695
  handledProperties = /* @__PURE__ */ new Map([["AWS::Scheduler::Schedule", /* @__PURE__ */ new Set([
55695
55696
  "Name",
@@ -55975,7 +55976,7 @@ var SchedulerScheduleProvider = class {
55975
55976
  */
55976
55977
  var EFSProvider = class {
55977
55978
  client;
55978
- providerRegion = process.env["AWS_REGION"];
55979
+ providerRegion = ambientRegion();
55979
55980
  logger = getLogger().child("EFSProvider");
55980
55981
  handledProperties = /* @__PURE__ */ new Map([
55981
55982
  ["AWS::EFS::FileSystem", /* @__PURE__ */ new Set([
@@ -56900,7 +56901,7 @@ var FSxFileSystemProvider = class {
56900
56901
  */
56901
56902
  disableCcApiFallback = true;
56902
56903
  client;
56903
- providerRegion = process.env["AWS_REGION"];
56904
+ providerRegion = ambientRegion();
56904
56905
  logger = getLogger().child("FSxFileSystemProvider");
56905
56906
  pollIntervalMs;
56906
56907
  maxWaitMs;
@@ -58007,7 +58008,7 @@ var EMRClusterProvider = class {
58007
58008
  */
58008
58009
  disableCcApiFallback = true;
58009
58010
  client;
58010
- providerRegion = process.env["AWS_REGION"];
58011
+ providerRegion = ambientRegion();
58011
58012
  logger = getLogger().child("EMRClusterProvider");
58012
58013
  pollIntervalMs;
58013
58014
  maxWaitMs;
@@ -58798,7 +58799,7 @@ var EMRInstanceGroupConfigProvider = class {
58798
58799
  */
58799
58800
  disableCcApiFallback = true;
58800
58801
  client;
58801
- providerRegion = process.env["AWS_REGION"];
58802
+ providerRegion = ambientRegion();
58802
58803
  logger = getLogger().child("EMRInstanceGroupConfigProvider");
58803
58804
  pollIntervalMs;
58804
58805
  maxWaitMs;
@@ -59121,7 +59122,7 @@ var EMRInstanceFleetConfigProvider = class {
59121
59122
  */
59122
59123
  disableCcApiFallback = true;
59123
59124
  client;
59124
- providerRegion = process.env["AWS_REGION"];
59125
+ providerRegion = ambientRegion();
59125
59126
  logger = getLogger().child("EMRInstanceFleetConfigProvider");
59126
59127
  pollIntervalMs;
59127
59128
  maxWaitMs;
@@ -59427,7 +59428,7 @@ const SUPPORTED_UPDATE_DESTINATIONS = /* @__PURE__ */ new Set([
59427
59428
  */
59428
59429
  var FirehoseProvider = class {
59429
59430
  client;
59430
- providerRegion = process.env["AWS_REGION"];
59431
+ providerRegion = ambientRegion();
59431
59432
  logger = getLogger().child("FirehoseProvider");
59432
59433
  handledProperties = /* @__PURE__ */ new Map([["AWS::KinesisFirehose::DeliveryStream", /* @__PURE__ */ new Set([
59433
59434
  "DeliveryStreamName",
@@ -60775,7 +60776,7 @@ function describeValue(value) {
60775
60776
  */
60776
60777
  var CloudTrailProvider = class {
60777
60778
  client;
60778
- providerRegion = process.env["AWS_REGION"];
60779
+ providerRegion = ambientRegion();
60779
60780
  logger = getLogger().child("CloudTrailProvider");
60780
60781
  handledProperties = /* @__PURE__ */ new Map([["AWS::CloudTrail::Trail", /* @__PURE__ */ new Set([
60781
60782
  "S3BucketName",
@@ -61117,7 +61118,7 @@ var CloudTrailProvider = class {
61117
61118
  */
61118
61119
  var CodeBuildProvider = class {
61119
61120
  client;
61120
- providerRegion = process.env["AWS_REGION"];
61121
+ providerRegion = ambientRegion();
61121
61122
  logger = getLogger().child("CodeBuildProvider");
61122
61123
  handledProperties = /* @__PURE__ */ new Map([["AWS::CodeBuild::Project", /* @__PURE__ */ new Set([
61123
61124
  "Name",
@@ -61700,7 +61701,7 @@ function triggersEqual(a, b) {
61700
61701
  var CodeCommitRepositoryProvider = class {
61701
61702
  client;
61702
61703
  s3Client;
61703
- providerRegion = process.env["AWS_REGION"];
61704
+ providerRegion = ambientRegion();
61704
61705
  logger = getLogger().child("CodeCommitRepositoryProvider");
61705
61706
  handledProperties = /* @__PURE__ */ new Map([["AWS::CodeCommit::Repository", /* @__PURE__ */ new Set([
61706
61707
  "RepositoryName",
@@ -62137,7 +62138,7 @@ var CodeCommitRepositoryProvider = class {
62137
62138
  */
62138
62139
  var DLMLifecyclePolicyProvider = class {
62139
62140
  client;
62140
- providerRegion = process.env["AWS_REGION"];
62141
+ providerRegion = ambientRegion();
62141
62142
  logger = getLogger().child("DLMLifecyclePolicyProvider");
62142
62143
  handledProperties = /* @__PURE__ */ new Map([["AWS::DLM::LifecyclePolicy", /* @__PURE__ */ new Set([
62143
62144
  "Description",
@@ -62442,7 +62443,7 @@ var DLMLifecyclePolicyProvider = class {
62442
62443
  */
62443
62444
  var S3VectorsProvider = class {
62444
62445
  client;
62445
- providerRegion = process.env["AWS_REGION"];
62446
+ providerRegion = ambientRegion();
62446
62447
  logger = getLogger().child("S3VectorsProvider");
62447
62448
  handledProperties = /* @__PURE__ */ new Map([["AWS::S3Vectors::VectorBucket", /* @__PURE__ */ new Set([
62448
62449
  "VectorBucketName",
@@ -62756,7 +62757,7 @@ var S3DirectoryBucketProvider = class {
62756
62757
  ])]]);
62757
62758
  ec2Client;
62758
62759
  s3ControlClient;
62759
- providerRegion = process.env["AWS_REGION"];
62760
+ providerRegion = ambientRegion();
62760
62761
  constructor() {
62761
62762
  const awsClients = getAwsClients();
62762
62763
  this.s3Client = awsClients.s3;
@@ -62834,7 +62835,7 @@ var S3DirectoryBucketProvider = class {
62834
62835
  * KNOWN BOUND (pre-existing, not introduced by #1815): the region — and now
62835
62836
  * the partition derived from it — comes from `s3Client`, while the tag
62836
62837
  * calls that consume this ARN go through `s3ControlClient`, built from
62837
- * `providerRegion` (`process.env['AWS_REGION']`). Those two can disagree,
62838
+ * `providerRegion` (`ambientRegion()`). Those two can disagree,
62838
62839
  * so the ARN can name a different region than the client receiving it. The
62839
62840
  * region SEGMENT already had this exposure before the partition rode along
62840
62841
  * with it; unifying the two clients' region resolution is a separate change.
@@ -63179,7 +63180,7 @@ function tableIdentityFromGetTable(tableARN, namespace, name) {
63179
63180
  */
63180
63181
  var S3TablesProvider = class {
63181
63182
  client;
63182
- providerRegion = process.env["AWS_REGION"];
63183
+ providerRegion = ambientRegion();
63183
63184
  logger = getLogger().child("S3TablesProvider");
63184
63185
  handledProperties = /* @__PURE__ */ new Map([
63185
63186
  ["AWS::S3Tables::TableBucket", /* @__PURE__ */ new Set(["TableBucketName", "Tags"])],
@@ -63981,7 +63982,7 @@ var S3TablesProvider = class {
63981
63982
  */
63982
63983
  var ECRProvider = class {
63983
63984
  client;
63984
- providerRegion = process.env["AWS_REGION"];
63985
+ providerRegion = ambientRegion();
63985
63986
  logger = getLogger().child("ECRProvider");
63986
63987
  handledProperties = /* @__PURE__ */ new Map([["AWS::ECR::Repository", /* @__PURE__ */ new Set([
63987
63988
  "RepositoryName",
@@ -66580,10 +66581,6 @@ async function deployCommand(stacks, options) {
66580
66581
  const dagBuilder = new DagBuilder({ relaxCdkVpcDefensiveDeps: !!options.aggressiveVpcParallel });
66581
66582
  const diffCalculator = new DiffCalculator();
66582
66583
  const baseRegion = namedCliRegion(options.region) ?? "us-east-1";
66583
- const switchRegion = (region) => {
66584
- process.env["AWS_REGION"] = region;
66585
- process.env["AWS_DEFAULT_REGION"] = region;
66586
- };
66587
66584
  const workGraph = new WorkGraph();
66588
66585
  const stackMap = new Map(targetStacks.map((s) => [s.stackName, s]));
66589
66586
  const stackRedirects = /* @__PURE__ */ new Map();
@@ -66639,12 +66636,13 @@ async function deployCommand(stacks, options) {
66639
66636
  if (deployInterrupted) throw new DeployCancelledError(`Deploy interrupted before stack '${stackInfo.stackName}' started — not starting it.`);
66640
66637
  const stackRegion = stackInfo.region || baseRegion;
66641
66638
  logger.info(`\n${cyan("Deploying stack:")} ${bold(cyan(stackInfo.stackName))}${stackRegion !== baseRegion ? gray(` (region: ${stackRegion})`) : ""}`);
66642
- switchRegion(stackRegion);
66643
66639
  const stackAwsClients = new AwsClients({
66644
66640
  region: stackRegion,
66645
66641
  ...options.profile && { profile: options.profile }
66646
66642
  });
66647
- setAwsClients(stackAwsClients);
66643
+ return runWithStackAwsClients(stackAwsClients, () => deployStackInScope(stackInfo, stackRegion, stackAwsClients));
66644
+ };
66645
+ const deployStackInScope = async (stackInfo, stackRegion, stackAwsClients) => {
66648
66646
  const stateS3Client = new AwsClients({
66649
66647
  region: baseRegion,
66650
66648
  ...options.profile && { profile: options.profile }
@@ -66812,8 +66810,6 @@ async function deployCommand(stacks, options) {
66812
66810
  if (eventRecorder) await eventRecorder.finalize(runResult);
66813
66811
  stackAwsClients.destroy();
66814
66812
  stateS3Client.destroy();
66815
- switchRegion(baseRegion);
66816
- setAwsClients(awsClients);
66817
66813
  }
66818
66814
  };
66819
66815
  if (options.pinCcApi?.length && options.recreateViaSdkProvider?.length) {
@@ -98143,4 +98139,4 @@ function buildProgram() {
98143
98139
 
98144
98140
  //#endregion
98145
98141
  export { buildProgram };
98146
- //# sourceMappingURL=program-C5r-kmIQ.js.map
98142
+ //# sourceMappingURL=program-CAdTYHWf.js.map