@cdkd/cli 0.360.0 → 0.361.0
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/{ambient-client-defaults-Zw14vfrI.js → ambient-client-defaults-Bq5rj529.js} +3 -3
- package/dist/{ambient-client-defaults-Zw14vfrI.js.map → ambient-client-defaults-Bq5rj529.js.map} +1 -1
- package/dist/{asg-provider-D1t6qsKn.js → asg-provider-7c1iqoaI.js} +6 -6
- package/dist/{asg-provider-D1t6qsKn.js.map → asg-provider-7c1iqoaI.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-CIDXtQ5Q.js → custom-resource-runtime-xE15oufB.js} +6 -6
- package/dist/{custom-resource-runtime-CIDXtQ5Q.js.map → custom-resource-runtime-xE15oufB.js.map} +1 -1
- package/dist/{db-associated-roles-CYMYBGeh.js → db-associated-roles-RCr0v8tz.js} +2 -2
- package/dist/{db-associated-roles-CYMYBGeh.js.map → db-associated-roles-RCr0v8tz.js.map} +1 -1
- package/dist/{delete-started-dMEHah06.js → delete-started-BY94yU_N.js} +148 -6
- package/dist/delete-started-BY94yU_N.js.map +1 -0
- package/dist/{deploy-engine-T1iXkB24.js → deploy-engine-CkY2eTL9.js} +761 -186
- package/dist/deploy-engine-CkY2eTL9.js.map +1 -0
- package/dist/{ec2-termination-protection-Ct7iZKky.js → ec2-termination-protection-C50H1PZO.js} +6 -6
- package/dist/{ec2-termination-protection-Ct7iZKky.js.map → ec2-termination-protection-C50H1PZO.js.map} +1 -1
- package/dist/{ecr-uri-DMMMk4h5.js → ecr-uri-CHY7E5Ju.js} +2 -2
- package/dist/{ecr-uri-DMMMk4h5.js.map → ecr-uri-CHY7E5Ju.js.map} +1 -1
- package/dist/{expected-bucket-owner-D0my0zRR.js → expected-bucket-owner-BeB-z8ED.js} +2 -2
- package/dist/{expected-bucket-owner-D0my0zRR.js.map → expected-bucket-owner-BeB-z8ED.js.map} +1 -1
- package/dist/{iam-role-provider-R89AqWLY.js → iam-role-provider-DzDXdyx5.js} +52 -13
- package/dist/iam-role-provider-DzDXdyx5.js.map +1 -0
- package/dist/{image-plan-nkTmvIbr.js → image-plan-CKRVQgWU.js} +8 -8
- package/dist/{image-plan-nkTmvIbr.js.map → image-plan-CKRVQgWU.js.map} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-Fqr4kSBL.js → logger-CZTXRggO.js} +2 -2
- package/dist/{logger-Fqr4kSBL.js.map → logger-CZTXRggO.js.map} +1 -1
- package/dist/{neptune-provider-BMDYjSf5.js → neptune-provider-BPnu4P-b.js} +7 -7
- package/dist/{neptune-provider-BMDYjSf5.js.map → neptune-provider-BPnu4P-b.js.map} +1 -1
- package/dist/{program-Di80isf8.js → program-uYb3oSBF.js} +360 -41
- package/dist/program-uYb3oSBF.js.map +1 -0
- package/dist/{provider-classes-Bkb_H0Sp.js → provider-classes-CpwN6g8B.js} +671 -148
- package/dist/provider-classes-CpwN6g8B.js.map +1 -0
- package/dist/{rds-provider-BcNL1C0E.js → rds-provider-CjaaTJEe.js} +74 -14
- package/dist/rds-provider-CjaaTJEe.js.map +1 -0
- package/dist/{read-replica-mqoiWJdM.js → read-replica-8-Idke_l.js} +3 -3
- package/dist/{read-replica-mqoiWJdM.js.map → read-replica-8-Idke_l.js.map} +1 -1
- package/dist/{replacement-rules-Y1UE2Vqb.js → replacement-rules-Bs3dhR_O.js} +3 -3
- package/dist/{replacement-rules-Y1UE2Vqb.js.map → replacement-rules-Bs3dhR_O.js.map} +1 -1
- package/dist/{resource-deadline-BSt_tRep.js → resource-deadline-CSd19ZNv.js} +21 -21
- package/dist/{resource-deadline-BSt_tRep.js.map → resource-deadline-CSd19ZNv.js.map} +1 -1
- package/dist/{restore-source-guard-CDrsW4tB.js → restore-source-guard-D7zwBxYx.js} +4 -4
- package/dist/{restore-source-guard-CDrsW4tB.js.map → restore-source-guard-D7zwBxYx.js.map} +1 -1
- package/dist/{run-cli-BKSKYUvl.js → run-cli-BD5KBGA1.js} +2 -2
- package/dist/{run-cli-BKSKYUvl.js.map → run-cli-BD5KBGA1.js.map} +1 -1
- package/dist/{settle-own-write-members-BqIDAx00.js → settle-own-write-members-B4h_lONt.js} +41 -23
- package/dist/{settle-own-write-members-BqIDAx00.js.map → settle-own-write-members-B4h_lONt.js.map} +1 -1
- package/dist/{version-yPbqfysZ.js → version-BAoHSHRL.js} +2 -2
- package/dist/{version-yPbqfysZ.js.map → version-BAoHSHRL.js.map} +1 -1
- package/package.json +1 -1
- package/dist/delete-started-dMEHah06.js.map +0 -1
- package/dist/deploy-engine-T1iXkB24.js.map +0 -1
- package/dist/iam-role-provider-R89AqWLY.js.map +0 -1
- package/dist/program-Di80isf8.js.map +0 -1
- package/dist/provider-classes-Bkb_H0Sp.js.map +0 -1
- package/dist/rds-provider-BcNL1C0E.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, E as cutMarker, F as stringifyJsonPayload, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, b as setPasteableVerbFlags, c as deployReplaceCommand, d as pasteableCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE, x as SAFE_MSG_ALTERED_CHAR, y as setPasteableRunFlags } from "./version-
|
|
2
|
-
import { $ as renderStacksNoLongerSelected, $t as deployOptions, A as followContainerLogs, At as namedEnvAwsRegion, B as resolveRuntimeCodeMountPath, Bt as regionNeedsReconciliation, C as waitForRieReady, Cn as STATE_FILE_SUFFIX, Ct as resolveContainerRegion, Dn as listAllStateKeys, Dt as warnAwsEmulatorStateSourceHint, E as SENSITIVE_ENV_KEYS, En as listAllLockKeys, Et as taskRoleAssumedInRealAws, F as removeContainer, Ft as legacyStateBucketFallbackRegion, G as nestedOwnerOfLogicalId, Gt as withOtherIndexRemoval, H as resolveRuntimeImage, Ht as resolveEffectiveRegion, It as namedCliRegion, J as renderAllLeftOutStageStacks, Jt as annotationMessageOptions, K as partitionTopLevel, Kt as strandedProfileCredentialsNotice, L as runDetached, Lt as rawCliRegion, M as killAndDrainContainerLogs, Mt as adoptRegionFlag, N as pickFreePort, Nt as exportInferredRegionForSdk, O as ensureDockerAvailable, On as parseStateKey, Ot as workloadGetsEmulatorKeysOnly, P as pullImage, Pt as foldRegionOption, Q as renderNotInAppWarning, Qt as contextOptions, Rt as reconcileExportIndexRegion, S as invokeRie, Sn as LOCK_FILE_SUFFIX, St as realAwsException, T as DockerRunnerError, Tn as describeStateKey, Tt as stateRoleRecordIsEmulatorSide, U as describeStack, Ut as stackRegionResolver, V as resolveRuntimeFileExtension, Vt as regionShown, W as matchStacks, Wt as stateWithRegion, X as renderAmbiguousTargetStack, Xt as applyWaitFlagEnv, Y as renderAllNoTopLevelStacks, Yt as appOptions, Z as renderNoStackMatch, Zt as commonOptions, _ as probeHostGatewaySupport, _n as parseDuration, _t as localAwsEmulatorCredentials, a as materializeLayerFromArn, an as noLocalCustomResourcesOption, at as unmatchedPatterns, b as substituteImagePlaceholders, bn as cliArgParser, bt as prepareLocalLoopbackForwarder, cn as regionOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as stateOptions, dt as activateLocalAwsAndRoleArn, en as destroyOptions, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as useCdkBootstrapAssetsOption, ft as assertAwsEmulatorValue, g as HOST_GATEWAY_MIN_VERSION, gn as allowUnsupportedTypesOption, gt as localAwsEmulatorActive, h as layerAssetDirectory, hn as parseAssumeRoleToken, ht as keepEmulatorIssuedCredentials, i as resolveInlineCodeFilePath, in as noCfnFallbackOption, it as stacksNoLongerSelected, jt as recordEmulatorDefaultRegion, k as flushStdio, kt as emulatorDefaultRegion, l as resolveLambdaLayers, ln as skipFinalSnapshotOption, lt as stackForConstructPath, m as copyLayerTreeLastWins, mn as normalizeStartApiAssumeRole, mt as getActiveWorkloadAwsWiring$1, n as resolveTmpfsForLambda, nn as exclusivelyOption, nt as stackMatchesPattern, o as resolveLambdaTarget, on as parseContextOptions, ot as buildCdkPathIndex, p as buildContainerImage$1, pn as effectiveAssumeRoleArn, pt as attachLocalLoopbackForwarder, q as refuseStackNameRegionCollisions, qt as writeProfileCredentialsFile, r as resolveZipImagePlan, rn as guardStackRegionOptions, rt as stacksForDependency, s as extractEphemeralStorageMb, sn as parseStackRegion, st as readCdkPathOrUndefined, t as resolveLocalBuildPlan$1, tn as diffUpdatePolicyOptions, tt as selectTargetStack, u as assetPathDirs, un as stackOptions, ut as stackForPathFormTarget, v as resolveHostGatewayExtraHosts, vn as resourceTimeoutOptions, vt as mixedModeActive, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as STATE_KEY_MAX_CODE_POINTS, wt as setContainerRegion, x as tryResolveImageFnJoin, xn as parsePositiveIntegerOption, xt as profileCredentialsForWorkload, y as derivePseudoParametersFromRegion$1, yn as validateResourceTimeouts, yt as mixedModeEmulatorOverride, z as streamLogs, zt as reconcileMarkerRegionWithLegacyDefault } from "./image-plan-
|
|
3
|
-
import {
|
|
1
|
+
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, E as cutMarker, F as stringifyJsonPayload, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, b as setPasteableVerbFlags, c as deployReplaceCommand, d as pasteableCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE, x as SAFE_MSG_ALTERED_CHAR, y as setPasteableRunFlags } from "./version-BAoHSHRL.js";
|
|
2
|
+
import { $ as renderStacksNoLongerSelected, $t as deployOptions, A as followContainerLogs, At as namedEnvAwsRegion, B as resolveRuntimeCodeMountPath, Bt as regionNeedsReconciliation, C as waitForRieReady, Cn as STATE_FILE_SUFFIX, Ct as resolveContainerRegion, Dn as listAllStateKeys, Dt as warnAwsEmulatorStateSourceHint, E as SENSITIVE_ENV_KEYS, En as listAllLockKeys, Et as taskRoleAssumedInRealAws, F as removeContainer, Ft as legacyStateBucketFallbackRegion, G as nestedOwnerOfLogicalId, Gt as withOtherIndexRemoval, H as resolveRuntimeImage, Ht as resolveEffectiveRegion, It as namedCliRegion, J as renderAllLeftOutStageStacks, Jt as annotationMessageOptions, K as partitionTopLevel, Kt as strandedProfileCredentialsNotice, L as runDetached, Lt as rawCliRegion, M as killAndDrainContainerLogs, Mt as adoptRegionFlag, N as pickFreePort, Nt as exportInferredRegionForSdk, O as ensureDockerAvailable, On as parseStateKey, Ot as workloadGetsEmulatorKeysOnly, P as pullImage, Pt as foldRegionOption, Q as renderNotInAppWarning, Qt as contextOptions, Rt as reconcileExportIndexRegion, S as invokeRie, Sn as LOCK_FILE_SUFFIX, St as realAwsException, T as DockerRunnerError, Tn as describeStateKey, Tt as stateRoleRecordIsEmulatorSide, U as describeStack, Ut as stackRegionResolver, V as resolveRuntimeFileExtension, Vt as regionShown, W as matchStacks, Wt as stateWithRegion, X as renderAmbiguousTargetStack, Xt as applyWaitFlagEnv, Y as renderAllNoTopLevelStacks, Yt as appOptions, Z as renderNoStackMatch, Zt as commonOptions, _ as probeHostGatewaySupport, _n as parseDuration, _t as localAwsEmulatorCredentials, a as materializeLayerFromArn, an as noLocalCustomResourcesOption, at as unmatchedPatterns, b as substituteImagePlaceholders, bn as cliArgParser, bt as prepareLocalLoopbackForwarder, cn as regionOption, ct as resolveCdkPathToLogicalIds, d as resolveAssetCodeDirectory, dn as stateOptions, dt as activateLocalAwsAndRoleArn, en as destroyOptions, et as renderUnmatchedPatternsWarning, f as architectureToPlatform, fn as useCdkBootstrapAssetsOption, ft as assertAwsEmulatorValue, g as HOST_GATEWAY_MIN_VERSION, gn as allowUnsupportedTypesOption, gt as localAwsEmulatorActive, h as layerAssetDirectory, hn as parseAssumeRoleToken, ht as keepEmulatorIssuedCredentials, i as resolveInlineCodeFilePath, in as noCfnFallbackOption, it as stacksNoLongerSelected, jt as recordEmulatorDefaultRegion, k as flushStdio, kt as emulatorDefaultRegion, l as resolveLambdaLayers, ln as skipFinalSnapshotOption, lt as stackForConstructPath, m as copyLayerTreeLastWins, mn as normalizeStartApiAssumeRole, mt as getActiveWorkloadAwsWiring$1, n as resolveTmpfsForLambda, nn as exclusivelyOption, nt as stackMatchesPattern, o as resolveLambdaTarget, on as parseContextOptions, ot as buildCdkPathIndex, p as buildContainerImage$1, pn as effectiveAssumeRoleArn, pt as attachLocalLoopbackForwarder, q as refuseStackNameRegionCollisions, qt as writeProfileCredentialsFile, r as resolveZipImagePlan, rn as guardStackRegionOptions, rt as stacksForDependency, s as extractEphemeralStorageMb, sn as parseStackRegion, st as readCdkPathOrUndefined, t as resolveLocalBuildPlan$1, tn as diffUpdatePolicyOptions, tt as selectTargetStack, u as assetPathDirs, un as stackOptions, ut as stackForPathFormTarget, v as resolveHostGatewayExtraHosts, vn as resourceTimeoutOptions, vt as mixedModeActive, w as CONTAINER_LOG_DRAIN_TIMEOUT_MS, wn as STATE_KEY_MAX_CODE_POINTS, wt as setContainerRegion, x as tryResolveImageFnJoin, xn as parsePositiveIntegerOption, xt as profileCredentialsForWorkload, y as derivePseudoParametersFromRegion$1, yn as validateResourceTimeouts, yt as mixedModeEmulatorOverride, z as streamLogs, zt as reconcileMarkerRegionWithLegacyDefault } from "./image-plan-CKRVQgWU.js";
|
|
3
|
+
import { A as assertRegionMatch, Dt as readRecordedPrincipals, Ht as maskDeep, It as resourceTypeShown, O as DriftReadRefusedError, Pt as logicalIdShown, St as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, V as isMarkedNotGone, _n as withPasteableAwsProfile, _t as endCommandInterruptScope, an as buildLockContentionMessage, at as runDeleteAttempt, bn as producerCoordinateKey, cn as formatLockOperation, fn as CUSTOM_RESOURCE_RESPONSE_PREFIX, ft as isAwsCliLiteral, gn as setPasteableAwsProfile, gt as beginCommandInterruptScope, hn as setPasteableAwsCaBundle, ht as renderDisableCommand, i as withResourceDeadline, in as buildForceUnlockCommand, j as VALUE_NOT_SHOWN, k as RESOURCE_NOT_FOUND, ln as formatLockOwner, on as forceQuitRecoveryClause, pn as DEFAULT_STATE_PREFIX, rn as UNREPRODUCIBLE_LOCK_CLAUSE, sn as formatLockExpiry, vn as injectiveKey, vt as interruptWatchListenerCount, xn as producerRecordKey, xt as IAM_PRINCIPAL_NAME, yt as isInterruptedWaitError, z as remedyLogicalId } from "./resource-deadline-CSd19ZNv.js";
|
|
4
4
|
import { a as runWithStackAwsClients, i as resetAwsClients, l as s3ClientDefaults, o as setAwsClients, s as resolveS3ClientDefaults, t as AwsClients, u as setS3ClientDefaultsDebugLog } from "./aws-clients-DOkPjjAW.js";
|
|
5
|
-
import { $ as withStackScope, A as configStringRefusal, B as generateResourceName, E as coerceCfnBoolean, F as requireConfigString, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, R as PATTERN_B_RESOURCE_TYPES, S as explicitNamePropertyFor, X as isNameGeneration, a as reserveStdoutForPayload, i as releaseStdoutForPayload, m as verboseAwareText, n as getLogger, p as safeStringify, r as isStdoutReservedForPayload, s as runStackBuffered, u as describeAwsFailure, y as getLiveRenderer, z as derivesPatternBName } from "./logger-
|
|
6
|
-
import { A as stripControlChars, B as retryClassificationText, F as isAmbiguousOutcomeError, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, ct as SynthesisError, et as CdkdError, g as PartialFailureError, h as NestedStackChildDirectDestroyError, i as credentialFingerprint, j as stripForDisplay, k as escapeRegExp, l as withErrorHandling, n as ambientCredentialConfig, o as formatError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, rt as LocalInvokeBuildError$1, s as handleError, st as StateError, t as ambientClientDefaults, tt as DeployCancelledError, u as LocalStartServiceError, v as StackHasActiveImportsError, y as StackTerminationProtectionError, z as isTransientServerError } from "./ambient-client-defaults-
|
|
5
|
+
import { $ as withStackScope, A as configStringRefusal, B as generateResourceName, E as coerceCfnBoolean, F as requireConfigString, I as PATTERN_B_NAME_OPTIONS, L as PATTERN_B_NAME_PROPERTIES, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, R as PATTERN_B_RESOURCE_TYPES, S as explicitNamePropertyFor, X as isNameGeneration, a as reserveStdoutForPayload, i as releaseStdoutForPayload, m as verboseAwareText, n as getLogger, p as safeStringify, r as isStdoutReservedForPayload, s as runStackBuffered, u as describeAwsFailure, y as getLiveRenderer, z as derivesPatternBName } from "./logger-CZTXRggO.js";
|
|
6
|
+
import { A as stripControlChars, B as retryClassificationText, F as isAmbiguousOutcomeError, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, ct as SynthesisError, et as CdkdError, g as PartialFailureError, h as NestedStackChildDirectDestroyError, i as credentialFingerprint, j as stripForDisplay, k as escapeRegExp, l as withErrorHandling, n as ambientCredentialConfig, o as formatError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, rt as LocalInvokeBuildError$1, s as handleError, st as StateError, t as ambientClientDefaults, tt as DeployCancelledError, u as LocalStartServiceError, v as StackHasActiveImportsError, y as StackTerminationProtectionError, z as isTransientServerError } from "./ambient-client-defaults-Bq5rj529.js";
|
|
7
7
|
import { a as getAssumedRoleCredentials, c as setAssumedRoleCredentials, h as formatAuthority, l as setAwsEndpointOverrideSource, m as runInStackAwsScope, n as awsClientDefaults, r as awsEndpointOverrideActive, s as runWithRealAws } from "./aws-client-defaults-DAebi99J.js";
|
|
8
|
-
import { $ as CFN_TEMPLATE_BODY_LIMIT, A as isDockerClientEnvKey, B as getLegacyStateBucketName, C as redactedCause, D as finchSecretArgvRefusal, E as dockerSpawnEnvWithSensitive, F as runDockerStreaming, G as resolveSkipPrefix, H as resolveApp, I as abortInFlightMultipartUploads, J as resolveStateBucketWithSource, K as resolveStateBucketWithDefault, L as Synthesizer, M as formatDockerLoginError, N as getDockerCmd, O as partitionSensitiveEnv, P as runDockerForeground, Q as warnDeprecatedNoPrefixCliFlag, R as synthesisStatusMessage, S as describeDockerFailure, T as redactDockerArgvValues, U as resolveAutoAssetStorage, V as loadCdkJson, W as resolveCaptureObservedState, X as resolveUseCdkBootstrapAssets, Y as resolveUpdatePolicy, Z as stateBucketExistenceConfirmed, _ as WorkGraph, at as AssemblyReader, ct as createLegacyAssetParameterBinder, dt as prepareLegacyStackAssets, et as CFN_TEMPLATE_URL_LIMIT, ft as CdkToolkitBucketMissingError, g as AssetPublisher, h as isLockInfoExpired, i as mergeDeclaredEntries, it as refuseFailedLookups, j as isMalformedEnvKey, k as warnFinchArgvExposure, l as DiffCalculator, lt as legacyPlanAssetCount, m as LockManager, mt as setChildProcessAwsEnv, n as declaredStringList, nt as findLargeInlineResources, ot as StageLoadError, p as DagBuilder, pt as processStackMessages, q as resolveStateBucketWithDefaultAndSource, r as inlinePoliciesAreDeclared, rt as uploadCfnTemplate, s as stringListIsDeclared, st as bindLegacyStackAssetParameters, t as declaredInlinePolicies, tt as MIGRATE_TMP_PREFIX, u as LEGACY_HANDLE_HEAL_REASON, ut as predictedAutoCreatedAssetMode, v as buildDockerImage, w as redactedDockerCause, x as describeDockerExecFailure, y as resolveDockerContextDirectory, z as getDefaultStateBucketName } from "./settle-own-write-members-
|
|
9
|
-
import { $a as ProviderRegistry, $c as refuseMalformedResourcePropertiesForDestroy, $i as gray, $l as hasReasonlessBaselineRefusal, $n as parseMappingFile, $o as refuseUnreadableCdkCrossAccountRefs, $t as formatResourceLine, $u as validateContainerRepoName, A as recordedProtectionEvidence, Aa as buildFinalSnapshotIdentifier, Ac as refuseMalformedOrphanRecords, Ai as bindingSkippedOutputs, Al as JSON_LISTING_HOLE_VALUE, An as DeploymentEventsStore, Ao as RollbackInlinePolicyWriters, Ar as findUpdatePolicyReplacementRefusals, Bc as malformedScrubResourceEntriesRefusalMessage, Bi as isSupersededResourceRecord, Bn as formatDestructiveChange, Bo as isSelectOutOfBounds, Br as isJournaledOrphan, Bs as getAccountInfo, C as pendingMovesOutOf, Ca as ccRoutedFinalSnapshotError, Cc as maskedPropertyFingerprint, Ci as exportNameNoEchoParameters, Cl as malformedResourcesWarning, Cn as journaledOrphanLines, Cr as calculateResourceDrift, Cs as parameterTypeMayLoseSecretIdentity, D as findServiceTokenRefusals, Da as refusesFinalSnapshot, Dc as malformedOrphanRecordsWarning, Di as collectDeclaredOutputNames, Dl as refuseMalformedResourcesForExport, Dn as makeSiblingClaimReader, Dr as verbatimEchoDriftKeys, Ds as refStateLookupFromResource, Du as buildAssetRedirectMap, E as deferredServiceTokenWarning, Ea as isFinalSnapshotError, Ec as malformedOrphanRecordsRefusalMessage, Ei as noEchoParameterValueSeed, El as refuseMalformedResourcesForDestroy, En as makeForeignHolderScan, Er as undeclaredEmptyObservedKeys, Es as isStalePlaceholderArnAttribute, F as readProtection, Fc as unreadableOrphanRecords, Fi as destroyStackRecordsView, Fl as displayLogicalId, Fn as noEchoMacParametersOf, Fr as withCreateTokenLedger, Fs as recordedOutputReferenceRegions, Ga as memberReadFailure, Gc as refuseMalformedResourceEntriesForImport, Gi as withoutSuperseded, Gl as NO_CC_HANDLERS_REASON, Gn as withMovedTo, Gr as replacementNeverSwapped, Gs as keepsSecretReferenceToken, Gt as refactorMarkerMovesOf, Gu as ensureAssetStorage, H as readStreamPolicy, Ha as declaredPolicyDocument, Hc as refuseMalformedResourceEntries, Hi as supersededHeldByOtherTypeWarning, Hn as hintSidesOf, Ho as poisonRenderedSpellingsCollidingIn, Hr as planFailedOps, Hs as carriesFetchableDynamicReference, Ht as recordRetainedForReadoption, Ic as isReadableResourceEntry, Il as hasReadableOutputs, In as noEchoMacVerdict, Io as getReadOnlyPropertyPaths, Iu as rewriteTemplateAssetReferences, Jc as repairMalformedResourceEntriesForReadOnly, Ji as resolveReplacementOldType, Jl as TemplateParser, Jn as changedReferenceReason, Jo as secretPhysicalIdSegment, Jr as attemptUsesCompletedCreate, Js as INTRINSIC_KEYS, Jt as sameMove, Ju as isCrossRegionRedirect, Ka as policyDocumentMatchesDeclared, Kc as refuseMalformedResourceEntriesForImportSave, Kl as hasNoCloudControlHandlers, Kn as changedReferenceInDiff, Ko as displayPhysicalId, Kr as IMPLICIT_DELETE_DEPENDENCIES, Ks as withSharedDrainBudget, Kt as refactorMarkerRefusalMessage, Ku as buildDenyExternalAccessPolicy, Lc as malformedLocalResourceEntriesWarning, Li as withStackRecords, Ll as hasReadableResources, Ln as noEchoValueMacsOf, Lo as isWaitAbandonedError, Lr as planRollback, Ls as recordedReferenceRegions, Lu as AssetManifestLoader, M as PROTECTION_PROPERTY_BY_TYPE, Mc as refuseMalformedOrphansForOrphan, Mi as DEFAULT_RESOURCE_WARN_AFTER_MS, Ml as withheldAccountClause, Mn as NOECHO_MAC_KEY_ALIAS, Mo as deleteIndeterminateGuards, N as isProtectionValueActive, Nc as repairMalformedOrphanRecordsForReadOnly, Ni as maskingRetryLogger, Nl as STATE_RESOURCES_MALFORMED, Nn as createNoEchoValueMacs, No as deleteLeftInPlace, Nr as ledgerForStack, Ns as keepHeldTokenProvenance, Nu as loadPublishableAssetManifest, O as serviceTokenBlockingReason, Oa as unsupportedFinalSnapshotError, Oc as malformedOrphanRowsKeptWarning, Oi as collectPublishedOutputNames, Ol as refuseMalformedState, On as planOrphanAdoption, Or as updatePartialMessage, Os as lacksRecordedRefArn, Ou as createAssetRedirectResolver, P as perType, Pc as unpreviewableOrphanRecords, Pl as UNREADABLE_RESOURCES_MAP_ROW, Pn as noEchoMacBinding, Po as deleteSkipReason, Qa as CC_BROKEN_REASON, Qi as cyan, Ql as readOnlyStateVersionOf, Qn as mappingPairs, Qo as producerLookupOver, Qu as validateAssetBucketName, Ra as LAMBDA_PERMISSION_STATEMENT_KEYS, Rc as malformedLocalResourcesWarning, Ri as deleteSupersededEntry, Rl as findActionableSdkUnwired, Rn as constructPathOf$1, Rr as seedsDeleteFirstGuard, Ru as getDockerImageBySourceHash, S as hasPendingMovesOut, Sa as PRE_DELETE_SNAPSHOT_TYPES, Sc as declaresNoEcho, Si as carriedExportAliasExposure, Sl as malformedRenderedContainersWarning, Sn as isHandledOrphan, So as withCustomResourceStack, Sr as withUnprovenUnsettled, Ss as isUnboundTemplateParameter, Su as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, T as refusePendingMovesOut, Ta as effectiveDeletionPolicy, Tc as isReadableOrphanRecord, Ti as isWholeDynamicReferenceValue, Tl as refuseMalformedResourcesForDeploy, Tn as sameJournaledOrphans, Tr as equalModuloMask, Ts as cfnRefValueFromPhysicalId, Ua as efsPolicyMatchesDeclared, Uc as refuseMalformedResourceEntriesForDeploy, Ui as supersededHolderOf, Un as movedToHint, Uo as stackIdTailOf, Ur as recheckFailedPlan, Us as isNamelessDynamicReferenceError, Ut as readRefactorMarker, Va as declaredMemberDocument, Vc as refuseMalformedResourceAttributesForOrphan, Vi as supersededAfterRollback, Vl as unwrittenCreateOnlyReplacement, Vn as findRefactorHints, Vo as isAlwaysLiveAttribute, Vr as isReplacementOrphan, Vs as isImpossibleEmptyStoredAttribute, Vt as keptForRetainedRecord, Wa as lambdaPermissionMatchesDeclared, Wc as refuseMalformedResourceEntriesForDestroy, Wi as supersededResourcesOf, Wn as rollbackOrphanIds, Wr as recordUnderIdIsNotOwn, Ws as carriesDynamicReference, Wt as readRefactorMarkerOnce, Wu as AssetModeResolver, Xc as malformedDriftResourcePropertiesWarning, Xi as findNestedStackTypeChanges, Xl as splitImportedOps, Xn as isPairableType, Xo as withSecretPhysicalIdsMaskedInState, Xt as macWriteOnlyKeys, Xu as parseBootstrapMarker, Yc as unreadableResourceEntries, Yi as withPreviousPolicies, Yl as S3StateBackend, Yn as differingRemedy, Yo as secretSegmentsOfState, Yr as readsRegeneratingSecret, Yt as updateRefactorMarker, Yu as getBootstrapMarkerKey, Z as declaredTagsReadback, Zc as malformedResourcePropertiesWarning, Zi as bold, Zn as looselyEqual, Zo as resolveDynamicReferences, Zr as isRedactedRecordedValue, Zt as readsOnlyNoEchoParameters, Zu as readBootstrapMarkerBody, _ as conditionFingerprint, _a as secretNamedRecordNeedles, _c as maskedPropertyFingerprintsOf, _i as displayTextOrWithheld, _l as refuseMalformedOutputs, _n as getCurrentNestedStackContext, _o as customResourcesFailedWithoutApp, _r as replayRollback, _u as renderNestedTemplateTreeDefect, a as scanActiveConsumers, aa as noEchoExactEchoLeavesOf, ac as isStatefulRecreateTargetForReplace, ad as hasPlainPrototype, ai as nameScopeOf, al as hasReadableOrphans, an as resolvePendingCloudControlRequests, ar as recordedRuleIdOf, as as parseIamRoleArn, au as crossPrefixDeniedWarning, b as readRecordedConditionVerdicts, ba as extractDeploymentEventError, bc as maskedInputProof, bi as secretBearingStateKeyWarning, bl as STATE_REGION_DIVERGED, bn as dropFailedCommands, br as recordAfterRollbackUpdate, c as nestedSsmNameDeferredNote, ca as createReadOnlyAttributeHealerFactory, ci as retiredNameGenerationsLeaving, cl as refuseMalformedOrphans, cn as displacedPhysicalIdShown, co as customResourceResponseExpirationWarning, cs as applyCallerIdentityCredentials, cu as stackInstanceIdOf, d as slashedSsmNameHealAdoptedNote, da as maskEventTextWithBoundBags, dd as displayAssemblyPath, di as inheritProducerRegions, dl as malformedExportNamesWarning, dn as nestedChildStackName$1, do as readsNoEchoDeleteValues, ds as classifyRecordedSecretRegion, du as isSensitiveAttributeName, ea as green, ed as BOOTSTRAP_MARKER_PREFIX, ei as segmentCleanupOptions, el as refuseMalformedResourcePropertiesForDrift, eo as ccBrokenReason, er as propertiesChangedReason, es as applyRoleArnIfSet, eu as hasUnverifiableParameterRefusal, f as slashedSsmNameHealNote, fa as namingSecretsWithRecordedNoEcho, fi as computeParameterTaint, fl as malformedExportSourceWarning, fn as recordDisplacedSkips, fo as isCustomResourceType$1, fr as cfnIngressPortValue, fs as classifyReplaySecretRegion, g as makeCanonicalizePropertiesFn, gd as resolveBucketRegion, gi as WITHHELD_NAME_DISPLAY, gn as collectNestedChildUnaddressed, gr as replayFailedOperations, gu as listNestedTemplateRows, h as inheritedProvenanceForChildDiff, ha as secretNamePrintingBags, hc as tryGetTopLevelWriteOnlyProperties, hi as resourcesNamingDeclaredParameter, hl as malformedOutputsWarning, hn as withNestedRevertRun, ho as NO_LOCAL_CUSTOM_RESOURCES_FLAG, hr as canonicalizeIpProtocolValue, hs as isUnexposedRecordedIdentity, hu as isAbsoluteAssetPath, i as mergeNoChangeOutputs, ia as noEchoComparisonForTemplate, ic as MULTI_REGION_RECREATE_BLOCKED_TYPES, id as hasOwnKey, ii as nameGenerationHighWaterOf, il as UNREADABLE_ORPHANS_CONTAINER_ROW, in as pendingRequestCount, ir as stripSiblingOwnedParentMembers, is as isIamRoleArn, iu as applyCrossPrefixScan, j as recordedProtectionNote, jc as refuseMalformedOrphanRecordsForDestroy, ji as DEFAULT_RESOURCE_TIMEOUT_MS, jl as accountArgs, jn as crossStackReadsForPartialSave, jo as UNSPECIFIED_SKIP_REASON, jr as replacementCreateRoutesToCloudControl, k as diffSecurity, ka as createPreDeleteFinalSnapshot, kc as previewableOrphanRecords, ki as isExportAliasCollision, kl as repairMalformedResourcesForReadOnly, kn as DeploymentEventsReader, ko as differingIdentityWarning, kr as updatePartialReason, ks as lacksRecordedTableArn, ku as createLazyAssetModeContext, l as nestedSsmNameRowNote, la as completedReplayEntries, li as withNameGenerationReached, ll as refuseMalformedOrphansForDestroy, ln as dropSettledNestedJournals, lr as siblingRecordedSgRuleIds, ls as callerEnvCredentials, lu as withStackInstanceIdWithheld, m as crossStackOutputProvenanceSource, ma as secretNamePrintingBag, mc as getTopLevelKeysHoldingUnreadableCreateOnly, md as resolveAssemblyPath, mi as reachableDivergentParameters, ml as malformedOutputsRefusalMessage, mn as revertedNestedRowIds, mo as withPrintingSecrets, mr as sgProtocolKey, ms as regionLessSecretName, mu as findNestedTemplateTreeDefect, n as isSecretBearingReferenceString, na as yellow, ni as orphanNeedsIdentity, nl as refuseMalformedResourcePropertiesForOrphan, no as wouldReturnToSdkProvider, nr as referencedLogicalIds, ns as assertSendableRoleArn, nu as CrossPrefixReadError, o as inRunStackKey, oa as noEchoParameterNamesOf, oc as isStatefulRecreateTargetSync, od as nullPrototypeRecord, oi as retiredAfterRollback, ol as malformedOrphansRefusalMessage, on as NESTED_PENDING_PARENT_REASON, oo as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, or as sgRuleOwnershipIdentity, os as sendableAssumeRoleCommand, ou as isAccessDenied, p as slashedSsmNameHealPendingNote, pa as orphanRecordsPrintingBag, pc as getSettledWriteOnlyPropertyPaths, pd as renderAssemblyPathEscape, pi as namesAnyDeclaredParameter, pl as malformedLocalOutputsWarning, pr as recordedSgRuleId, ps as producerRegionsFromState, q as streamPolicyMatchesDeclared, qa as reReadUntilSettled, qc as refuseMalformedResourceEntriesForOrphan, qi as snapshotSegmentSurvivors, ql as PROPERTY_COVERAGE_BY_TYPE, qn as changedReferencePath, qr as computeImplicitDeleteEdges, qt as refuseRefactorMarker, qu as assertAssetBucketRegion, r as keptWholeReasonText, ra as noEchoAttributeNamesOf, rc as shownType, rd as defineOwnKey, ri as nameGenerationCarriedFrom, rl as repairMalformedResourcePropertiesForReadOnly, rr as siblingOwnedRevertDesired, rs as explicitRoleArnOrThrow, ru as CrossPrefixScanCache, s as checkNestedSsmNames, sa as withAttemptedItemsMasked, sc as renderStatefulReason, sd as ownValue, si as retiredNameGenerationsAfter, sl as malformedOrphansWarning, sn as displacedOpClause, so as applyCustomResourceResponseExpiration, sr as sgSiblingDecidedById, ss as AWS_CREDENTIAL_ENV_KEYS, su as isNotImplemented, t as DeployEngine, ta as red, tc as findReplacedReadersOfRecreateTargets, ti as removeProtectionTypeList, tl as refuseMalformedResourcePropertiesForExport, to as isCustomResource, tr as proposeRenames, ts as assertFlagRoleArn, tt as tagsMatchDeclared, tu as rebuildClientForBucketRegion, u as healSlashedSsmParameterNames, ua as journaledOrphanPrintingBag, ud as describeFileReadFailure, ul as repairMalformedOrphansForReadOnly, uo as TemplateNoEchoReresolver, us as envCredentialsAreAssumedRole, uu as isSecretValuedAttribute, v as conditionInputsFrom, va as stateSecretNameNeedles, vi as exportAliasCollisionScrubWarning, vl as refuseMalformedOutputsForDestroy, vn as withNestedStackContext, vo as customResourcesRunWithoutApp, vr as DELETED_RESOURCE_REMEDY, vu as templateIdentity, w as pendingMovesRefusalMessage, wa as ccRoutedInstanceTakesNoSnapshot, wc as deployRefusesOrphanRowsReason, wi as exportNameSecretExposure, wl as malformedStateRefusalMessage, wn as loadJournaledOrphans, wo as CloudControlProvider, wr as equalModuloMarkedMask, ws as AWS_NO_VALUE, wu as decodeListingKey, x as childTemplateLoader, xa as ATOMIC_FINAL_SNAPSHOT_TYPES, xi as secretSafeKeyDisplay, xl as refuseDivergentRecordRegionForDestroy, xn as dropFailedHint, xo as setLocalCustomResourceRuntimeEnabled, xr as settleUnsettledPrevious, xs as coerceParameterTypedValue, xu as ssmResolvedValueType, y as parentSuppliedValues, ya as storedSecretNameNeedles, yc as parameterInputsFor, yi as secretBearing, yl as repairMalformedOutputsForReadOnly, yn as deleteJournaledOrphans, yo as localCustomResourceCommand, yr as buildReadCurrentStateContext, zc as malformedResourceEntriesWarning, zi as holdsSupersededResources, zl as findHandledUnwrittenCreateOnly, zn as findDestructiveChanges, zo as IntrinsicFunctionResolver, zr as demoteSupersededOrphans } from "./deploy-engine-T1iXkB24.js";
|
|
8
|
+
import { $ as CFN_TEMPLATE_BODY_LIMIT, A as isDockerClientEnvKey, B as getLegacyStateBucketName, C as redactedCause, D as finchSecretArgvRefusal, E as dockerSpawnEnvWithSensitive, F as runDockerStreaming, G as resolveSkipPrefix, H as resolveApp, I as abortInFlightMultipartUploads, J as resolveStateBucketWithSource, K as resolveStateBucketWithDefault, L as Synthesizer, M as formatDockerLoginError, N as getDockerCmd, O as partitionSensitiveEnv, P as runDockerForeground, Q as warnDeprecatedNoPrefixCliFlag, R as synthesisStatusMessage, S as describeDockerFailure, T as redactDockerArgvValues, U as resolveAutoAssetStorage, V as loadCdkJson, W as resolveCaptureObservedState, X as resolveUseCdkBootstrapAssets, Y as resolveUpdatePolicy, Z as stateBucketExistenceConfirmed, _ as WorkGraph, at as AssemblyReader, ct as createLegacyAssetParameterBinder, dt as prepareLegacyStackAssets, et as CFN_TEMPLATE_URL_LIMIT, ft as CdkToolkitBucketMissingError, g as AssetPublisher, h as isLockInfoExpired, i as mergeDeclaredEntries, it as refuseFailedLookups, j as isMalformedEnvKey, k as warnFinchArgvExposure, l as DiffCalculator, lt as legacyPlanAssetCount, m as LockManager, mt as setChildProcessAwsEnv, n as declaredStringList, nt as findLargeInlineResources, ot as StageLoadError, p as DagBuilder, pt as processStackMessages, q as resolveStateBucketWithDefaultAndSource, r as inlinePoliciesAreDeclared, rt as uploadCfnTemplate, s as stringListIsDeclared, st as bindLegacyStackAssetParameters, t as declaredInlinePolicies, tt as MIGRATE_TMP_PREFIX, u as LEGACY_HANDLE_HEAL_REASON, ut as predictedAutoCreatedAssetMode, v as buildDockerImage, w as redactedDockerCause, x as describeDockerExecFailure, y as resolveDockerContextDirectory, z as getDefaultStateBucketName } from "./settle-own-write-members-B4h_lONt.js";
|
|
9
|
+
import { $a as verbatimEchoDriftKeys, $c as refuseMalformedResourcePropertiesForDestroy, $i as findNestedStackTypeChanges, $l as hasReasonlessBaselineRefusal, $n as isPairableType, $o as refuseUnreadableCdkCrossAccountRefs, $t as macWriteOnlyKeys, $u as validateContainerRepoName, A as recordedProtectionEvidence, Aa as refusesFinalSnapshot, Ac as refuseMalformedOrphanRecords, Ai as collectDeclaredOutputNames, Al as JSON_LISTING_HOLE_VALUE, An as makeSiblingClaimReader, Ao as RollbackInlinePolicyWriters, Ar as undeclaredEmptyObservedKeys, Bc as malformedScrubResourceEntriesRefusalMessage, Bi as withStackRecords, Bn as noEchoValueMacsOf, Bo as isSelectOutOfBounds, Br as planRollback, Bs as getAccountInfo, C as pendingMovesOutOf, Ca as extractDeploymentEventError, Cc as maskedPropertyFingerprint, Ci as secretBearingStateKeyWarning, Cl as malformedResourcesWarning, Cn as dropFailedCommands, Co as localCustomResourceCommand, Cr as buildReadCurrentStateContext, Cs as parameterTypeMayLoseSecretIdentity, D as findServiceTokenRefusals, Da as ccRoutedInstanceTakesNoSnapshot, Dc as malformedOrphanRecordsWarning, Di as exportNameSecretExposure, Dl as refuseMalformedResourcesForExport, Dn as loadJournaledOrphans, Dr as calculateResourceDrift, Ds as refStateLookupFromResource, Du as buildAssetRedirectMap, E as deferredServiceTokenWarning, Ea as ccRoutedFinalSnapshotError, Ec as malformedOrphanRecordsRefusalMessage, Ei as exportNameNoEchoParameters, El as refuseMalformedResourcesForDestroy, En as journaledOrphanLines, Eo as withCustomResourceStack, Er as withUnprovenUnsettled, Es as isStalePlaceholderArnAttribute, F as readProtection, Fc as unreadableOrphanRecords, Fi as DEFAULT_RESOURCE_WARN_AFTER_MS, Fl as displayLogicalId, Fn as NOECHO_MAC_KEY_ALIAS, Fs as recordedOutputReferenceRegions, Ga as declaredPolicyDocument, Gc as refuseMalformedResourceEntriesForImport, Gi as supersededHeldByOtherTypeWarning, Gl as NO_CC_HANDLERS_REASON, Gn as hintSidesOf, Gr as planFailedOps, Gs as keepsSecretReferenceToken, Gt as refactorMarkerMovesOf, Gu as ensureAssetStorage, H as readStreamPolicy, Hc as refuseMalformedResourceEntries, Hi as holdsSupersededResources, Hn as findDestructiveChanges, Ho as poisonRenderedSpellingsCollidingIn, Hr as demoteSupersededOrphans, Hs as carriesFetchableDynamicReference, Ht as recordRetainedForReadoption, Ic as isReadableResourceEntry, Ii as maskingRetryLogger, Il as hasReadableOutputs, In as createNoEchoValueMacs, Io as getReadOnlyPropertyPaths, Ir as ledgerForStack, Iu as rewriteTemplateAssetReferences, Ja as memberReadFailure, Jc as repairMalformedResourceEntriesForReadOnly, Ji as withoutSuperseded, Jl as TemplateParser, Jn as withMovedTo, Jo as secretPhysicalIdSegment, Jr as replacementNeverSwapped, Js as INTRINSIC_KEYS, Jt as sameMove, Ju as isCrossRegionRedirect, Ka as efsPolicyMatchesDeclared, Kc as refuseMalformedResourceEntriesForImportSave, Ki as supersededHolderOf, Kl as hasNoCloudControlHandlers, Kn as movedToHint, Ko as displayPhysicalId, Kr as recheckFailedPlan, Ks as withSharedDrainBudget, Kt as refactorMarkerRefusalMessage, Ku as buildDenyExternalAccessPolicy, Lc as malformedLocalResourceEntriesWarning, Ll as hasReadableResources, Ln as noEchoMacBinding, Lo as isWaitAbandonedError, Ls as recordedReferenceRegions, Lu as AssetManifestLoader, M as PROTECTION_PROPERTY_BY_TYPE, Ma as createPreDeleteFinalSnapshot, Mc as refuseMalformedOrphansForOrphan, Mi as isExportAliasCollision, Ml as withheldAccountClause, Mn as DeploymentEventsReader, Mo as deleteIndeterminateGuards, Mr as updatePartialReason, N as isProtectionValueActive, Na as buildFinalSnapshotIdentifier, Nc as repairMalformedOrphanRecordsForReadOnly, Ni as bindingSkippedOutputs, Nl as STATE_RESOURCES_MALFORMED, Nn as DeploymentEventsStore, No as deleteLeftInPlace, Nr as findUpdatePolicyReplacementRefusals, Ns as keepHeldTokenProvenance, Nu as loadPublishableAssetManifest, O as serviceTokenBlockingReason, Oa as effectiveDeletionPolicy, Oc as malformedOrphanRowsKeptWarning, Oi as isWholeDynamicReferenceValue, Ol as refuseMalformedState, On as sameJournaledOrphans, Oo as CloudControlProvider, Or as equalModuloMarkedMask, Os as lacksRecordedRefArn, Ou as createAssetRedirectResolver, P as perType, Pc as unpreviewableOrphanRecords, Pi as DEFAULT_RESOURCE_TIMEOUT_MS, Pl as UNREADABLE_RESOURCES_MAP_ROW, Pn as crossStackReadsForPartialSave, Po as deleteSkipReason, Pr as replacementCreateRoutesToCloudControl, Qi as withPreviousPolicies, Ql as readOnlyStateVersionOf, Qn as differingRemedy, Qo as producerLookupOver, Qr as readsRegeneratingSecret, Qt as removeSignalReceiverNamed, Qu as validateAssetBucketName, Rc as malformedLocalResourcesWarning, Ri as destroyStackRecordsView, Rl as findActionableSdkUnwired, Rn as noEchoMacParametersOf, Rr as withCreateTokenLedger, Ru as getDockerImageBySourceHash, S as hasPendingMovesOut, Sa as storedSecretNameNeedles, Sc as declaresNoEcho, Si as secretBearing, Sl as malformedRenderedContainersWarning, Sn as deleteJournaledOrphans, So as customResourcesRunWithoutApp, Sr as DELETED_RESOURCE_REMEDY, Ss as isUnboundTemplateParameter, Su as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, T as refusePendingMovesOut, Ta as PRE_DELETE_SNAPSHOT_TYPES, Tc as isReadableOrphanRecord, Ti as carriedExportAliasExposure, Tl as refuseMalformedResourcesForDeploy, Tn as isHandledOrphan, To as setLocalCustomResourceRuntimeEnabled, Tr as settleUnsettledPrevious, Ts as cfnRefValueFromPhysicalId, Uc as refuseMalformedResourceEntriesForDeploy, Ui as isSupersededResourceRecord, Un as formatDestructiveChange, Uo as stackIdTailOf, Ur as isJournaledOrphan, Us as isNamelessDynamicReferenceError, Ut as readRefactorMarker, Va as LAMBDA_PERMISSION_STATEMENT_KEYS, Vc as refuseMalformedResourceAttributesForOrphan, Vi as deleteSupersededEntry, Vl as unwrittenCreateOnlyReplacement, Vn as constructPathOf$1, Vo as isAlwaysLiveAttribute, Vr as seedsDeleteFirstGuard, Vs as isImpossibleEmptyStoredAttribute, Vt as keptForRetainedRecord, Wa as declaredMemberDocument, Wc as refuseMalformedResourceEntriesForDestroy, Wi as supersededAfterRollback, Wn as findRefactorHints, Wr as isReplacementOrphan, Ws as carriesDynamicReference, Wt as readRefactorMarkerOnce, Wu as AssetModeResolver, Xa as reReadUntilSettled, Xc as malformedDriftResourcePropertiesWarning, Xi as snapshotSegmentSurvivors, Xl as splitImportedOps, Xn as changedReferencePath, Xo as withSecretPhysicalIdsMaskedInState, Xr as computeImplicitDeleteEdges, Xt as deleteSignalReceiver, Xu as parseBootstrapMarker, Ya as policyDocumentMatchesDeclared, Yc as unreadableResourceEntries, Yl as S3StateBackend, Yn as changedReferenceInDiff, Yo as secretSegmentsOfState, Yr as IMPLICIT_DELETE_DEPENDENCIES, Yt as updateRefactorMarker, Yu as getBootstrapMarkerKey, Z as declaredTagsReadback, Zc as malformedResourcePropertiesWarning, Zi as resolveReplacementOldType, Zn as changedReferenceReason, Zo as resolveDynamicReferences, Zr as attemptUsesCompletedCreate, Zt as isReceiver, Zu as readBootstrapMarkerBody, _ as conditionFingerprint, _a as secretNamePrintingBag, _c as maskedPropertyFingerprintsOf, _i as reachableDivergentParameters, _l as refuseMalformedOutputs, _n as revertedNestedRowIds, _r as recordedSgRuleId, _u as renderNestedTemplateTreeDefect, a as scanActiveConsumers, aa as yellow, ac as isStatefulRecreateTargetForReplace, ad as hasPlainPrototype, ai as orphanNeedsIdentity, al as hasReadableOrphans, ao as isCustomResource, ar as referencedLogicalIds, as as parseIamRoleArn, au as crossPrefixDeniedWarning, b as readRecordedConditionVerdicts, ba as secretNamedRecordNeedles, bc as maskedInputProof, bi as displayTextOrWithheld, bl as STATE_REGION_DIVERGED, bn as getCurrentNestedStackContext, br as replayFailedOperations, c as nestedSsmNameDeferredNote, ca as noEchoExactEchoLeavesOf, ci as nameScopeOf, cl as refuseMalformedOrphans, cn as resolvePendingCloudControlRequests, cr as undeclaredGrantSiblingMembers, cs as applyCallerIdentityCredentials, cu as stackInstanceIdOf, d as slashedSsmNameHealAdoptedNote, da as createReadOnlyAttributeHealerFactory, dd as displayAssemblyPath, di as retiredNameGenerationsLeaving, dl as malformedExportNamesWarning, dn as displacedPhysicalIdShown, do as applyCustomResourceResponseExpiration, dr as sgSiblingDecidedById, ds as classifyRecordedSecretRegion, du as isSensitiveAttributeName, ea as bold, ed as BOOTSTRAP_MARKER_PREFIX, ei as isRedactedRecordedValue, el as refuseMalformedResourcePropertiesForDrift, en as readsOnlyNoEchoParameters, er as looselyEqual, es as applyRoleArnIfSet, eu as hasUnverifiableParameterRefusal, f as slashedSsmNameHealNote, fa as completedReplayEntries, fi as withNameGenerationReached, fl as malformedExportSourceWarning, fn as dropSettledNestedJournals, fo as customResourceResponseExpirationWarning, fs as classifyReplaySecretRegion, g as makeCanonicalizePropertiesFn, ga as orphanRecordsPrintingBag, gd as resolveBucketRegion, gi as namesAnyDeclaredParameter, go as isCustomResourceType$1, gr as cfnIngressPortValue, gu as listNestedTemplateRows, h as inheritedProvenanceForChildDiff, ha as namingSecretsWithRecordedNoEcho, hc as tryGetTopLevelWriteOnlyProperties, hi as computeParameterTaint, hl as malformedOutputsWarning, hn as recordDisplacedSkips, ho as readsNoEchoDeleteValues, hs as isUnexposedRecordedIdentity, hu as isAbsoluteAssetPath, i as mergeNoChangeOutputs, ia as red, ic as MULTI_REGION_RECREATE_BLOCKED_TYPES, id as hasOwnKey, ii as removeProtectionTypeList, il as UNREADABLE_ORPHANS_CONTAINER_ROW, io as ccBrokenReason, ir as proposeRenames, is as isIamRoleArn, iu as applyCrossPrefixScan, j as recordedProtectionNote, ja as unsupportedFinalSnapshotError, jc as refuseMalformedOrphanRecordsForDestroy, ji as collectPublishedOutputNames, jl as accountArgs, jn as planOrphanAdoption, jo as UNSPECIFIED_SKIP_REASON, jr as updatePartialMessage, k as diffSecurity, ka as isFinalSnapshotError, kc as previewableOrphanRecords, ki as noEchoParameterValueSeed, kl as repairMalformedResourcesForReadOnly, kn as makeForeignHolderScan, kr as equalModuloMask, ks as lacksRecordedTableArn, ku as createLazyAssetModeContext, l as nestedSsmNameRowNote, la as noEchoParameterNamesOf, li as retiredAfterRollback, ll as refuseMalformedOrphansForDestroy, ln as NESTED_PENDING_PARENT_REASON, lr as recordedRuleIdOf, ls as callerEnvCredentials, lu as withStackInstanceIdWithheld, m as crossStackOutputProvenanceSource, ma as maskEventTextWithBoundBags, mc as getTopLevelKeysHoldingUnreadableCreateOnly, md as resolveAssemblyPath, mi as inheritProducerRegions, ml as malformedOutputsRefusalMessage, mn as nestedChildStackName$1, mo as TemplateNoEchoReresolver, ms as regionLessSecretName, mu as findNestedTemplateTreeDefect, n as isSecretBearingReferenceString, na as gray, nl as refuseMalformedResourcePropertiesForOrphan, nn as formatResourceLine, no as CC_BROKEN_REASON, nr as parseMappingFile, ns as assertSendableRoleArn, nu as CrossPrefixReadError, o as inRunStackKey, oa as noEchoAttributeNamesOf, oc as isStatefulRecreateTargetSync, od as nullPrototypeRecord, oi as nameGenerationCarriedFrom, ol as malformedOrphansRefusalMessage, oo as wouldReturnToSdkProvider, or as siblingOwnedRevertDesired, os as sendableAssumeRoleCommand, ou as isAccessDenied, p as slashedSsmNameHealPendingNote, pa as journaledOrphanPrintingBag, pc as getSettledWriteOnlyPropertyPaths, pd as renderAssemblyPathEscape, pl as malformedLocalOutputsWarning, pr as siblingRecordedSgRuleIds, ps as producerRegionsFromState, q as streamPolicyMatchesDeclared, qa as lambdaPermissionMatchesDeclared, qc as refuseMalformedResourceEntriesForOrphan, qi as supersededResourcesOf, ql as PROPERTY_COVERAGE_BY_TYPE, qn as rollbackOrphanIds, qr as recordUnderIdIsNotOwn, qt as refuseRefactorMarker, qu as assertAssetBucketRegion, r as keptWholeReasonText, ra as green, rc as shownType, rd as defineOwnKey, ri as segmentCleanupOptions, rl as repairMalformedResourcePropertiesForReadOnly, ro as ProviderRegistry, rr as propertiesChangedReason, rs as explicitRoleArnOrThrow, ru as CrossPrefixScanCache, s as checkNestedSsmNames, sa as noEchoComparisonForTemplate, sc as renderStatefulReason, sd as ownValue, si as nameGenerationHighWaterOf, sl as malformedOrphansWarning, sn as pendingRequestCount, sr as stripSiblingOwnedParentMembers, ss as AWS_CREDENTIAL_ENV_KEYS, su as isNotImplemented, t as DeployEngine, ta as cyan, tc as findReplacedReadersOfRecreateTargets, tl as refuseMalformedResourcePropertiesForExport, tr as mappingPairs, ts as assertFlagRoleArn, tt as tagsMatchDeclared, tu as rebuildClientForBucketRegion, u as healSlashedSsmParameterNames, ua as withAttemptedItemsMasked, ud as describeFileReadFailure, ui as retiredNameGenerationsAfter, ul as repairMalformedOrphansForReadOnly, un as displacedOpClause, uo as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, ur as sgRuleOwnershipIdentity, us as envCredentialsAreAssumedRole, uu as isSecretValuedAttribute, v as conditionInputsFrom, va as secretNamePrintingBags, vi as resourcesNamingDeclaredParameter, vl as refuseMalformedOutputsForDestroy, vn as withNestedRevertRun, vo as withPrintingSecrets, vr as sgProtocolKey, vu as templateIdentity, w as pendingMovesRefusalMessage, wa as ATOMIC_FINAL_SNAPSHOT_TYPES, wc as deployRefusesOrphanRowsReason, wi as secretSafeKeyDisplay, wl as malformedStateRefusalMessage, wn as dropFailedHint, wr as recordAfterRollbackUpdate, ws as AWS_NO_VALUE, wu as decodeListingKey, x as childTemplateLoader, xa as stateSecretNameNeedles, xi as exportAliasCollisionScrubWarning, xl as refuseDivergentRecordRegionForDestroy, xn as withNestedStackContext, xo as customResourcesFailedWithoutApp, xr as replayRollback, xs as coerceParameterTypedValue, xu as ssmResolvedValueType, y as parentSuppliedValues, yc as parameterInputsFor, yi as WITHHELD_NAME_DISPLAY, yl as repairMalformedOutputsForReadOnly, yn as collectNestedChildUnaddressed, yo as NO_LOCAL_CUSTOM_RESOURCES_FLAG, yr as canonicalizeIpProtocolValue, zc as malformedResourceEntriesWarning, zl as findHandledUnwrittenCreateOnly, zn as noEchoMacVerdict, zo as IntrinsicFunctionResolver } from "./deploy-engine-CkY2eTL9.js";
|
|
10
10
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix, t as PARTITION_TABLE } from "./aws-partition-DA0r2sr-.js";
|
|
11
|
-
import { C as prefetchCreateOnlyPropertyPaths, E as describeTypeWithThrottleRetry, J as parseFailureDebugDetail, K as describeJsonParseFailure, U as renderPhaseTimings, W as timePhase, X as utf8ByteLength, j as withRetry, l as setResolvedResourceTimeouts, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, z as PhaseClock } from "./ec2-termination-protection-
|
|
12
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
13
|
-
import {
|
|
14
|
-
import { An as recordNoEchoAttributeValues, Bt as identityKeyFor, D as recordedNoEchoValuesOf, Fn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Ft as keepTemplateLiteralLeaves, Ln as isSingleDynamicReferenceToken, Lt as spelledKeysOf, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, On as recordMaskOnlyValue, Ot as scrubResourceRecord, Pt as isUncertifiedBaselineMaskPosition, Rt as pathCrossesDottedKey, T as readsNoEchoSource, Tn as provenPublicValue, W as redactForState, Yt as inheritNestedStackParameterAssociations, _t as maskSecretsInText, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, ct as recordLogOnlyParameterValue, dt as shareLogOnlyValues, et as carryLogOnlyValues, f as isMarkedCoordinate, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gt as maskSecretsInError, h as maskWholeValue, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as recordNoEchoParameterFreshValue, k as valueAtCoordinate, kn as recordMaskOnlyValuesIn, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, sn as physicalNameCopiesOf, st as printingCorpusOf, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, y as noEchoLeavesOf } from "./replacement-rules-
|
|
15
|
-
import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-
|
|
16
|
-
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-
|
|
11
|
+
import { C as prefetchCreateOnlyPropertyPaths, E as describeTypeWithThrottleRetry, J as parseFailureDebugDetail, K as describeJsonParseFailure, U as renderPhaseTimings, W as timePhase, X as utf8ByteLength, j as withRetry, l as setResolvedResourceTimeouts, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, z as PhaseClock } from "./ec2-termination-protection-C50H1PZO.js";
|
|
12
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-BeB-z8ED.js";
|
|
13
|
+
import { Bt as orphansCarriedFrom, Ft as hasReadableExportSet, It as importableOutputKeys, Lt as importableOutputs, Mt as acceptedCreateOnlyDropsOf, Nt as describeRegionValueKind, Pt as exportNamesCarriedFrom, Rt as isReadableBag, St as slowCcOperationTimeoutMs, Ut as stackInstanceIdCarriedFrom, Vt as shouldRetainResource, yt as differingIdentityWarning, zt as orphansAfterRollback } from "./delete-started-BY94yU_N.js";
|
|
14
|
+
import { An as recordNoEchoAttributeValues, Bt as identityKeyFor, D as recordedNoEchoValuesOf, Fn as WHOLE_DYNAMIC_REFERENCE_PATTERN, Ft as keepTemplateLiteralLeaves, Ln as isSingleDynamicReferenceToken, Lt as spelledKeysOf, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, On as recordMaskOnlyValue, Ot as scrubResourceRecord, Pt as isUncertifiedBaselineMaskPosition, Rt as pathCrossesDottedKey, T as readsNoEchoSource, Tn as provenPublicValue, W as redactForState, Yt as inheritNestedStackParameterAssociations, _t as maskSecretsInText, at as literalSplitDelimitersOf, b as noEchoOutputsComparison, ct as recordLogOnlyParameterValue, dt as shareLogOnlyValues, et as carryLogOnlyValues, f as isMarkedCoordinate, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gt as maskSecretsInError, h as maskWholeValue, it as hasMaskableValues, j as liveMatchesUnresolvedTokenFrame, jn as recordNoEchoParameterFreshValue, k as valueAtCoordinate, kn as recordMaskOnlyValuesIn, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nt as createUnionSecretMasker, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, sn as physicalNameCopiesOf, st as printingCorpusOf, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, y as noEchoLeavesOf } from "./replacement-rules-Bs3dhR_O.js";
|
|
15
|
+
import { S as unsettledPropertiesOf, T as withoutUnsettledProperties, b as unsettledItemsOf, w as withUnsettledProperties, y as unsettledItemsField } from "./restore-source-guard-D7zwBxYx.js";
|
|
16
|
+
import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-CHY7E5Ju.js";
|
|
17
17
|
import { t as cdkdCacheHome } from "./cache-home-BVYKj3de.js";
|
|
18
18
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
19
19
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutBucketVersioningCommand, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -1541,7 +1541,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
1541
1541
|
// src/provisioning/register-providers.ts
|
|
1542
1542
|
let providerClasses;
|
|
1543
1543
|
function loadProviderClasses() {
|
|
1544
|
-
providerClasses ??= import("./provider-classes-
|
|
1544
|
+
providerClasses ??= import("./provider-classes-CpwN6g8B.js");
|
|
1545
1545
|
return providerClasses;
|
|
1546
1546
|
}
|
|
1547
1547
|
function registerAllProviders(registry, classes) {
|
|
@@ -5261,6 +5261,7 @@ async function bindParametersAndConditions({ template, parameters, stackName, st
|
|
|
5261
5261
|
stateBackend,
|
|
5262
5262
|
stackName,
|
|
5263
5263
|
stackIdTail: () => stackIdTailOf(currentState, stackName),
|
|
5264
|
+
stackIdOverride: () => currentState?.signalReceiverStackId,
|
|
5264
5265
|
bestEffort: true,
|
|
5265
5266
|
...mergedParameters && { parameters: mergedParameters },
|
|
5266
5267
|
...inheritedForResolver && { inheritedSecrets: inheritedForResolver },
|
|
@@ -5449,6 +5450,7 @@ async function resolveChildStackParameters(parentStackRow, parentTemplate, paren
|
|
|
5449
5450
|
stateBackend,
|
|
5450
5451
|
stackName: parentStackName,
|
|
5451
5452
|
stackIdTail: () => stackIdTailOf(parentState, parentStackName),
|
|
5453
|
+
stackIdOverride: () => parentState?.signalReceiverStackId,
|
|
5452
5454
|
bestEffort: true,
|
|
5453
5455
|
...parentParameters && { parameters: parentParameters },
|
|
5454
5456
|
...parentConditions && { conditions: parentConditions },
|
|
@@ -5701,6 +5703,7 @@ async function computeStackDiff(loadedState, template, region, stackName, stateB
|
|
|
5701
5703
|
stateBackend,
|
|
5702
5704
|
stackName,
|
|
5703
5705
|
stackIdTail: () => stackIdTailOf(currentState, stackName),
|
|
5706
|
+
stackIdOverride: () => currentState?.signalReceiverStackId,
|
|
5704
5707
|
bestEffort: true,
|
|
5705
5708
|
...mergedParameters && { parameters: mergedParameters },
|
|
5706
5709
|
...conditions && { conditions },
|
|
@@ -5756,6 +5759,7 @@ async function computeStackDiff(loadedState, template, region, stackName, stateB
|
|
|
5756
5759
|
stateBackend,
|
|
5757
5760
|
stackName,
|
|
5758
5761
|
stackIdTail: () => stackIdTailOf(currentState, stackName),
|
|
5762
|
+
stackIdOverride: () => currentState?.signalReceiverStackId,
|
|
5759
5763
|
bestEffort: true,
|
|
5760
5764
|
...Object.keys(classified.bound).length > 0 && { parameters: classified.bound },
|
|
5761
5765
|
...conditions && Object.keys(conditions).length > 0 && { conditions },
|
|
@@ -9021,6 +9025,7 @@ async function scrubStack(stack, region, stateBackend, lockManager, opts) {
|
|
|
9021
9025
|
...Object.keys(conditions).length > 0 && { conditions },
|
|
9022
9026
|
stackName: stack.stackName,
|
|
9023
9027
|
stackIdTail: () => stackIdTailOf(state, stack.stackName),
|
|
9028
|
+
stackIdOverride: () => state?.signalReceiverStackId,
|
|
9024
9029
|
stateBackend: resolverStateBackend,
|
|
9025
9030
|
...recordedSecretValues && { recordedSecretValues },
|
|
9026
9031
|
producerRegions,
|
|
@@ -10232,6 +10237,117 @@ function canonicalizeIpProtocols(baseline, aws, resourceType) {
|
|
|
10232
10237
|
};
|
|
10233
10238
|
}
|
|
10234
10239
|
|
|
10240
|
+
// src/analyzer/drift-undeclared-grants.ts
|
|
10241
|
+
const UNDECLARED_GRANT_KEYS = {
|
|
10242
|
+
"AWS::IAM::Role": [
|
|
10243
|
+
"ManagedPolicyArns",
|
|
10244
|
+
"PermissionsBoundary",
|
|
10245
|
+
"Policies"
|
|
10246
|
+
],
|
|
10247
|
+
"AWS::IAM::User": [
|
|
10248
|
+
"Groups",
|
|
10249
|
+
"ManagedPolicyArns",
|
|
10250
|
+
"PermissionsBoundary",
|
|
10251
|
+
"Policies"
|
|
10252
|
+
],
|
|
10253
|
+
"AWS::IAM::Group": ["ManagedPolicyArns", "Policies"]
|
|
10254
|
+
};
|
|
10255
|
+
const BOUNDARY_KEY = "PermissionsBoundary";
|
|
10256
|
+
const NONE = [];
|
|
10257
|
+
function isPlainRecord$3(value) {
|
|
10258
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
10259
|
+
}
|
|
10260
|
+
function undeclaredGrantDriftKeys(resourceType, properties) {
|
|
10261
|
+
if (!hasOwnKey(UNDECLARED_GRANT_KEYS, resourceType)) return NONE;
|
|
10262
|
+
if (!isPlainRecord$3(properties)) return NONE;
|
|
10263
|
+
return UNDECLARED_GRANT_KEYS[resourceType].filter((key) => !hasOwnKey(properties, key));
|
|
10264
|
+
}
|
|
10265
|
+
function isUndeclaredGrantScalarKey(key) {
|
|
10266
|
+
return key === BOUNDARY_KEY;
|
|
10267
|
+
}
|
|
10268
|
+
function grantMemberIdentity(key, member) {
|
|
10269
|
+
if (key === "Policies") {
|
|
10270
|
+
const name = isPlainRecord$3(member) ? member["PolicyName"] : void 0;
|
|
10271
|
+
return typeof name === "string" ? name : void 0;
|
|
10272
|
+
}
|
|
10273
|
+
if (typeof member !== "string") return void 0;
|
|
10274
|
+
return key === "Groups" ? member.toLowerCase() : member;
|
|
10275
|
+
}
|
|
10276
|
+
function isNoBoundary(value) {
|
|
10277
|
+
return value === void 0 || value === null || value === "";
|
|
10278
|
+
}
|
|
10279
|
+
function withUndeclaredGrantBaseline(baseline, aws, keys, siblingRecorded = {}) {
|
|
10280
|
+
let out = baseline;
|
|
10281
|
+
const set = (key, value) => {
|
|
10282
|
+
if (out === baseline) out = { ...baseline };
|
|
10283
|
+
defineOwnKey(out, key, value);
|
|
10284
|
+
};
|
|
10285
|
+
for (const key of keys) {
|
|
10286
|
+
if (!hasOwnKey(aws, key)) continue;
|
|
10287
|
+
if (isUndeclaredGrantScalarKey(key)) {
|
|
10288
|
+
if (!hasOwnKey(baseline, key)) set(key, "");
|
|
10289
|
+
continue;
|
|
10290
|
+
}
|
|
10291
|
+
const live = aws[key];
|
|
10292
|
+
if (!Array.isArray(live)) continue;
|
|
10293
|
+
const recorded = hasOwnKey(baseline, key) ? baseline[key] : [];
|
|
10294
|
+
if (!Array.isArray(recorded)) continue;
|
|
10295
|
+
const byId = /* @__PURE__ */ new Map();
|
|
10296
|
+
for (const member of [...siblingRecorded[key] ?? [], ...recorded]) {
|
|
10297
|
+
const id = grantMemberIdentity(key, member);
|
|
10298
|
+
if (id !== void 0 && !byId.has(id)) byId.set(id, member);
|
|
10299
|
+
}
|
|
10300
|
+
const projected = [];
|
|
10301
|
+
for (const member of live) {
|
|
10302
|
+
const id = grantMemberIdentity(key, member);
|
|
10303
|
+
if (id === void 0 || !byId.has(id)) continue;
|
|
10304
|
+
projected.push(typeof member === "string" ? member : byId.get(id));
|
|
10305
|
+
byId.delete(id);
|
|
10306
|
+
}
|
|
10307
|
+
if (!(hasOwnKey(baseline, key) && projected.length === recorded.length && projected.every((m, i) => m === recorded[i]))) set(key, projected);
|
|
10308
|
+
}
|
|
10309
|
+
return out;
|
|
10310
|
+
}
|
|
10311
|
+
function undeclaredGrantIgnorePaths(baseline, aws, keys) {
|
|
10312
|
+
return keys.filter((key) => {
|
|
10313
|
+
if (hasOwnKey(aws, key)) return false;
|
|
10314
|
+
if (isUndeclaredGrantScalarKey(key)) return !hasOwnKey(baseline, key) || isNoBoundary(baseline[key]);
|
|
10315
|
+
return true;
|
|
10316
|
+
});
|
|
10317
|
+
}
|
|
10318
|
+
function withoutUndeclaredNoBoundary(desired, keys) {
|
|
10319
|
+
const absent = keys.filter((key) => isUndeclaredGrantScalarKey(key) && isNoBoundary(desired[key]));
|
|
10320
|
+
if (absent.length === 0) return {
|
|
10321
|
+
desired,
|
|
10322
|
+
absent
|
|
10323
|
+
};
|
|
10324
|
+
const out = { ...desired };
|
|
10325
|
+
for (const key of absent) delete out[key];
|
|
10326
|
+
return {
|
|
10327
|
+
desired: out,
|
|
10328
|
+
absent
|
|
10329
|
+
};
|
|
10330
|
+
}
|
|
10331
|
+
function removedGrantMembers(key, awsValue, stateValue) {
|
|
10332
|
+
if (isUndeclaredGrantScalarKey(key)) return !isNoBoundary(awsValue) && isNoBoundary(stateValue) ? [{
|
|
10333
|
+
key,
|
|
10334
|
+
member: awsValue
|
|
10335
|
+
}] : [];
|
|
10336
|
+
if (!Array.isArray(awsValue)) return [];
|
|
10337
|
+
const kept = new Set((Array.isArray(stateValue) ? stateValue : []).map((m) => grantMemberIdentity(key, m)));
|
|
10338
|
+
const out = [];
|
|
10339
|
+
for (const m of awsValue) {
|
|
10340
|
+
const id = grantMemberIdentity(key, m);
|
|
10341
|
+
if (id !== void 0 && kept.has(id)) continue;
|
|
10342
|
+
const name = key === "Policies" && isPlainRecord$3(m) ? m["PolicyName"] : void 0;
|
|
10343
|
+
out.push({
|
|
10344
|
+
key,
|
|
10345
|
+
member: typeof name === "string" ? name : m
|
|
10346
|
+
});
|
|
10347
|
+
}
|
|
10348
|
+
return out;
|
|
10349
|
+
}
|
|
10350
|
+
|
|
10235
10351
|
// src/provisioning/providers/s3-bucket/shared.ts
|
|
10236
10352
|
function manualBucketDeletionClause(bucketName, maskSecrets, journaled) {
|
|
10237
10353
|
const command = renderDisableCommand({
|
|
@@ -10887,6 +11003,57 @@ function sgSettleRuleKey(rule, direction) {
|
|
|
10887
11003
|
d: present(rule["Description"])
|
|
10888
11004
|
});
|
|
10889
11005
|
}
|
|
11006
|
+
function sgRemovalRuleKey(rule, direction) {
|
|
11007
|
+
return sgSettleRuleKey({
|
|
11008
|
+
...rule,
|
|
11009
|
+
Description: void 0
|
|
11010
|
+
}, direction);
|
|
11011
|
+
}
|
|
11012
|
+
function sgRemovedNotDeclared(removed, declared, direction) {
|
|
11013
|
+
const keep = /* @__PURE__ */ new Set();
|
|
11014
|
+
const namedPeerPorts = /* @__PURE__ */ new Set();
|
|
11015
|
+
for (const rule of declared) {
|
|
11016
|
+
if (typeof rule !== "object" || rule === null) continue;
|
|
11017
|
+
const key = sgRemovalRuleKey(rule, direction);
|
|
11018
|
+
keep.add(key);
|
|
11019
|
+
if (key !== void 0) continue;
|
|
11020
|
+
const asPeer = sgRemovalRuleKey({
|
|
11021
|
+
...rule,
|
|
11022
|
+
SourceSecurityGroupName: void 0,
|
|
11023
|
+
SourceSecurityGroupId: "named"
|
|
11024
|
+
}, direction);
|
|
11025
|
+
const ports = asPeer === void 0 ? void 0 : protocolAndPorts(asPeer);
|
|
11026
|
+
if (ports !== void 0) namedPeerPorts.add(ports);
|
|
11027
|
+
}
|
|
11028
|
+
return new Set([...removed ?? []].filter((key) => {
|
|
11029
|
+
if (keep.has(key)) return false;
|
|
11030
|
+
if (namedPeerPorts.size === 0) return true;
|
|
11031
|
+
let parsed;
|
|
11032
|
+
try {
|
|
11033
|
+
parsed = JSON.parse(key);
|
|
11034
|
+
} catch {
|
|
11035
|
+
return false;
|
|
11036
|
+
}
|
|
11037
|
+
return !(parsed.peer !== null && namedPeerPorts.has(protocolAndPorts(key) ?? ""));
|
|
11038
|
+
}));
|
|
11039
|
+
}
|
|
11040
|
+
function protocolAndPorts(key) {
|
|
11041
|
+
try {
|
|
11042
|
+
const { p, f, t } = JSON.parse(key);
|
|
11043
|
+
return JSON.stringify([
|
|
11044
|
+
p,
|
|
11045
|
+
f,
|
|
11046
|
+
t
|
|
11047
|
+
]);
|
|
11048
|
+
} catch {
|
|
11049
|
+
return;
|
|
11050
|
+
}
|
|
11051
|
+
}
|
|
11052
|
+
function sgRuleIsRemoved(rule, gone, direction) {
|
|
11053
|
+
if (gone.size === 0 || typeof rule !== "object" || rule === null) return false;
|
|
11054
|
+
const key = sgRemovalRuleKey(rule, direction);
|
|
11055
|
+
return key !== void 0 && gone.has(key);
|
|
11056
|
+
}
|
|
10890
11057
|
function declaredSgRulesRead(value, declared, direction) {
|
|
10891
11058
|
if (!Array.isArray(value)) return false;
|
|
10892
11059
|
const have = value.map((rule) => typeof rule === "object" && rule !== null ? sgSettleRuleKey(rule, direction) : void 0);
|
|
@@ -10938,6 +11105,16 @@ function mergeDeclaredSgRules(read, declared, direction) {
|
|
|
10938
11105
|
return key !== void 0 && keyOf(entry) === key;
|
|
10939
11106
|
}, (want) => typeof want === "object" && want !== null ? sgRuleReadbackShape(want, direction) : void 0);
|
|
10940
11107
|
}
|
|
11108
|
+
function sgRuleListMember(key, direction, declared, revoked, reorder, read) {
|
|
11109
|
+
const gone = sgRemovedNotDeclared(revoked, declared, direction);
|
|
11110
|
+
return {
|
|
11111
|
+
key,
|
|
11112
|
+
declared,
|
|
11113
|
+
matches: (value) => declaredSgRulesRead(value, declared, direction) && !value.some((rule) => sgRuleIsRemoved(rule, gone, direction)),
|
|
11114
|
+
whenUnsettled: (newest) => reorder(mergeDeclaredSgRules(newest, declared, direction).filter((rule) => !sgRuleIsRemoved(rule, gone, direction))),
|
|
11115
|
+
read
|
|
11116
|
+
};
|
|
11117
|
+
}
|
|
10941
11118
|
|
|
10942
11119
|
// src/provisioning/providers/iam-policy/agreeing-copies.ts
|
|
10943
11120
|
const readsWithAgreeingCopies = /* @__PURE__ */ new WeakSet();
|
|
@@ -10952,9 +11129,6 @@ function readHadAgreeingCopies(read) {
|
|
|
10952
11129
|
const UNDECLARED_UNCOMPARED_KEYS = {
|
|
10953
11130
|
"AWS::S3::Bucket": ["NotificationConfiguration"],
|
|
10954
11131
|
"AWS::Events::EventBus": ["Policy"],
|
|
10955
|
-
"AWS::IAM::User": ["Groups", "ManagedPolicyArns"],
|
|
10956
|
-
"AWS::IAM::Role": ["ManagedPolicyArns"],
|
|
10957
|
-
"AWS::IAM::Group": ["ManagedPolicyArns"],
|
|
10958
11132
|
"AWS::IAM::ManagedPolicy": [
|
|
10959
11133
|
"Groups",
|
|
10960
11134
|
"Roles",
|
|
@@ -11464,6 +11638,55 @@ function stackRegionOption$2() {
|
|
|
11464
11638
|
}
|
|
11465
11639
|
|
|
11466
11640
|
// src/cli/commands/drift/plan.ts
|
|
11641
|
+
const GRANT_REMOVAL_VERB = {
|
|
11642
|
+
ManagedPolicyArns: "detaches managed policy",
|
|
11643
|
+
Policies: "deletes inline policy",
|
|
11644
|
+
Groups: "removes the user from group",
|
|
11645
|
+
PermissionsBoundary: "deletes permissions boundary"
|
|
11646
|
+
};
|
|
11647
|
+
function restoredInlinePolicies(awsValue, stateValue) {
|
|
11648
|
+
if (!Array.isArray(awsValue) || !Array.isArray(stateValue)) return [];
|
|
11649
|
+
const nameOf = (m) => {
|
|
11650
|
+
if (typeof m !== "object" || m === null || Array.isArray(m)) return void 0;
|
|
11651
|
+
const name = m["PolicyName"];
|
|
11652
|
+
return typeof name === "string" ? name : void 0;
|
|
11653
|
+
};
|
|
11654
|
+
const recorded = /* @__PURE__ */ new Map();
|
|
11655
|
+
for (const m of stateValue) {
|
|
11656
|
+
const name = nameOf(m);
|
|
11657
|
+
if (name !== void 0 && !recorded.has(name)) recorded.set(name, m);
|
|
11658
|
+
}
|
|
11659
|
+
const out = [];
|
|
11660
|
+
for (const m of awsValue) {
|
|
11661
|
+
const name = nameOf(m);
|
|
11662
|
+
if (name !== void 0 && recorded.has(name) && !deepEqualUnordered(recorded.get(name), m)) out.push(name);
|
|
11663
|
+
}
|
|
11664
|
+
return out;
|
|
11665
|
+
}
|
|
11666
|
+
function printRemovedGrantMembers(o, properties, out) {
|
|
11667
|
+
const keys = undeclaredGrantDriftKeys(o.resourceType, properties);
|
|
11668
|
+
if (keys.length === 0) return;
|
|
11669
|
+
let printed = 0;
|
|
11670
|
+
let restored = 0;
|
|
11671
|
+
for (const change of o.changes) {
|
|
11672
|
+
if (!keys.includes(change.path)) continue;
|
|
11673
|
+
if (!isUndeclaredGrantScalarKey(change.path) && change.awsValue !== void 0 && !Array.isArray(change.awsValue)) {
|
|
11674
|
+
out.write(safeMsg` - removes each ${change.path} member no record holds (the live list is withheld)\n`);
|
|
11675
|
+
printed++;
|
|
11676
|
+
continue;
|
|
11677
|
+
}
|
|
11678
|
+
for (const { key, member } of removedGrantMembers(change.path, change.awsValue, change.stateValue)) {
|
|
11679
|
+
out.write(safeMsg` - ${GRANT_REMOVAL_VERB[key] ?? key} ${reportPlanValue(displayDriftValue(o, member))}\n`);
|
|
11680
|
+
printed++;
|
|
11681
|
+
}
|
|
11682
|
+
if (change.path === "Policies") for (const name of restoredInlinePolicies(change.awsValue, change.stateValue)) {
|
|
11683
|
+
out.write(safeMsg` ~ restores inline policy ${reportPlanValue(displayDriftValue(o, name))} to its recorded document\n`);
|
|
11684
|
+
restored++;
|
|
11685
|
+
}
|
|
11686
|
+
}
|
|
11687
|
+
if (restored > 0) out.write(" A recorded inline policy document is pinned: one adopted with --accept stays as it was then, so after the stack that owns it changes it, accept again rather than revert.\n");
|
|
11688
|
+
if (printed > 0) out.write(` The template does not declare ${printed === 1 ? "this" : "these"}, so the revert removes ${printed === 1 ? "it" : "each one"}. If ${printed === 1 ? "it was" : "they were"} granted on purpose (by another stack or tool), run ${proseQuoted(cdkdRemedy("cdkd drift", "--accept"))} for this stack instead: it records everything AWS holds on every drifted resource of the stack, so drift stops reporting ${printed === 1 ? "it" : "them"} and a later revert keeps ${printed === 1 ? "it" : "them"}. To keep only some, revert, grant those again, then accept.\n`);
|
|
11689
|
+
}
|
|
11467
11690
|
function humanTextSink(json) {
|
|
11468
11691
|
return json ? {
|
|
11469
11692
|
write: (chunk) => {
|
|
@@ -11544,6 +11767,7 @@ function printRevertPlan(reports, out, recovery, writeOnlyResend) {
|
|
|
11544
11767
|
const word = o.changes.length === 1 ? "property path" : "property paths";
|
|
11545
11768
|
out.write(` → provider.update on ${reportResource(o)}: revert ${o.changes.length} ${word}\n`);
|
|
11546
11769
|
for (const change of o.changes) out.write(reportPlanChangeLine(displayDriftPath(o, change.path), displayDriftValue(o, change.awsValue), displayDriftValue(o, change.stateValue)));
|
|
11770
|
+
printRemovedGrantMembers(o, report.state.resources[o.logicalId]?.properties, out);
|
|
11547
11771
|
const resent = writeOnlyResend?.get(o) ?? [];
|
|
11548
11772
|
if (resent.length > 0) out.write(` + also sends the template's write-only fields of ${maskSecretsInText(resent.join(", "), o.secrets)} (AWS never returns them on a read)\n`);
|
|
11549
11773
|
const stateResource = report.state.resources[o.logicalId];
|
|
@@ -12171,7 +12395,7 @@ function sameRecordedJson(candidate, recorded) {
|
|
|
12171
12395
|
|
|
12172
12396
|
// src/cli/commands/drift/compare.ts
|
|
12173
12397
|
async function compareDriftReadback(args) {
|
|
12174
|
-
const { region, resolvePrincipalUniqueId, outcomes, logger, secretResolvers, producerRegions, stackSecretNames, resource, logicalId, provider, secrets, printing, aws, readContext, readOnlyPathsLookup } = args;
|
|
12398
|
+
const { region, resolvePrincipalUniqueId, outcomes, logger, secretResolvers, producerRegions, stackSecretNames, resource, logicalId, provider, secrets, printing, aws, readContext, readOnlyPathsLookup, notComparedPolicyArns } = args;
|
|
12175
12399
|
const ignorePaths = provider.getDriftUnknownPaths ? provider.getDriftUnknownPaths(resource.resourceType, resource.properties ?? {}) : [];
|
|
12176
12400
|
const unorderedPaths = provider.getDriftUnorderedPaths ? provider.getDriftUnorderedPaths(resource.resourceType) : [];
|
|
12177
12401
|
const useObserved = resource.observedProperties !== void 0;
|
|
@@ -12215,7 +12439,8 @@ async function compareDriftReadback(args) {
|
|
|
12215
12439
|
secrets.clear();
|
|
12216
12440
|
}
|
|
12217
12441
|
if (unresolvedTokens.size > 0) logger.warn(`${logicalId} (${resource.resourceType}): cdkd cannot resolve ${maskSecretsInText([...unresolvedTokens].join(", "), secrets)} — those properties are NOT compared. A revert leaves a property whose WHOLE value is one of these tokens untouched where its position can be matched against AWS's report (a list element pairs by an identity field, or by the list's own unchanged literal values). A token EMBEDDED in a longer string is left untouched the same way when the rest of that string is exactly what AWS holds. Where it cannot be matched, the revert writes the token literal, exactly as 'cdkd deploy' does — so a resolved value AWS holds there WOULD be overwritten. cdkd resolves 'secretsmanager', 'ssm' and 'ssm-secure' references; anything else is left as written.`);
|
|
12218
|
-
const
|
|
12442
|
+
const grantKeys = undeclaredGrantDriftKeys(resource.resourceType, resource.properties);
|
|
12443
|
+
const observedIgnorePaths = useObserved ? undeclaredEmptyObservedKeys(resource.observedProperties, resource.properties ?? {}, undeclaredEmptyComparedDriftKeys(resource.resourceType)).filter((key) => !grantKeys.includes(key)) : [];
|
|
12219
12444
|
const normalized = await canonicalizePrincipalUniqueIds(comparisonBaseline, aws, resolvePrincipalUniqueId);
|
|
12220
12445
|
const protocolNormalized = canonicalizeIpProtocols(normalized.baseline, normalized.aws, resource.resourceType);
|
|
12221
12446
|
const siblingStripped = stripSiblingOwnedParentMembers(resource.resourceType, resource.physicalId, protocolNormalized.baseline, protocolNormalized.aws, resource.properties, readContext);
|
|
@@ -12229,8 +12454,9 @@ async function compareDriftReadback(args) {
|
|
|
12229
12454
|
aws: stripDerivedEchoMembers(resource.resourceType, pairCanonicalized.aws)
|
|
12230
12455
|
};
|
|
12231
12456
|
const nameBaseline = canonicalizeDerivedPatternBName(resource.resourceType, paired.baseline, paired.aws);
|
|
12232
|
-
const
|
|
12233
|
-
const
|
|
12457
|
+
const absentDefaultBaseline = useObserved ? withAbsentDefaultKeys(nameBaseline, paired.aws, driftAbsentMeansDefaultKeys(provider, resource.resourceType, resource.properties)) : nameBaseline;
|
|
12458
|
+
const comparedBaseline = withUndeclaredGrantBaseline(absentDefaultBaseline, paired.aws, grantKeys, undeclaredGrantSiblingMembers(resource.resourceType, resource.physicalId, grantKeys, resource.properties, readContext, notComparedPolicyArns));
|
|
12459
|
+
const ownedIgnorePaths = [...undeclaredUncomparedDriftKeys(resource.resourceType, resource.properties), ...undeclaredGrantIgnorePaths(comparedBaseline, paired.aws, grantKeys)];
|
|
12234
12460
|
const preFixIgnorePaths = preFixBaselineUncomparedDriftKeys(resource.resourceType, resource.observedProperties, resource.properties, aws);
|
|
12235
12461
|
const readOnlyIgnorePaths = readOnlyUncomparedDriftPaths(readOnlyPathsLookup ? await readOnlyPathsLookup : void 0, resource.properties);
|
|
12236
12462
|
const extraIgnorePaths = [
|
|
@@ -12308,6 +12534,35 @@ function canonicalizeDerivedPatternBName(resourceType, baseline, aws) {
|
|
|
12308
12534
|
return out;
|
|
12309
12535
|
}
|
|
12310
12536
|
|
|
12537
|
+
// src/cli/commands/drift/not-compared-policies.ts
|
|
12538
|
+
const MANAGED_POLICY_TYPE = "AWS::IAM::ManagedPolicy";
|
|
12539
|
+
function notComparedManagedPolicyArns(resources, outcomes) {
|
|
12540
|
+
const compared = /* @__PURE__ */ new Set();
|
|
12541
|
+
for (const o of outcomes) if (o.kind === "clean" || o.kind === "drifted") compared.add(o.logicalId);
|
|
12542
|
+
const out = /* @__PURE__ */ new Set();
|
|
12543
|
+
for (const [logicalId, record] of Object.entries(resources ?? {})) {
|
|
12544
|
+
if (record?.resourceType !== "AWS::IAM::ManagedPolicy") continue;
|
|
12545
|
+
const arn = record.physicalId;
|
|
12546
|
+
if (typeof arn !== "string" || arn === "" || compared.has(logicalId)) continue;
|
|
12547
|
+
out.add(arn);
|
|
12548
|
+
}
|
|
12549
|
+
return out;
|
|
12550
|
+
}
|
|
12551
|
+
function managedPoliciesFirst(entries) {
|
|
12552
|
+
const isPolicy = (e) => e[1]?.resourceType === MANAGED_POLICY_TYPE;
|
|
12553
|
+
return [...entries.filter(isPolicy), ...entries.filter((e) => !isPolicy(e))];
|
|
12554
|
+
}
|
|
12555
|
+
function restoreEntryOrder(outcomes, from, entries) {
|
|
12556
|
+
const rank = /* @__PURE__ */ new Map();
|
|
12557
|
+
entries.forEach(([logicalId], i) => rank.set(logicalId, i));
|
|
12558
|
+
const tail = outcomes.slice(from).map((o, i) => ({
|
|
12559
|
+
o,
|
|
12560
|
+
i,
|
|
12561
|
+
r: rank.get(o.logicalId) ?? Number.MAX_SAFE_INTEGER
|
|
12562
|
+
})).sort((a, b) => a.r - b.r || a.i - b.i).map(({ o }) => o);
|
|
12563
|
+
outcomes.splice(from, tail.length, ...tail);
|
|
12564
|
+
}
|
|
12565
|
+
|
|
12311
12566
|
// src/cli/commands/drift/detect.ts
|
|
12312
12567
|
async function runDriftForStack(stackName, region, stateBackend, providerRegistry, ccApiFallback, resolvePrincipalUniqueId, malformedRecordMode, nestedChildRecord, refusalRecovery) {
|
|
12313
12568
|
const result = await stateBackend.getState(stackName, region);
|
|
@@ -12358,11 +12613,43 @@ async function runDriftForStack(stackName, region, stateBackend, providerRegistr
|
|
|
12358
12613
|
ccApi: 0
|
|
12359
12614
|
};
|
|
12360
12615
|
const trippedReadPaths = /* @__PURE__ */ new Set();
|
|
12361
|
-
const
|
|
12616
|
+
const resetReadFailures = () => {
|
|
12362
12617
|
consecutiveReadFailures.provider = 0;
|
|
12363
12618
|
consecutiveReadFailures.ccApi = 0;
|
|
12364
12619
|
};
|
|
12365
|
-
|
|
12620
|
+
const warnBreakerTripped = (path) => {
|
|
12621
|
+
logger.warn(safeMsg`${5} reads in a row in this stack failed ` + safeMsg`${DRIFT_READ_PATH_LABELS[path]} — expired credentials, a revoked ` + "role, a permission all of them need, or a burst of throttling — so cdkd stops reading this stack's resources that way, and reports each one left as not compared. Fix the cause, or re-run if it was throttling.");
|
|
12622
|
+
};
|
|
12623
|
+
const countReadFailure = (path) => {
|
|
12624
|
+
if (trippedReadPaths.has(path)) return false;
|
|
12625
|
+
consecutiveReadFailures[path]++;
|
|
12626
|
+
if (consecutiveReadFailures[path] !== 5) return false;
|
|
12627
|
+
trippedReadPaths.add(path);
|
|
12628
|
+
return true;
|
|
12629
|
+
};
|
|
12630
|
+
const templateRank = new Map(entries.map(([id], i) => [id, i]));
|
|
12631
|
+
let inPolicyBlock = true;
|
|
12632
|
+
let currentRank = 0;
|
|
12633
|
+
const deferredPolicyReads = [];
|
|
12634
|
+
const flushPolicyReads = (beforeRank) => {
|
|
12635
|
+
while (deferredPolicyReads.length > 0 && deferredPolicyReads[0].rank < beforeRank) {
|
|
12636
|
+
const { failed } = deferredPolicyReads.shift();
|
|
12637
|
+
if (failed === void 0) resetReadFailures();
|
|
12638
|
+
else if (countReadFailure(failed)) warnBreakerTripped(failed);
|
|
12639
|
+
}
|
|
12640
|
+
};
|
|
12641
|
+
const noteReadReturned = () => {
|
|
12642
|
+
if (inPolicyBlock) deferredPolicyReads.push({ rank: currentRank });
|
|
12643
|
+
else resetReadFailures();
|
|
12644
|
+
};
|
|
12645
|
+
const walkStart = outcomes.length;
|
|
12646
|
+
let notComparedPolicyArns;
|
|
12647
|
+
for (const [logicalId, resource] of managedPoliciesFirst(entries)) {
|
|
12648
|
+
currentRank = templateRank.get(logicalId) ?? 0;
|
|
12649
|
+
if (resource.resourceType !== "AWS::IAM::ManagedPolicy") {
|
|
12650
|
+
inPolicyBlock = false;
|
|
12651
|
+
flushPolicyReads(currentRank);
|
|
12652
|
+
}
|
|
12366
12653
|
if (unreadablePropertyBags.has(logicalId)) {
|
|
12367
12654
|
outcomes.push({
|
|
12368
12655
|
kind: "notCompared",
|
|
@@ -12487,6 +12774,7 @@ async function runDriftForStack(stackName, region, stateBackend, providerRegistr
|
|
|
12487
12774
|
});
|
|
12488
12775
|
return;
|
|
12489
12776
|
}
|
|
12777
|
+
if (resource.resourceType !== "AWS::IAM::ManagedPolicy") notComparedPolicyArns ??= notComparedManagedPolicyArns(state.resources, outcomes);
|
|
12490
12778
|
await compareDriftReadback({
|
|
12491
12779
|
region,
|
|
12492
12780
|
resolvePrincipalUniqueId,
|
|
@@ -12502,7 +12790,8 @@ async function runDriftForStack(stackName, region, stateBackend, providerRegistr
|
|
|
12502
12790
|
printing,
|
|
12503
12791
|
aws,
|
|
12504
12792
|
readContext,
|
|
12505
|
-
...readOnlyPathsLookup && { readOnlyPathsLookup }
|
|
12793
|
+
...readOnlyPathsLookup && { readOnlyPathsLookup },
|
|
12794
|
+
...notComparedPolicyArns && { notComparedPolicyArns }
|
|
12506
12795
|
});
|
|
12507
12796
|
} catch (err) {
|
|
12508
12797
|
if (isNoReadHandlerError(err)) {
|
|
@@ -12524,19 +12813,21 @@ async function runDriftForStack(stackName, region, stateBackend, providerRegistr
|
|
|
12524
12813
|
let breakerTripped = false;
|
|
12525
12814
|
if (err instanceof DriftReadRefusedError) noteReadReturned();
|
|
12526
12815
|
else if (!readReturned) {
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
|
|
12530
|
-
|
|
12531
|
-
|
|
12816
|
+
if (inPolicyBlock) deferredPolicyReads.push({
|
|
12817
|
+
rank: currentRank,
|
|
12818
|
+
failed: readPath
|
|
12819
|
+
});
|
|
12820
|
+
else breakerTripped = countReadFailure(readPath);
|
|
12532
12821
|
}
|
|
12533
|
-
logger.warn(`${logicalId} (${resource.resourceType}): could not be compared — the read or comparison failed, so NONE of its properties were checked. ` + (trippedReadPaths.size > 0 ? "" : `cdkd goes on with the rest of this stack. `) + `${maskSecretsInText(describeAwsFailure(err).detail, secrets)}`);
|
|
12534
|
-
if (breakerTripped)
|
|
12822
|
+
logger.warn(`${logicalId} (${resource.resourceType}): could not be compared — the read or comparison failed, so NONE of its properties were checked. ` + (trippedReadPaths.size > 0 || inPolicyBlock ? "" : `cdkd goes on with the rest of this stack. `) + `${maskSecretsInText(describeAwsFailure(err).detail, secrets)}`);
|
|
12823
|
+
if (breakerTripped) warnBreakerTripped(readPath);
|
|
12535
12824
|
if (err instanceof Error && err.stack) logger.debug(`${logicalId} (${resource.resourceType}): comparison failure detail`, maskSecretsInError(err, secrets).stack);
|
|
12536
12825
|
return;
|
|
12537
12826
|
}
|
|
12538
12827
|
});
|
|
12539
12828
|
}
|
|
12829
|
+
flushPolicyReads(Number.POSITIVE_INFINITY);
|
|
12830
|
+
restoreEntryOrder(outcomes, walkStart, entries);
|
|
12540
12831
|
const warnings = warnIfPreV10BaselineGap(state, outcomes, logger);
|
|
12541
12832
|
return {
|
|
12542
12833
|
stackName,
|
|
@@ -13393,13 +13684,18 @@ async function revertDriftedOutcome(args) {
|
|
|
13393
13684
|
let newProperties;
|
|
13394
13685
|
try {
|
|
13395
13686
|
const siblingContext = buildReadCurrentStateContext(report.state, outcome.logicalId);
|
|
13687
|
+
const grantKeys = undeclaredGrantDriftKeys(outcome.resourceType, stateResource.properties);
|
|
13688
|
+
const grantLive = grantKeys.length === 0 ? outcome.awsProperties : stripSiblingOwnedParentMembers(outcome.resourceType, stateResource.physicalId, desiredProperties, outcome.awsProperties, stateResource.properties, siblingContext).aws;
|
|
13689
|
+
const noBoundary = withoutUndeclaredNoBoundary(withUndeclaredGrantBaseline(desiredProperties, grantLive, grantKeys, undeclaredGrantSiblingMembers(outcome.resourceType, stateResource.physicalId, grantKeys, stateResource.properties, siblingContext, notComparedManagedPolicyArns(report.state.resources, report.outcomes))), grantKeys);
|
|
13690
|
+
desiredProperties = noBoundary.desired;
|
|
13396
13691
|
desiredProperties = siblingOwnedRevertDesired(outcome.resourceType, stateResource.physicalId, desiredProperties, outcome.awsProperties, stateResource.properties, siblingContext);
|
|
13397
13692
|
if (provider.canonicalizeDriftPair) desiredProperties = (await provider.canonicalizeDriftPair(outcome.resourceType, desiredProperties, outcome.awsProperties, stateResource.properties ?? {})).baseline;
|
|
13398
13693
|
desiredProperties = stripDerivedEchoMembers(outcome.resourceType, desiredProperties);
|
|
13399
13694
|
const overlaid = buildRevertNewProperties(outcome.changes, desiredProperties, outcome.awsProperties, stateResource.observedProperties === void 0 ? {
|
|
13400
13695
|
preserveUntemplated: true,
|
|
13401
|
-
verbatimKeys: verbatimEchoDriftKeys(outcome.resourceType)
|
|
13402
|
-
|
|
13696
|
+
verbatimKeys: verbatimEchoDriftKeys(outcome.resourceType),
|
|
13697
|
+
absentMeansDefault: noBoundary.absent
|
|
13698
|
+
} : { absentMeansDefault: [...driftAbsentMeansDefaultKeys(provider, outcome.resourceType, stateResource.properties), ...noBoundary.absent] });
|
|
13403
13699
|
const certifiedOverlay = overlayLiveAtUncertifiedPaths(overlaid, [...outcome.uncertifiedPaths, ...outcome.noEchoParameterPaths ?? []], outcome.awsProperties, desiredProperties, secrets, new Set(outcome.changes.map((change) => change.path.split(".", 1)[0] ?? "")), spelledKeysOf(stateResource.properties ?? {}));
|
|
13404
13700
|
const tokenPreserved = unresolvedTokens.size > 0 ? preserveLiveValuesAtUnresolvedTokens(certifiedOverlay, outcome.awsProperties, unresolvedTokens, secrets) : certifiedOverlay;
|
|
13405
13701
|
const maskPreserved = preserveLiveValuesAtMaskedLeaves(tokenPreserved, outcome.awsProperties, secrets, certifiedOverlay, spelledKeysOf(stateResource.properties ?? {}));
|
|
@@ -14279,6 +14575,15 @@ async function retireOne(childName, region, ctx, logger, refusalRecovery) {
|
|
|
14279
14575
|
return result.stateDeleted ? "retired" : "kept";
|
|
14280
14576
|
}
|
|
14281
14577
|
|
|
14578
|
+
// src/cli/commands/destroy-runner/state-and-receiver.ts
|
|
14579
|
+
async function deleteStateAndReceiver(frame, region) {
|
|
14580
|
+
const { ctx, state, stackName, logger } = frame;
|
|
14581
|
+
if (typeof state.signalReceiverStackId === "string") await deleteSignalReceiver((frame.destroyAwsClients ?? ctx.baseAwsClients).cloudFormation, state.signalReceiverStackId, logger);
|
|
14582
|
+
await ctx.stateBackend.deleteState(stackName, region);
|
|
14583
|
+
logger.debug("State deleted");
|
|
14584
|
+
return true;
|
|
14585
|
+
}
|
|
14586
|
+
|
|
14282
14587
|
// src/provisioning/secret-principal-resolution.ts
|
|
14283
14588
|
const TRANSIENT_RESOLUTION_MESSAGE = "Resolving a secret-derived IAM principal list was throttled or hit a server error";
|
|
14284
14589
|
function resolvableVerdict(verdict) {
|
|
@@ -15114,9 +15419,7 @@ async function destroyStackUnderLock({ stackName, state, ctx, logger, result, re
|
|
|
15114
15419
|
const preserveState = result.errorCount > 0 || result.interrupted || result.blockedCount > 0 || result.skippedCount > result.journaledOrphanSkips;
|
|
15115
15420
|
statePreserved = preserveState;
|
|
15116
15421
|
if (!preserveState) {
|
|
15117
|
-
await
|
|
15118
|
-
result.stateDeleted = true;
|
|
15119
|
-
logger.debug("State deleted");
|
|
15422
|
+
result.stateDeleted = await deleteStateAndReceiver(resourceFrame, regionForState);
|
|
15120
15423
|
const writeKept = () => recordRetainedForReadoption(ctx.stateBackend, stackName, regionForState, retainedForReadoption, logger, retainedEarlier).then(() => purgeStateHistoryIfOptedIn(ctx, stackName, regionForState));
|
|
15121
15424
|
const releaseMarker = () => releaseRegistryMarkerAfterDestroy(ctx, stackName, regionForState, logger);
|
|
15122
15425
|
if (ctx.deferRegistryTail !== void 0) {
|
|
@@ -17297,10 +17600,11 @@ function parseTemplateFile(path) {
|
|
|
17297
17600
|
throw new Error(`Template file ${quotedOrNotShown(path)} is not a valid CloudFormation template. cdkd export accepts JSON and YAML (YAML via a CFn-aware codec that preserves !Ref / !GetAtt / !Sub shorthand). Cause: ${safeDetail(err)}`);
|
|
17298
17601
|
}
|
|
17299
17602
|
}
|
|
17300
|
-
async function assertCfnStackAbsent(cfnClient, stackName) {
|
|
17603
|
+
async function assertCfnStackAbsent(cfnClient, stackName, cdkdStackName) {
|
|
17301
17604
|
try {
|
|
17302
17605
|
const stack = (await cfnClient.send(new DescribeStacksCommand({ StackName: stackName }))).Stacks?.[0];
|
|
17303
17606
|
if (!stack) return;
|
|
17607
|
+
if (stackName === cdkdStackName && stack.StackStatus !== "DELETE_COMPLETE" && isReceiver(stack)) return;
|
|
17304
17608
|
throw new Error(`CloudFormation stack ${quotedOrNotShown(stackName)} already exists (status: ${stack.StackStatus ?? "unknown"}). cdkd export only creates new stacks via IMPORT — delete or rename the existing stack first, or pass --cfn-stack-name to choose a different name.`);
|
|
17305
17609
|
} catch (err) {
|
|
17306
17610
|
const msg = describeAwsFailure(err).detail;
|
|
@@ -18274,6 +18578,7 @@ async function buildResolvedParametersPerStack(args) {
|
|
|
18274
18578
|
parameters: parentParamValues,
|
|
18275
18579
|
stackName: parentNode.cdkdName,
|
|
18276
18580
|
stackIdTail: () => stackIdTailOf(parentNode.state, parentNode.cdkdName),
|
|
18581
|
+
stackIdOverride: () => parentNode.state?.signalReceiverStackId,
|
|
18277
18582
|
...args.stateBackend && { stateBackend: args.stateBackend }
|
|
18278
18583
|
};
|
|
18279
18584
|
const { params, intrinsicSkipped } = await resolveChildImportParameters(parentNode.template, parentResolverContext, parentLogicalId, args.resolver);
|
|
@@ -19453,6 +19758,7 @@ async function runPerStackImportPhases(ctx) {
|
|
|
19453
19758
|
}));
|
|
19454
19759
|
const injectedDeletion = injectDeletionPolicyForImport(phase1ATemplate);
|
|
19455
19760
|
if (injectedDeletion > 0) logger.info(` Injected DeletionPolicy: Delete on ${injectedDeletion} resource(s) in ${quotedOrNotShown(plan.cdkdName)} (required by CFn IMPORT; matches CDK/CFn default).`);
|
|
19761
|
+
if (typeof plan.state.signalReceiverStackId === "string" && plan.cfnName === plan.cdkdName) await removeSignalReceiverNamed(deps.cfnClient, plan.cfnName, logger);
|
|
19456
19762
|
try {
|
|
19457
19763
|
await submitImportChangeSet(deps.cfnClient, plan.cfnName, phase1ATemplate, phase1AResources, stackParameters, plan.templateFormat, deps.uploadOpts);
|
|
19458
19764
|
} catch (err) {
|
|
@@ -19548,6 +19854,8 @@ async function runPerStackImportPhases(ctx) {
|
|
|
19548
19854
|
const stateDeletionFailures = [];
|
|
19549
19855
|
for (const node of leafFirst) try {
|
|
19550
19856
|
await removeExportedStackRecord(deps.stateBackend, node.stackName, node.region, logger);
|
|
19857
|
+
const receiverId = perStackPlans.find((p) => p.cdkdName === node.stackName)?.state.signalReceiverStackId;
|
|
19858
|
+
if (typeof receiverId === "string") await deleteSignalReceiver(deps.cfnClient, receiverId, logger);
|
|
19551
19859
|
logger.info(`cdkd state for ${quotedOrNotShown(node.stackName)} (${quotedRegion(node.region)}) removed.`);
|
|
19552
19860
|
} catch (err) {
|
|
19553
19861
|
stateDeletionFailures.push({
|
|
@@ -19675,7 +19983,7 @@ async function runPerStackImportLoop(args) {
|
|
|
19675
19983
|
}
|
|
19676
19984
|
throw new Error(`${totalPhase2Creates} non-importable resource(s) (Custom::*) across the cdkd nested-stack tree. Pass --include-non-importable to run a per-stack 2-phase migration (phase 1 imports the importable resources for each stack; phase 2 CFn-CREATEs the non-importable ones per stack, which re-invokes each Custom Resource's onCreate handler — make sure those are idempotent). Or destroy the Custom Resources first.`);
|
|
19677
19985
|
}
|
|
19678
|
-
for (const plan of perStackPlans) await assertCfnStackAbsent(deps.cfnClient, plan.cfnName);
|
|
19986
|
+
for (const plan of perStackPlans) await assertCfnStackAbsent(deps.cfnClient, plan.cfnName, plan.cdkdName);
|
|
19679
19987
|
if (options.dryRun) {
|
|
19680
19988
|
logger.info("--dry-run: no CloudFormation changesets will be created.");
|
|
19681
19989
|
return {
|
|
@@ -19872,7 +20180,7 @@ async function exportCommand(stackArg, options) {
|
|
|
19872
20180
|
useCdkBootstrapAssets: resolveUseCdkBootstrapAssets(),
|
|
19873
20181
|
...options.profile && { profile: options.profile }
|
|
19874
20182
|
});
|
|
19875
|
-
await assertCfnStackAbsent(awsClients.cloudFormation, cfnStackName);
|
|
20183
|
+
await assertCfnStackAbsent(awsClients.cloudFormation, cfnStackName, resolvedStackName);
|
|
19876
20184
|
const stateData = await stateBackend.getState(resolvedStackName, targetRegion);
|
|
19877
20185
|
if (!stateData) throw new Error(`No cdkd state found for stack ${quotedOrNotShown(resolvedStackName)} (${quotedRegion(targetRegion)}). Nothing to migrate.`);
|
|
19878
20186
|
const { state, etag, migrationPending } = stateData;
|
|
@@ -20035,6 +20343,7 @@ async function exportCommand(stackArg, options) {
|
|
|
20035
20343
|
const phase1Template = filterTemplateForImport(template, phase1Imports);
|
|
20036
20344
|
const injectedCount = injectDeletionPolicyForImport(phase1Template);
|
|
20037
20345
|
if (injectedCount > 0) logger.info(`Injected DeletionPolicy: Delete on ${injectedCount} resource(s) without an explicit DeletionPolicy (required by CFn IMPORT — matches the CDK/CFn default for resources without RemovalPolicy).`);
|
|
20346
|
+
if (typeof state.signalReceiverStackId === "string" && cfnStackName === resolvedStackName) await removeSignalReceiverNamed(awsClients.cloudFormation, cfnStackName, logger);
|
|
20038
20347
|
await executeImportChangeSet(awsClients.cloudFormation, cfnStackName, phase1Template, phase1Imports, cfnParameters, templateFormat, {
|
|
20039
20348
|
stateBucket,
|
|
20040
20349
|
...options.profile && { s3ClientOpts: { profile: options.profile } }
|
|
@@ -20075,6 +20384,7 @@ async function exportCommand(stackArg, options) {
|
|
|
20075
20384
|
${phase2RetryCommand(cfnStackName)}\n 3. Once phase 2 succeeds, clean up cdkd's stale state record.${orphan.note}\n Run: ${orphan.command}`);
|
|
20076
20385
|
}
|
|
20077
20386
|
await removeExportedStackRecord(stateBackend, resolvedStackName, targetRegion, logger);
|
|
20387
|
+
if (typeof state.signalReceiverStackId === "string") await deleteSignalReceiver(awsClients.cloudFormation, state.signalReceiverStackId, logger);
|
|
20078
20388
|
logger.info(`cdkd state for ${quotedOrNotShown(resolvedStackName)} (${quotedRegion(targetRegion)}) removed. Manage the stack with 'cdk deploy' or 'aws cloudformation' from here on.`);
|
|
20079
20389
|
printNextSteps({
|
|
20080
20390
|
cfnStackName,
|
|
@@ -21043,6 +21353,7 @@ async function stateOrphanCommand(stackArgs, options) {
|
|
|
21043
21353
|
for (const target of targets) {
|
|
21044
21354
|
if (target.region) {
|
|
21045
21355
|
await warnOnLiveForeignLock(setup.lockManager, stackName, target.region, logger);
|
|
21356
|
+
await noteOrphanedSignalReceiver(setup.stateBackend, stackName, target.region, logger);
|
|
21046
21357
|
await setup.stateBackend.deleteState(stackName, target.region);
|
|
21047
21358
|
await setup.lockManager.forceReleaseLock(stackName, target.region);
|
|
21048
21359
|
await clearRetainedQuietly(setup.stateBackend, stackName, target.region, logger);
|
|
@@ -21182,6 +21493,13 @@ async function confirmStateOrphanRemoval(prompt, opts) {
|
|
|
21182
21493
|
refusal: opts?.resource ? "The cdkd state orphan confirmation prompt cannot run in a non-interactive environment. Pass -y / --yes to confirm the removal, or run the command from a real terminal." : "The cdkd state orphan confirmation prompt cannot run in a non-interactive environment. Pass -y / --yes (or -f / --force) to confirm the removal, or run the command from a real terminal."
|
|
21183
21494
|
});
|
|
21184
21495
|
}
|
|
21496
|
+
async function noteOrphanedSignalReceiver(stateBackend, stackName, region, logger) {
|
|
21497
|
+
try {
|
|
21498
|
+
const receiver = (await stateBackend.getState(stackName, region))?.state.signalReceiverStackId;
|
|
21499
|
+
if (typeof receiver !== "string") return;
|
|
21500
|
+
logger.info(safeMsg`The stack's CloudFormation signal receiver stack is kept; delete it with: aws cloudformation delete-stack --region ${region} --stack-name '${receiver}'`);
|
|
21501
|
+
} catch {}
|
|
21502
|
+
}
|
|
21185
21503
|
|
|
21186
21504
|
// src/cli/commands/state/destroy.ts
|
|
21187
21505
|
async function protectedRootOf(stackName, state, region, backend) {
|
|
@@ -26444,6 +26762,7 @@ async function resolveImportedProperties(stackState, template, region, stateBack
|
|
|
26444
26762
|
stateBackend,
|
|
26445
26763
|
stackName: stackState.stackName,
|
|
26446
26764
|
stackIdTail: () => stackIdTailOf(stackState, stackState.stackName),
|
|
26765
|
+
stackIdOverride: () => stackState?.signalReceiverStackId,
|
|
26447
26766
|
recordedImports,
|
|
26448
26767
|
recordedOutputReads
|
|
26449
26768
|
};
|
|
@@ -36234,5 +36553,5 @@ function collectVerbFlags(program) {
|
|
|
36234
36553
|
return map;
|
|
36235
36554
|
}
|
|
36236
36555
|
|
|
36237
|
-
export { effectiveInventoryItem as $, tagListsMatch as A, LIFECYCLE_DEFAULT_STATUS as B, reconcileSgRules as C, singleSecurityGroupRuleId as D, sgRuleKey as E, clearLifecycleWritesOf as F, canonicalizeItemList as G, LIFECYCLE_RULE_PATH as H, lifecycleSettleTarget as I, lifecycleUsesFilterForm as J, effectiveLifecycleConfiguration as K, recordLifecycleWrite as L,
|
|
36238
|
-
//# sourceMappingURL=program-
|
|
36556
|
+
export { effectiveInventoryItem as $, tagListsMatch as A, LIFECYCLE_DEFAULT_STATUS as B, reconcileSgRules as C, singleSecurityGroupRuleId as D, sgRuleKey as E, clearLifecycleWritesOf as F, canonicalizeItemList as G, LIFECYCLE_RULE_PATH as H, lifecycleSettleTarget as I, lifecycleUsesFilterForm as J, effectiveLifecycleConfiguration as K, recordLifecycleWrite as L, sgRemovalRuleKey as M, sgRuleListMember as N, stackIngressRuleHolder as O, LIFECYCLE_BASELINE_REREAD_DELAYS_MS as P, effectiveIntelligentTieringItem as Q, settleLifecycleRead as R, narrowIngressIpProtocol as S, securityGroupRuleMatchesCfnIngress as T, LIFECYCLE_TAG_FILTERS_PATH as U, LIFECYCLE_FILTER_PATH as V, canonicalizeBlock as W, EVENTBRIDGE_CONFIG_PATH as X, parseCfnTimestamp as Y, effectiveAnalyticsItem as Z, flattenIpPermissions as _, resolveSecretDerivedPrincipals as a, declaresBucketObjectLock as at, isDefaultEgressRule as b, buildProgram, readSgIngressById as c, isPlainObject as ct, SG_RULE_PAGE_SIZE$1 as d, shownLifecycleRuleId as dt, effectiveNotificationConfiguration as et, authorizeDefinitelyNotApplied as f, descriptionKey as g, comparableIngressIdentity as h, isResolvableSecretPrincipalList as i, configItemId as it, markCopiesAgreed as j, survivingRecordOfRuleId as k, siblingIdOwnedSgRules as l, manualBucketDeletionClause as lt, canonicalizeSgRuleProtocol as m, runDestroyForStack as n, caughtErrorName as nt, refuseRevertRevokingSiblingRules as o, declaresNestedObjectLock as ot, canonicalizeSgInlineRuleProtocols as p, lifecycleRuleScope as q, holdsUnprovenSecretPrincipalToken as r, coerceCfnNumber as rt, sgRuleDiffKey as s, describeValue as st, canonicalizeIpv4Cidr as t, eventBridgeEnabledOf as tt, SG_READBACK_RETRY_DELAY_MS as u, mergeLegacySingular as ut, ingressRuleIdentity as v, securityGroupReadbackDelays as w, isResendableSocketFailure as x, isConnectTimeout as y, takeLifecycleWrite as z };
|
|
36557
|
+
//# sourceMappingURL=program-uYb3oSBF.js.map
|