@cdkd/cli 0.327.1 → 0.329.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/{asg-provider-BfrpNgmc.js → asg-provider-Bd973kBH.js} +3 -3
- package/dist/{asg-provider-BfrpNgmc.js.map → asg-provider-Bd973kBH.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{created-resource-sink-DMf6WEao.js → created-resource-sink-DBYrPwKg.js} +2 -1
- package/dist/created-resource-sink-DBYrPwKg.js.map +1 -0
- package/dist/db-associated-roles-BcKk-mcl.js +115 -0
- package/dist/db-associated-roles-BcKk-mcl.js.map +1 -0
- package/dist/{deploy-engine-CbyJdDJ9.js → deploy-engine-CCqsQYdL.js} +82 -34
- package/dist/deploy-engine-CCqsQYdL.js.map +1 -0
- package/dist/{iam-role-provider-B2NnnJRV.js → iam-role-provider-BNIMjk9E.js} +3 -3
- package/dist/{iam-role-provider-B2NnnJRV.js.map → iam-role-provider-BNIMjk9E.js.map} +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/{neptune-provider-BCk5piH0.js → neptune-provider-CeMr2BVU.js} +28 -60
- package/dist/neptune-provider-CeMr2BVU.js.map +1 -0
- package/dist/{program-BedFSw25.js → program-DCyjI7yc.js} +68 -33
- package/dist/program-DCyjI7yc.js.map +1 -0
- package/dist/{provider-classes-fzllXyoE.js → provider-classes-CfOASAxa.js} +224 -19
- package/dist/provider-classes-CfOASAxa.js.map +1 -0
- package/dist/{rds-provider-BewWvdSe.js → rds-provider-D7gnUnsx.js} +121 -16
- package/dist/rds-provider-D7gnUnsx.js.map +1 -0
- package/dist/{version-CAF9Z54d.js → version-DFQI9iez.js} +2 -2
- package/dist/{version-CAF9Z54d.js.map → version-DFQI9iez.js.map} +1 -1
- package/package.json +1 -1
- package/dist/created-resource-sink-DMf6WEao.js.map +0 -1
- package/dist/db-instance-modify-retry-2tRANTVg.js +0 -44
- package/dist/db-instance-modify-retry-2tRANTVg.js.map +0 -1
- package/dist/deploy-engine-CbyJdDJ9.js.map +0 -1
- package/dist/neptune-provider-BCk5piH0.js.map +0 -1
- package/dist/program-BedFSw25.js.map +0 -1
- package/dist/provider-classes-fzllXyoE.js.map +0 -1
- package/dist/rds-provider-BewWvdSe.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
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-ez_oXu6x.js";
|
|
2
2
|
import { $ as safeMsg, B as SAFE_MSG_ALTERED_CHAR, G as cutMarker, H as STACK_REF_MAX_CODE_POINTS, I as withSkipPrefix, J as displaySafe, K as displayAwsMessage, L as withStackScope, Q as plainIdentOr, S as explicitNamePropertyFor, U as UNRENDERABLE, V as SECRET_REF_MAX_CODE_POINTS, W as asIsMessage, X as isPasteableIdent, Y as displayStackName, _ as PATTERN_B_RESOURCE_TYPES, a as safeStringify, c as isStdoutReservedForPayload, d as runStackBuffered, et as stringifyJsonPayload, g as PATTERN_B_NAME_PROPERTIES, h as PATTERN_B_NAME_OPTIONS, j as isNameGeneration, l as reserveStdoutForPayload, m as getLiveRenderer, n as describeAwsFailure, nt as truncateCodePoints, q as displayIdent, s as getLogger, tt as terminalSafe, w as generateResourceName, x as derivesPatternBName } from "./aws-failure-text-DiHodi76.js";
|
|
3
|
-
import { $t as formatLockExpiry, An as MalformedProducerRecordRefusalError, Ar as isThrottlingError, Bn as formatError, Dn as LocalStartServiceError, Dr as retryClassificationText, En as LocalInvokeBuildError$1, Er as isTransientServerError, Et as logicalIdShown, F as assertRegionMatch, Fn as ResourceUpdateNotSupportedError, Gn as TIMEOUT_FLAG_RESOURCE_TYPE, I as VALUE_NOT_SHOWN, In as StackHasActiveImportsError, Ln as StackTerminationProtectionError, M as RESOURCE_NOT_FOUND, Mn as PartialFailureError, N as isMarkedNotGone, Nn as ProvisioningError, Ot as resourceTypeShown, Pn as ResourceTimeoutError, Qn as pasteableCommand, Qt as forceQuitRecoveryClause, Rn as StateError, Sn as DeployCancelledError, Sr as isAmbiguousOutcomeError, Tn as IntrinsicResolutionRefusalError, Tr as isRetryableTransientError, U as remedyLogicalId, Un as normalizeAwsError, Wn as withErrorHandling, Xt as buildForceUnlockCommand, Yn as commandHole, Yt as UNREPRODUCIBLE_LOCK_CLAUSE, Zn as isInertUnquoted, Zt as buildLockContentionMessage, _r as stripControlChars, _t as beginCommandInterruptScope, an as DEFAULT_STATE_PREFIX, ar as setPasteableRunFlags, bn as CrossAccountSecretRefusalError, bt as isInterruptedWaitError, c as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, cn as producerCoordinateKey, dn as withPasteableAwsProfile, en as formatLockOperation, er as plainOrDescribed, fn as ambientClientDefaults, gn as AccountIdUnavailableError, gr as escapeRegExp, hn as credentialFingerprint, in as CUSTOM_RESOURCE_RESPONSE_PREFIX, ir as withheldTargetClause, it as runDeleteAttempt, jn as NestedStackChildDirectDestroyError, jr as markNonRetryable, kr as isMarkedNonRetryable, ln as producerRecordKey, mn as clientDefaultsFor, nr as shellBoundedDisplay, on as injectiveKey, or as setPasteableVerbFlags, p as readRecordedPrincipals, pn as ambientCredentialConfig, qn as SHELL_ACTIVE_WHY, rr as shellQuote, s as IAM_PRINCIPAL_NAME, tn as formatLockOwner, tr as quotedOrDescribed, un as setPasteableAwsProfile, ut as isAwsCliLiteral, vn as CdkdError, vr as stripForDisplay, vt as endCommandInterruptScope, wn as DynamicReferenceRegionAmbiguousError, yt as interruptWatchListenerCount, zn as SynthesisError } from "./created-resource-sink-
|
|
3
|
+
import { $t as formatLockExpiry, An as MalformedProducerRecordRefusalError, Ar as isThrottlingError, Bn as formatError, Dn as LocalStartServiceError, Dr as retryClassificationText, En as LocalInvokeBuildError$1, Er as isTransientServerError, Et as logicalIdShown, F as assertRegionMatch, Fn as ResourceUpdateNotSupportedError, Gn as TIMEOUT_FLAG_RESOURCE_TYPE, I as VALUE_NOT_SHOWN, In as StackHasActiveImportsError, Ln as StackTerminationProtectionError, M as RESOURCE_NOT_FOUND, Mn as PartialFailureError, N as isMarkedNotGone, Nn as ProvisioningError, Ot as resourceTypeShown, Pn as ResourceTimeoutError, Qn as pasteableCommand, Qt as forceQuitRecoveryClause, Rn as StateError, Sn as DeployCancelledError, Sr as isAmbiguousOutcomeError, Tn as IntrinsicResolutionRefusalError, Tr as isRetryableTransientError, U as remedyLogicalId, Un as normalizeAwsError, Wn as withErrorHandling, Xt as buildForceUnlockCommand, Yn as commandHole, Yt as UNREPRODUCIBLE_LOCK_CLAUSE, Zn as isInertUnquoted, Zt as buildLockContentionMessage, _r as stripControlChars, _t as beginCommandInterruptScope, an as DEFAULT_STATE_PREFIX, ar as setPasteableRunFlags, bn as CrossAccountSecretRefusalError, bt as isInterruptedWaitError, c as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, cn as producerCoordinateKey, dn as withPasteableAwsProfile, en as formatLockOperation, er as plainOrDescribed, fn as ambientClientDefaults, gn as AccountIdUnavailableError, gr as escapeRegExp, hn as credentialFingerprint, in as CUSTOM_RESOURCE_RESPONSE_PREFIX, ir as withheldTargetClause, it as runDeleteAttempt, jn as NestedStackChildDirectDestroyError, jr as markNonRetryable, kr as isMarkedNonRetryable, ln as producerRecordKey, mn as clientDefaultsFor, nr as shellBoundedDisplay, on as injectiveKey, or as setPasteableVerbFlags, p as readRecordedPrincipals, pn as ambientCredentialConfig, qn as SHELL_ACTIVE_WHY, rr as shellQuote, s as IAM_PRINCIPAL_NAME, tn as formatLockOwner, tr as quotedOrDescribed, un as setPasteableAwsProfile, ut as isAwsCliLiteral, vn as CdkdError, vr as stripForDisplay, vt as endCommandInterruptScope, wn as DynamicReferenceRegionAmbiguousError, yt as interruptWatchListenerCount, zn as SynthesisError } from "./created-resource-sink-DBYrPwKg.js";
|
|
4
4
|
import { a as setAssumedRoleCredentials, d as formatAuthority, i as getPreAssumeEnvCredentials, n as awsClientDefaults, r as getAssumedRoleCredentials, u as runInStackAwsScope } from "./aws-client-defaults-BLXFsfMa.js";
|
|
5
|
-
import { $a as recordedReferenceRegions, $c as createUnionSecretMasker, $l as exportNamesCarriedFrom, $n as nameGenerationCarriedFrom, $o as malformedOrphanRecordsWarning, $r as addSuperseded, $s as findReplacedReadersOfRecreateTargets, $t as deleteJournaledOrphans, $u as synthesisStatusMessage, Ad as defineOwnKey, Ai as createPreDeleteFinalSnapshot, Al as recordMaskOnlyValue, An as equalModuloMarkedMask, Ao as parameterInputsFor, Ar as formatDestructiveChange, As as refuseMalformedResourcePropertiesForExport, At as isSecretBearingReferenceString, Au as validateContainerRepoName, Ba as poisonRenderedSpellingsCollidingIn, Bc as noEchoLeavesOf, Bd as injectAwsRegion, Bi as DeploymentEventsReader, Bl as S3StateBackend, Bn as replacementNeverSwapped, Bo as displayLogicalId, Br as proposeRenames, Bs as repairMalformedResourcePropertiesForReadOnly, Bt as NESTED_PENDING_PARENT_REASON, Bu as getDockerCmd, Cc as withRetry, Cd as derivePartitionAndUrlSuffix, Ci as secretNamedRecordNeedles, Cn as replayFailedOperations, Co as AWS_NO_VALUE, Cr as isExportAliasCollision, Cs as refuseMalformedResourceEntriesForDeploy, Ct as conditionInputsFrom, Cu as assertAssetBucketRegion, Dd as describeJsonParseFailure, Di as PRE_DELETE_SNAPSHOT_TYPES, Dl as splitGetAttStringForm, Dn as settleUnsettledPrevious, Do as refStateLookupFromResource, Dr as maskingRetryLogger, Ds as refuseMalformedResourceEntriesForOrphan, Du as parseBootstrapMarker, Ed as processStackMessages, Ei as ATOMIC_FINAL_SNAPSHOT_TYPES, El as recordPhysicalNameCopy, En as recordAfterRollbackUpdate, Eo as lacksRecordedTableArn, Er as DEFAULT_RESOURCE_WARN_AFTER_MS, Es as refuseMalformedResourceEntriesForImportSave, Eu as isCrossRegionRedirect, Fa as unsettledItemsOf, Fc as maskAtCoordinates, Fd as absoluteAssemblyPathEscape, Fl as wholeStringLeavesOf, Fn as isReplacementOrphan, Fo as STATE_RESOURCES_MALFORMED, Fr as withMovedTo, Fs as refuseMalformedState, Ft as planOrphanAdoption, Fu as describeDockerExecFailure, Gc as recordedNoEchoValuesOf, Gl as crossPrefixDeniedWarning, Go as isReadableResourceEntry, Gr as withStackRecords, Gs as withheldAccountClause, Gt as nestedChildStackName$1, Gu as redactedCause, Hi as extractDeploymentEventError, Hl as CrossPrefixReadError, Hn as seedsDeleteFirstGuard, Ho as hasReadableOutputs, Hs as unpreviewableOrphanRecords, Ht as displacedPhysicalIdShown, Hu as isMalformedEnvKey, Ia as unsettledPropertiesOf, Ic as maskReadbackAtCoordinates, Id as describeFileReadFailure, Ii as ledgerForStack, Il as WHOLE_DYNAMIC_REFERENCE_PATTERN, In as planFailedOps, Io as UNREADABLE_ORPHANS_CONTAINER_ROW, Ir as isPairableType, Is as repairMalformedOrphanRecordsForReadOnly, It as pendingRequestCount, Iu as describeDockerFailure, Ja as producerLookupOver, Jl as stackInstanceIdOf, Jo as malformedExportSourceWarning, Jr as cyan, Jt as revertedNestedRowIds, Ju as runDockerStreaming, Kc as valueAtCoordinate, Kl as isAccessDenied, Kn as inheritProducerRegions, Ko as malformedDriftResourcePropertiesWarning, Ks as findActionableSdkUnwired, Kt as recordDisplacedSkips, Ku as redactedDockerCause, La as withUnsettledProperties, Lc as maskWholeValue, Ld as displayAssemblyPath, Ll as isSingleDynamicReferenceToken, Ln as planRollback, Lo as UNREADABLE_RESOURCES_MAP_ROW, Lr as looselyEqual, Ls as repairMalformedOrphansForReadOnly, Lt as resolvePendingCloudControlRequests, Lu as dockerSpawnEnvWithSensitive, Ma as INTRINSIC_KEYS, Mc as TemplateParser, Md as hasPlainPrototype, Mi as isFinalSnapshotError, Ml as recordNoEchoAttributeValues, Mn as undeclaredEmptyObservedKeys, Mo as declaresNoEcho, Mr as hintSidesOf, Ms as refuseMalformedResourcesForDeploy, Mt as mergeNoChangeOutputs, Mu as buildDockerImage, Nc as canonicalCoordinates, Nd as nullPrototypeRecord, Ni as refusesFinalSnapshot, Nl as recordNoEchoParameterFreshValue, Nn as demoteSupersededOrphans, No as JSON_LISTING_HOLE_VALUE, Nr as movedToHint, Ns as refuseMalformedResourcesForDestroy, Nt as makeCanonicalizePropertiesFn, Nu as resolveDockerContextDirectory, Od as parseFailureDebugDetail, Oi as buildFinalSnapshotIdentifier, Ol as carriesSecretMask, On as withUnprovenUnsettled, Or as constructPathOf$1, Os as refuseMalformedResourcePropertiesForDestroy, Ot as withResourceDeadline, Ou as readBootstrapMarkerBody, Pa as unsettledItemsField, Pc as isMarkedCoordinate, Pd as ownValue, Pi as unsupportedFinalSnapshotError, Pl as recordProvenPublicExpression, Pn as isJournaledOrphan, Po as STATE_REGION_DIVERGED, Pr as rollbackOrphanIds, Ps as refuseMalformedResourcesForExport, Pt as makeSiblingClaimReader, Pu as describeDockerCapturedOutput, Qa as recordedOutputReferenceRegions, Qc as carryLogOnlyValues, Ql as describeRegionValueKind, Qn as updatePartialReason, Qo as malformedOrphanRecordsRefusalMessage, Qr as yellow, Qs as hasNoCloudControlHandlers, Qt as withNestedStackContext, Qu as Synthesizer, Ra as withoutUnsettledProperties, Rc as maskedLeafCoordinatesOf, Rd as renderAssemblyPathEscape, Ri as withCreateTokenLedger, Rl as LockManager, Rn as recheckFailedPlan, Ro as accountArgs, Rr as mappingPairs, Rs as repairMalformedOutputsForReadOnly, Rt as keptForRetainedRecord, Ru as finchSecretArgvRefusal, Sa as deleteSkipReason, Sc as describeTypeWithThrottleRetry, Sd as canonicalizeRegion, Sl as recordNestedStackParameterExpressions, Sn as refusePendingMovesOut, So as keepsSecretReferenceToken, Sr as collectPublishedOutputNames, Ss as refuseMalformedResourceEntries, St as conditionFingerprint, Su as BOOTSTRAP_MARKER_PREFIX, Td as StageLoadError, Ti as storedSecretNameNeedles, Tn as removeProtectionTypeList, To as isStalePlaceholderArnAttribute, Tr as DEFAULT_RESOURCE_TIMEOUT_MS, Ts as refuseMalformedResourceEntriesForImport, Tt as readRecordedConditionVerdicts, Tu as getBootstrapMarkerKey, Uc as readbackPathFor, Ud as resolveBucketRegion, Ul as CrossPrefixScanCache, Un as orphanNeedsIdentity, Uo as hasReadableResources, Ur as destroyStackRecordsView, Us as unreadableOrphanRecords, Ut as dropSettledNestedJournals, Uu as partitionSensitiveEnv, Vc as noEchoOutputsComparison, Vd as injectedAwsRegionValue, Vi as DeploymentEventsStore, Vl as rebuildClientForBucketRegion, Vn as resolveReplacementOldType, Vo as hasReadableOrphans, Vs as repairMalformedResourcesForReadOnly, Vt as displacedOpClause, Vu as isDockerClientEnvKey, Wc as readsNoEchoSource, Wl as applyCrossPrefixScan, Wn as findNestedStackTypeChanges, Wo as isReadableOrphanRecord, Ws as unreadableResourceEntries, Wu as redactDockerArgvValues, Xa as keepHeldTokenProvenance, Xl as splitImportedOps, Xo as malformedLocalResourceEntriesWarning, Xr as green, Xt as collectNestedChildUnaddressed, Xu as AssetManifestLoader, Ya as refuseUnreadableCdkCrossAccountRefs, Yc as redactForState, Yl as withStackInstanceIdWithheld, Yo as malformedLocalOutputsWarning, Yr as gray, Ys as unwrittenCreateOnlyReplacement, Yt as withNestedRevertRun, Yu as warnFinchArgvExposure, Zl as acceptedCreateOnlyDropsOf, Zn as updatePartialMessage, Zo as malformedLocalResourcesWarning, Zr as red, Zs as NO_CC_HANDLERS_REASON, Zt as getCurrentNestedStackContext, Zu as getDockerImageBySourceHash, _d as uploadCfnTemplate, _i as maskEventTextWithBoundBags, _l as isUncertifiedBaselineMaskPosition, _n as sameMove, _o as getAccountInfo, _r as exportNameNoEchoParameters, _s as refuseMalformedOrphansForDestroy, _t as findNestedTemplateTreeDefect, _u as buildAssetRedirectMap, a as isProtectionValueActive, ad as resolveCaptureObservedState, ai as supersededHeldByOtherTypeWarning, al as recordLogOnlyValue, an as makeForeignHolderScan, ao as sendableAssumeRoleCommand, ar as withNameGenerationReached, as as malformedRenderedContainersWarning, au as isReadableBag, ba as deleteIndeterminateGuards, bc as prefetchCreateOnlyPropertyPaths, bd as expectedOwnerParam, bi as secretNamePrintingBag, bl as identityKeyFor, bn as pendingMovesOutOf, bo as carriesFetchableDynamicReference, br as noEchoParameterValueSeed, bs as refuseMalformedOutputsForDestroy, bt as renderNestedTemplateTreeDefect, bu as rewriteTemplateAssetReferences, ca as isCustomResourceType$1, cd as resolveStateBucketWithDefaultAndSource, ci as withoutSuperseded, cl as createSecretMasker, co as callerEnvCredentials, cr as reachableDivergentParameters, cs as malformedResourcesWarning, cu as shouldRetainResource, da as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, dd as warnDeprecatedNoPrefixCliFlag, di as noEchoExactEchoLeavesOf, dl as maskSecretsInText, do as classifyReplaySecretRegion, dr as displayTextOrWithheld, ds as previewableOrphanRecords, dt as crossStackOutputProvenanceSource, du as renderPhaseTimings, ea as CC_BROKEN_REASON, ec as shownType, ed as getDefaultStateBucketName, ei as deleteSupersededEntry, el as hasMaskableValues, en as dropFailedCommands, eo as applyRoleArnIfSet, er as nameGenerationHighWaterOf, es as malformedOrphanRowsKeptWarning, eu as hasReadableExportSet, fa as applyCustomResourceResponseExpiration, fd as ssmResolvedValueType, fi as noEchoParameterNamesOf, fl as scrubResourceRecord, fn as readRefactorMarker, fo as producerRegionsFromState, fr as exportAliasCollisionScrubWarning, fs as refuseDivergentRecordRegionForDestroy, ft as inheritedProvenanceForChildDiff, fu as timePhase, gd as findLargeInlineResources, gi as journaledOrphanPrintingBag, gl as dynamicReferenceTokens, gn as refuseRefactorMarker, go as parameterTypeMayLoseSecretIdentity, gr as carriedExportAliasExposure, gs as refuseMalformedOrphans, gt as childTemplateLoader, gu as WorkGraph, ha as slowCcOperationTimeoutMs, hd as MIGRATE_TMP_PREFIX, hi as completedReplayEntries, hl as DYNAMIC_REFERENCE_TOKEN_SCAN, hn as refactorMarkerRefusalMessage, ho as isUnboundTemplateParameter, hr as secretSafeKeyDisplay, hs as refuseMalformedOrphanRecordsForDestroy, ht as serviceTokenBlockingReason, hu as stringifyValue, i as PROTECTION_PROPERTY_BY_TYPE, ia as wouldReturnToSdkProvider, ic as renderStatefulReason, id as resolveAutoAssetStorage, ii as supersededAfterRollback, il as recordLogOnlyParameterValue, in as loadJournaledOrphans, io as isIamRoleArn, ir as retiredNameGenerationsLeaving, is as malformedOutputsWarning, iu as importableOutputs, j as setResolvedResourceTimeouts, ja as DiffCalculator, jc as DagBuilder, jd as hasOwnKey, ji as effectiveDeletionPolicy, jl as recordMaskOnlyValuesIn, jn as equalModuloMask, jr as findRefactorHints, js as refuseMalformedResourcePropertiesForOrphan, jt as keptWholeReasonText, ju as buildDenyExternalAccessPolicy, kd as utf8ByteLength, ki as ccRoutedFinalSnapshotError, kl as provenPublicValue, kn as calculateResourceDrift, ko as withSharedDrainBudget, kr as findDestructiveChanges, ks as refuseMalformedResourcePropertiesForDrift, kt as diffSecurity, ku as validateAssetBucketName, ld as resolveUseCdkBootstrapAssets, li as noEchoAttributeNamesOf, ll as errorCauseChain, lo as envCredentialsAreAssumedRole, lr as resourcesNamingDeclaredParameter, ls as malformedScrubResourceEntriesRefusalMessage, lt as IMPLICIT_DELETE_DEPENDENCIES, lu as stackInstanceIdCarriedFrom, ma as CloudControlProvider, md as CFN_TEMPLATE_URL_LIMIT, mi as createReadOnlyAttributeHealerFactory, mn as refactorMarkerMovesOf, mo as coerceParameterTypedValue, mr as secretBearingStateKeyWarning, ms as refuseMalformedOrphanRecords, mt as findServiceTokenRefusals, mu as isSensitiveAttributeName, n as recordedProtectionEvidence, na as ccBrokenReason, nc as isStatefulRecreateTargetForReplace, nd as loadCdkJson, ni as isSupersededResourceRecord, nl as logOnlyValueCount, nn as isHandledOrphan, no as assertSendableRoleArn, nr as retiredAfterRollback, ns as malformedOrphansWarning, nu as hasUnverifiableParameterRefusal, o as perType, oa as TemplateNoEchoReresolver, od as resolveSkipPrefix, oi as supersededHolderOf, ol as shareLogOnlyValues, on as sameJournaledOrphans, oo as AWS_CREDENTIAL_ENV_KEYS, or as computeParameterTaint, os as malformedResourceEntriesWarning, ou as orphansAfterRollback, pa as customResourceResponseExpirationWarning, pd as CFN_TEMPLATE_BODY_LIMIT, pi as withAttemptedItemsMasked, pl as withPhysicalNameCopies, pn as readRefactorMarkerOnce, po as regionLessSecretName, pr as secretBearing, pt as deferredServiceTokenWarning, pu as AssetPublisher, qa as resolveDynamicReferences, qc as liveMatchesUnresolvedTokenFrame, ql as isNotImplemented, qo as malformedExportNamesWarning, qr as bold, qs as findHandledUnwrittenCreateOnly, qu as runDockerForeground, r as recordedProtectionNote, ra as isCustomResource, rc as isStatefulRecreateTargetSync, rd as resolveApp, ri as removeSuperseded, rl as printingCorpusOf, rn as journaledOrphanLines, ro as explicitRoleArnOrThrow, rr as retiredNameGenerationsAfter, rs as malformedOutputsRefusalMessage, ru as importableOutputKeys, s as readProtection, sa as readsNoEchoDeleteValues, sd as resolveStateBucketWithDefault, si as supersededResourcesOf, sl as unionOfSecretBags, sn as formatResourceLine, so as applyCallerIdentityCredentials, sr as namesAnyDeclaredParameter, ss as malformedResourcePropertiesWarning, su as orphansCarriedFrom, t as DeployEngine, ta as ProviderRegistry, tc as MULTI_REGION_RECREATE_BLOCKED_TYPES, td as getLegacyStateBucketName, ti as holdsSupersededResources, tl as literalSplitDelimitersOf, tn as dropFailedHint, to as assertFlagRoleArn, tr as nameScopeOf, ts as malformedOrphansRefusalMessage, tu as hasReasonlessBaselineRefusal, ua as withPrintingSecrets, uc as coerceCfnBoolean, ud as stateBucketExistenceConfirmed, ui as noEchoComparisonForTemplate, ul as maskSecretsInError, uo as classifyRecordedSecretRegion, ur as WITHHELD_NAME_DISPLAY, us as malformedStateRefusalMessage, ut as computeImplicitDeleteEdges, uu as PhaseClock, va as RollbackInlinePolicyWriters, vd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, vi as namingSecretsWithRecordedNoEcho, vl as pathCrossesDottedKey, vn as updateRefactorMarker, vo as isImpossibleEmptyStoredAttribute, vr as exportNameSecretExposure, vs as refuseMalformedOrphansForOrphan, vt as isAbsoluteAssetPath, vu as createAssetRedirectResolver, wa as isWaitAbandonedError, wd as AssemblyReader, wi as stateSecretNameNeedles, wl as physicalNameCopiesOf, wn as replayRollback, wo as cfnRefValueFromPhysicalId, wr as bindingSkippedOutputs, ws as refuseMalformedResourceEntriesForDestroy, wt as parentSuppliedValues, wu as ensureAssetStorage, xa as deleteLeftInPlace, xc as templateResourceTypes, xd as PARTITION_TABLE, xi as secretNamePrintingBags, xl as inheritNestedStackParameterAssociations, xn as pendingMovesRefusalMessage, xo as isNamelessDynamicReferenceError, xr as collectDeclaredOutputNames, xs as refuseMalformedResourceAttributesForOrphan, xt as templateIdentity, xu as AssetModeResolver, ya as UNSPECIFIED_SKIP_REASON, yd as decodeListingKey, yi as orphanRecordsPrintingBag, yl as spelledKeysOf, yn as hasPendingMovesOut, yo as carriesDynamicReference, yr as isWholeDynamicReferenceValue, ys as refuseMalformedOutputs, yt as listNestedTemplateRows, yu as loadPublishableAssetManifest, za as IntrinsicFunctionResolver, zc as noEchoCoordinatesOf, zd as resolveAssemblyPath, zl as isLockInfoExpired, zn as recordUnderIdIsNotOwn, zo as deployRefusesOrphanRowsReason, zr as parseMappingFile, zs as repairMalformedResourceEntriesForReadOnly, zt as recordRetainedForReadoption, zu as formatDockerLoginError } from "./deploy-engine-CbyJdDJ9.js";
|
|
6
|
-
import { t as getCdkdVersion } from "./version-
|
|
5
|
+
import { $a as recordedReferenceRegions, $c as createUnionSecretMasker, $l as exportNamesCarriedFrom, $n as nameGenerationCarriedFrom, $o as malformedOrphanRecordsWarning, $r as addSuperseded, $s as findReplacedReadersOfRecreateTargets, $t as deleteJournaledOrphans, $u as synthesisStatusMessage, Ad as utf8ByteLength, Ai as createPreDeleteFinalSnapshot, Al as recordMaskOnlyValue, An as equalModuloMarkedMask, Ao as parameterInputsFor, Ar as formatDestructiveChange, As as refuseMalformedResourcePropertiesForExport, At as isSecretBearingReferenceString, Au as validateContainerRepoName, Ba as poisonRenderedSpellingsCollidingIn, Bc as noEchoLeavesOf, Bd as resolveAssemblyPath, Bi as DeploymentEventsReader, Bl as S3StateBackend, Bn as replacementNeverSwapped, Bo as displayLogicalId, Br as proposeRenames, Bs as repairMalformedResourcePropertiesForReadOnly, Bt as NESTED_PENDING_PARENT_REASON, Bu as getDockerCmd, Cc as withRetry, Cd as derivePartitionAndUrlSuffix, Ci as secretNamedRecordNeedles, Cn as replayFailedOperations, Co as AWS_NO_VALUE, Cr as isExportAliasCollision, Cs as refuseMalformedResourceEntriesForDeploy, Ct as conditionInputsFrom, Cu as assertAssetBucketRegion, Dd as processStackMessages, Di as PRE_DELETE_SNAPSHOT_TYPES, Dl as splitGetAttStringForm, Dn as settleUnsettledPrevious, Do as refStateLookupFromResource, Dr as maskingRetryLogger, Ds as refuseMalformedResourceEntriesForOrphan, Du as parseBootstrapMarker, Ed as StageLoadError, Ei as ATOMIC_FINAL_SNAPSHOT_TYPES, El as recordPhysicalNameCopy, En as recordAfterRollbackUpdate, Eo as lacksRecordedTableArn, Er as DEFAULT_RESOURCE_WARN_AFTER_MS, Es as refuseMalformedResourceEntriesForImportSave, Eu as isCrossRegionRedirect, Fa as unsettledItemsOf, Fc as maskAtCoordinates, Fd as ownValue, Fl as wholeStringLeavesOf, Fn as isReplacementOrphan, Fo as STATE_RESOURCES_MALFORMED, Fr as withMovedTo, Fs as refuseMalformedState, Ft as planOrphanAdoption, Fu as describeDockerExecFailure, Gc as recordedNoEchoValuesOf, Gl as crossPrefixDeniedWarning, Go as isReadableResourceEntry, Gr as withStackRecords, Gs as withheldAccountClause, Gt as nestedChildStackName$1, Gu as redactedCause, Hd as injectedAwsRegionValue, Hi as extractDeploymentEventError, Hl as CrossPrefixReadError, Hn as seedsDeleteFirstGuard, Ho as hasReadableOutputs, Hs as unpreviewableOrphanRecords, Ht as displacedPhysicalIdShown, Hu as isMalformedEnvKey, Ia as unsettledPropertiesOf, Ic as maskReadbackAtCoordinates, Id as absoluteAssemblyPathEscape, Ii as ledgerForStack, Il as WHOLE_DYNAMIC_REFERENCE_PATTERN, In as planFailedOps, Io as UNREADABLE_ORPHANS_CONTAINER_ROW, Ir as isPairableType, Is as repairMalformedOrphanRecordsForReadOnly, It as pendingRequestCount, Iu as describeDockerFailure, Ja as producerLookupOver, Jl as stackInstanceIdOf, Jo as malformedExportSourceWarning, Jr as cyan, Jt as revertedNestedRowIds, Ju as runDockerStreaming, Kc as valueAtCoordinate, Kl as isAccessDenied, Kn as inheritProducerRegions, Ko as malformedDriftResourcePropertiesWarning, Ks as findActionableSdkUnwired, Kt as recordDisplacedSkips, Ku as redactedDockerCause, La as withUnsettledProperties, Lc as maskWholeValue, Ld as describeFileReadFailure, Ll as isSingleDynamicReferenceToken, Ln as planRollback, Lo as UNREADABLE_RESOURCES_MAP_ROW, Lr as looselyEqual, Ls as repairMalformedOrphansForReadOnly, Lt as resolvePendingCloudControlRequests, Lu as dockerSpawnEnvWithSensitive, Ma as INTRINSIC_KEYS, Mc as TemplateParser, Md as hasOwnKey, Mi as isFinalSnapshotError, Ml as recordNoEchoAttributeValues, Mn as undeclaredEmptyObservedKeys, Mo as declaresNoEcho, Mr as hintSidesOf, Ms as refuseMalformedResourcesForDeploy, Mt as mergeNoChangeOutputs, Mu as buildDockerImage, Nc as canonicalCoordinates, Nd as hasPlainPrototype, Ni as refusesFinalSnapshot, Nl as recordNoEchoParameterFreshValue, Nn as demoteSupersededOrphans, No as JSON_LISTING_HOLE_VALUE, Nr as movedToHint, Ns as refuseMalformedResourcesForDestroy, Nt as makeCanonicalizePropertiesFn, Nu as resolveDockerContextDirectory, Od as describeJsonParseFailure, Oi as buildFinalSnapshotIdentifier, Ol as carriesSecretMask, On as withUnprovenUnsettled, Or as constructPathOf$1, Os as refuseMalformedResourcePropertiesForDestroy, Ot as withResourceDeadline, Ou as readBootstrapMarkerBody, Pa as unsettledItemsField, Pc as isMarkedCoordinate, Pd as nullPrototypeRecord, Pi as unsupportedFinalSnapshotError, Pl as recordProvenPublicExpression, Pn as isJournaledOrphan, Po as STATE_REGION_DIVERGED, Pr as rollbackOrphanIds, Ps as refuseMalformedResourcesForExport, Pt as makeSiblingClaimReader, Pu as describeDockerCapturedOutput, Qa as recordedOutputReferenceRegions, Qc as carryLogOnlyValues, Ql as describeRegionValueKind, Qn as updatePartialReason, Qo as malformedOrphanRecordsRefusalMessage, Qr as yellow, Qs as hasNoCloudControlHandlers, Qt as withNestedStackContext, Qu as Synthesizer, Ra as withoutUnsettledProperties, Rc as maskedLeafCoordinatesOf, Rd as displayAssemblyPath, Ri as withCreateTokenLedger, Rl as LockManager, Rn as recheckFailedPlan, Ro as accountArgs, Rr as mappingPairs, Rs as repairMalformedOutputsForReadOnly, Rt as keptForRetainedRecord, Ru as finchSecretArgvRefusal, Sa as deleteSkipReason, Sc as describeTypeWithThrottleRetry, Sd as canonicalizeRegion, Sl as recordNestedStackParameterExpressions, Sn as refusePendingMovesOut, So as keepsSecretReferenceToken, Sr as collectPublishedOutputNames, Ss as refuseMalformedResourceEntries, St as conditionFingerprint, Su as BOOTSTRAP_MARKER_PREFIX, Td as AssemblyReader, Ti as storedSecretNameNeedles, Tn as removeProtectionTypeList, To as isStalePlaceholderArnAttribute, Tr as DEFAULT_RESOURCE_TIMEOUT_MS, Ts as refuseMalformedResourceEntriesForImport, Tt as readRecordedConditionVerdicts, Tu as getBootstrapMarkerKey, Uc as readbackPathFor, Ul as CrossPrefixScanCache, Un as orphanNeedsIdentity, Uo as hasReadableResources, Ur as destroyStackRecordsView, Us as unreadableOrphanRecords, Ut as dropSettledNestedJournals, Uu as partitionSensitiveEnv, Vc as noEchoOutputsComparison, Vd as injectAwsRegion, Vi as DeploymentEventsStore, Vl as rebuildClientForBucketRegion, Vn as resolveReplacementOldType, Vo as hasReadableOrphans, Vs as repairMalformedResourcesForReadOnly, Vt as displacedOpClause, Vu as isDockerClientEnvKey, Wc as readsNoEchoSource, Wd as resolveBucketRegion, Wl as applyCrossPrefixScan, Wn as findNestedStackTypeChanges, Wo as isReadableOrphanRecord, Ws as unreadableResourceEntries, Wu as redactDockerArgvValues, Xa as keepHeldTokenProvenance, Xl as splitImportedOps, Xo as malformedLocalResourceEntriesWarning, Xr as green, Xt as collectNestedChildUnaddressed, Xu as AssetManifestLoader, Ya as refuseUnreadableCdkCrossAccountRefs, Yc as redactForState, Yl as withStackInstanceIdWithheld, Yo as malformedLocalOutputsWarning, Yr as gray, Ys as unwrittenCreateOnlyReplacement, Yt as withNestedRevertRun, Yu as warnFinchArgvExposure, Zl as acceptedCreateOnlyDropsOf, Zn as updatePartialMessage, Zo as malformedLocalResourcesWarning, Zr as red, Zs as NO_CC_HANDLERS_REASON, Zt as getCurrentNestedStackContext, Zu as getDockerImageBySourceHash, _d as uploadCfnTemplate, _i as maskEventTextWithBoundBags, _l as isUncertifiedBaselineMaskPosition, _n as sameMove, _o as getAccountInfo, _r as exportNameNoEchoParameters, _s as refuseMalformedOrphansForDestroy, _t as findNestedTemplateTreeDefect, _u as buildAssetRedirectMap, a as isProtectionValueActive, ad as resolveCaptureObservedState, ai as supersededHeldByOtherTypeWarning, al as recordLogOnlyValue, an as makeForeignHolderScan, ao as sendableAssumeRoleCommand, ar as withNameGenerationReached, as as malformedRenderedContainersWarning, au as isReadableBag, ba as deleteIndeterminateGuards, bc as prefetchCreateOnlyPropertyPaths, bd as expectedOwnerParam, bi as secretNamePrintingBag, bl as identityKeyFor, bn as pendingMovesOutOf, bo as carriesFetchableDynamicReference, br as noEchoParameterValueSeed, bs as refuseMalformedOutputsForDestroy, bt as renderNestedTemplateTreeDefect, bu as rewriteTemplateAssetReferences, ca as isCustomResourceType$1, cd as resolveStateBucketWithDefaultAndSource, ci as withoutSuperseded, cl as createSecretMasker, co as callerEnvCredentials, cr as reachableDivergentParameters, cs as malformedResourcesWarning, cu as shouldRetainResource, da as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, dd as warnDeprecatedNoPrefixCliFlag, di as noEchoExactEchoLeavesOf, dl as maskSecretsInText, do as classifyReplaySecretRegion, dr as displayTextOrWithheld, ds as previewableOrphanRecords, dt as crossStackOutputProvenanceSource, du as renderPhaseTimings, ea as CC_BROKEN_REASON, ec as shownType, ed as getDefaultStateBucketName, ei as deleteSupersededEntry, el as hasMaskableValues, en as dropFailedCommands, eo as applyRoleArnIfSet, er as nameGenerationHighWaterOf, es as malformedOrphanRowsKeptWarning, eu as hasReadableExportSet, fa as applyCustomResourceResponseExpiration, fd as ssmResolvedValueType, fi as noEchoParameterNamesOf, fl as scrubResourceRecord, fn as readRefactorMarker, fo as producerRegionsFromState, fr as exportAliasCollisionScrubWarning, fs as refuseDivergentRecordRegionForDestroy, ft as inheritedProvenanceForChildDiff, fu as timePhase, gd as findLargeInlineResources, gi as journaledOrphanPrintingBag, gl as dynamicReferenceTokens, gn as refuseRefactorMarker, go as parameterTypeMayLoseSecretIdentity, gr as carriedExportAliasExposure, gs as refuseMalformedOrphans, gt as childTemplateLoader, gu as WorkGraph, ha as slowCcOperationTimeoutMs, hd as MIGRATE_TMP_PREFIX, hi as completedReplayEntries, hl as DYNAMIC_REFERENCE_TOKEN_SCAN, hn as refactorMarkerRefusalMessage, ho as isUnboundTemplateParameter, hr as secretSafeKeyDisplay, hs as refuseMalformedOrphanRecordsForDestroy, ht as serviceTokenBlockingReason, hu as stringifyValue, i as PROTECTION_PROPERTY_BY_TYPE, ia as wouldReturnToSdkProvider, ic as renderStatefulReason, id as resolveAutoAssetStorage, ii as supersededAfterRollback, il as recordLogOnlyParameterValue, in as loadJournaledOrphans, io as isIamRoleArn, ir as retiredNameGenerationsLeaving, is as malformedOutputsWarning, iu as importableOutputs, j as setResolvedResourceTimeouts, ja as DiffCalculator, jc as DagBuilder, jd as defineOwnKey, ji as effectiveDeletionPolicy, jl as recordMaskOnlyValuesIn, jn as equalModuloMask, jr as findRefactorHints, js as refuseMalformedResourcePropertiesForOrphan, jt as keptWholeReasonText, ju as buildDenyExternalAccessPolicy, kd as parseFailureDebugDetail, ki as ccRoutedFinalSnapshotError, kl as provenPublicValue, kn as calculateResourceDrift, ko as withSharedDrainBudget, kr as findDestructiveChanges, ks as refuseMalformedResourcePropertiesForDrift, kt as diffSecurity, ku as validateAssetBucketName, ld as resolveUseCdkBootstrapAssets, li as noEchoAttributeNamesOf, ll as errorCauseChain, lo as envCredentialsAreAssumedRole, lr as resourcesNamingDeclaredParameter, ls as malformedScrubResourceEntriesRefusalMessage, lt as IMPLICIT_DELETE_DEPENDENCIES, lu as stackInstanceIdCarriedFrom, ma as CloudControlProvider, md as CFN_TEMPLATE_URL_LIMIT, mi as createReadOnlyAttributeHealerFactory, mn as refactorMarkerMovesOf, mo as coerceParameterTypedValue, mr as secretBearingStateKeyWarning, ms as refuseMalformedOrphanRecords, mt as findServiceTokenRefusals, mu as isSensitiveAttributeName, n as recordedProtectionEvidence, na as ccBrokenReason, nc as isStatefulRecreateTargetForReplace, nd as loadCdkJson, ni as isSupersededResourceRecord, nl as logOnlyValueCount, nn as isHandledOrphan, no as assertSendableRoleArn, nr as retiredAfterRollback, ns as malformedOrphansWarning, nu as hasUnverifiableParameterRefusal, o as perType, oa as TemplateNoEchoReresolver, od as resolveSkipPrefix, oi as supersededHolderOf, ol as shareLogOnlyValues, on as sameJournaledOrphans, oo as AWS_CREDENTIAL_ENV_KEYS, or as computeParameterTaint, os as malformedResourceEntriesWarning, ou as orphansAfterRollback, pa as customResourceResponseExpirationWarning, pd as CFN_TEMPLATE_BODY_LIMIT, pi as withAttemptedItemsMasked, pl as withPhysicalNameCopies, pn as readRefactorMarkerOnce, po as regionLessSecretName, pr as secretBearing, pt as deferredServiceTokenWarning, pu as AssetPublisher, qa as resolveDynamicReferences, qc as liveMatchesUnresolvedTokenFrame, ql as isNotImplemented, qo as malformedExportNamesWarning, qr as bold, qs as findHandledUnwrittenCreateOnly, qu as runDockerForeground, r as recordedProtectionNote, ra as isCustomResource, rc as isStatefulRecreateTargetSync, rd as resolveApp, ri as removeSuperseded, rl as printingCorpusOf, rn as journaledOrphanLines, ro as explicitRoleArnOrThrow, rr as retiredNameGenerationsAfter, rs as malformedOutputsRefusalMessage, ru as importableOutputKeys, s as readProtection, sa as readsNoEchoDeleteValues, sd as resolveStateBucketWithDefault, si as supersededResourcesOf, sl as unionOfSecretBags, sn as formatResourceLine, so as applyCallerIdentityCredentials, sr as namesAnyDeclaredParameter, ss as malformedResourcePropertiesWarning, su as orphansCarriedFrom, t as DeployEngine, ta as ProviderRegistry, tc as MULTI_REGION_RECREATE_BLOCKED_TYPES, td as getLegacyStateBucketName, ti as holdsSupersededResources, tl as literalSplitDelimitersOf, tn as dropFailedHint, to as assertFlagRoleArn, tr as nameScopeOf, ts as malformedOrphansRefusalMessage, tu as hasReasonlessBaselineRefusal, ua as withPrintingSecrets, uc as coerceCfnBoolean, ud as stateBucketExistenceConfirmed, ui as noEchoComparisonForTemplate, ul as maskSecretsInError, uo as classifyRecordedSecretRegion, ur as WITHHELD_NAME_DISPLAY, us as malformedStateRefusalMessage, ut as computeImplicitDeleteEdges, uu as PhaseClock, va as RollbackInlinePolicyWriters, vd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, vi as namingSecretsWithRecordedNoEcho, vl as pathCrossesDottedKey, vn as updateRefactorMarker, vo as isImpossibleEmptyStoredAttribute, vr as exportNameSecretExposure, vs as refuseMalformedOrphansForOrphan, vt as isAbsoluteAssetPath, vu as createAssetRedirectResolver, wa as isWaitAbandonedError, wd as refuseFailedLookups, wi as stateSecretNameNeedles, wl as physicalNameCopiesOf, wn as replayRollback, wo as cfnRefValueFromPhysicalId, wr as bindingSkippedOutputs, ws as refuseMalformedResourceEntriesForDestroy, wt as parentSuppliedValues, wu as ensureAssetStorage, xa as deleteLeftInPlace, xc as templateResourceTypes, xd as PARTITION_TABLE, xi as secretNamePrintingBags, xl as inheritNestedStackParameterAssociations, xn as pendingMovesRefusalMessage, xo as isNamelessDynamicReferenceError, xr as collectDeclaredOutputNames, xs as refuseMalformedResourceAttributesForOrphan, xt as templateIdentity, xu as AssetModeResolver, ya as UNSPECIFIED_SKIP_REASON, yd as decodeListingKey, yi as orphanRecordsPrintingBag, yl as spelledKeysOf, yn as hasPendingMovesOut, yo as carriesDynamicReference, yr as isWholeDynamicReferenceValue, ys as refuseMalformedOutputs, yt as listNestedTemplateRows, yu as loadPublishableAssetManifest, za as IntrinsicFunctionResolver, zc as noEchoCoordinatesOf, zd as renderAssemblyPathEscape, zl as isLockInfoExpired, zn as recordUnderIdIsNotOwn, zo as deployRefusesOrphanRowsReason, zr as parseMappingFile, zs as repairMalformedResourceEntriesForReadOnly, zt as recordRetainedForReadoption, zu as formatDockerLoginError } from "./deploy-engine-CCqsQYdL.js";
|
|
6
|
+
import { t as getCdkdVersion } from "./version-DFQI9iez.js";
|
|
7
7
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
8
8
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutBucketVersioningCommand, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
9
9
|
import { GetRoleCommand, GetUserCommand } from "@aws-sdk/client-iam";
|
|
@@ -1411,9 +1411,11 @@ async function synthCommand(stackPatterns, options) {
|
|
|
1411
1411
|
output: options.output,
|
|
1412
1412
|
...options.region && { region: options.region },
|
|
1413
1413
|
...options.profile && { profile: options.profile },
|
|
1414
|
-
...Object.keys(context).length > 0 && { context }
|
|
1414
|
+
...Object.keys(context).length > 0 && { context },
|
|
1415
|
+
failedLookupsCheckedByCaller: true
|
|
1415
1416
|
};
|
|
1416
|
-
const
|
|
1417
|
+
const result = await synthesizer.synthesize(synthOptions);
|
|
1418
|
+
const { stacks: allStacks, assemblyDir } = result;
|
|
1417
1419
|
const selected = stackPatterns.length > 0 ? matchStacks(allStacks, stackPatterns, { dedupe: "identity" }) : allStacks;
|
|
1418
1420
|
if (selected.length === 0) throw new Error(renderNoStackMatch(stackPatterns, allStacks));
|
|
1419
1421
|
const stacks = selected;
|
|
@@ -1421,6 +1423,7 @@ async function synthCommand(stackPatterns, options) {
|
|
|
1421
1423
|
strict: options.strict === true,
|
|
1422
1424
|
ignoreErrors: options.ignoreErrors === true
|
|
1423
1425
|
});
|
|
1426
|
+
refuseFailedLookups([], allStacks, result.failedLookups);
|
|
1424
1427
|
if (stacks.length === 1) {
|
|
1425
1428
|
const template = stacks[0].template;
|
|
1426
1429
|
process.stdout.write(toYaml(template));
|
|
@@ -1508,7 +1511,8 @@ async function listCommand(patterns, options) {
|
|
|
1508
1511
|
...options.region && { region: options.region },
|
|
1509
1512
|
...options.profile && { profile: options.profile },
|
|
1510
1513
|
...Object.keys(context).length > 0 && { context },
|
|
1511
|
-
deferMacroExpansion: true
|
|
1514
|
+
deferMacroExpansion: true,
|
|
1515
|
+
failedLookupsCheckedByCaller: true
|
|
1512
1516
|
};
|
|
1513
1517
|
const allStacks = (await synthesizer.synthesize(synthOptions)).stacks;
|
|
1514
1518
|
if (allStacks.length === 0) throw new Error(renderNoStackMatch(patterns, allStacks));
|
|
@@ -2690,7 +2694,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
|
|
|
2690
2694
|
// src/provisioning/register-providers.ts
|
|
2691
2695
|
let providerClasses;
|
|
2692
2696
|
function loadProviderClasses() {
|
|
2693
|
-
providerClasses ??= import("./provider-classes-
|
|
2697
|
+
providerClasses ??= import("./provider-classes-CfOASAxa.js");
|
|
2694
2698
|
return providerClasses;
|
|
2695
2699
|
}
|
|
2696
2700
|
function registerAllProviders(registry, classes) {
|
|
@@ -3292,7 +3296,8 @@ Force-quit: stack locks may not be released. If the next run reports a lock, run
|
|
|
3292
3296
|
...options.profile && { profile: options.profile },
|
|
3293
3297
|
...Object.keys(context).length > 0 && { context },
|
|
3294
3298
|
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } },
|
|
3295
|
-
deferMacroExpansion: true
|
|
3299
|
+
deferMacroExpansion: true,
|
|
3300
|
+
failedLookupsCheckedByCaller: true
|
|
3296
3301
|
};
|
|
3297
3302
|
runClock.lap("config, region, credentials");
|
|
3298
3303
|
const [result, statePrep] = await Promise.all([timePhase("run", "synth (beside the state bucket prep)", () => synthesizer.synthesize(synthOptions)), timePhase("run", "state bucket prep (beside synth)", () => statePrepPromise)]);
|
|
@@ -3366,6 +3371,7 @@ Force-quit: stack locks may not be released. If the next run reports a lock, run
|
|
|
3366
3371
|
strict: options.strict === true,
|
|
3367
3372
|
ignoreErrors: options.ignoreErrors === true
|
|
3368
3373
|
});
|
|
3374
|
+
refuseFailedLookups([], allStacks, result.failedLookups);
|
|
3369
3375
|
refuseMalformedNestedTemplateTrees(targetStacks);
|
|
3370
3376
|
if (roleArnReferences.length > 0) {
|
|
3371
3377
|
const stackByName = new Map(allStacks.map((s) => [s.stackName, s]));
|
|
@@ -6321,9 +6327,11 @@ async function diffCommand(stacks, options) {
|
|
|
6321
6327
|
...Object.keys(context).length > 0 && { context },
|
|
6322
6328
|
stateBucket,
|
|
6323
6329
|
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } },
|
|
6324
|
-
deferMacroExpansion: true
|
|
6330
|
+
deferMacroExpansion: true,
|
|
6331
|
+
failedLookupsCheckedByCaller: true
|
|
6325
6332
|
};
|
|
6326
|
-
const
|
|
6333
|
+
const result = await synthesizer.synthesize(synthOptions);
|
|
6334
|
+
const { stacks: allStacks } = result;
|
|
6327
6335
|
logger.info(`Found ${allStacks.length} stack(s) in assembly`);
|
|
6328
6336
|
const stackPatterns = stacks.length > 0 ? stacks : options.stack ? [options.stack] : [];
|
|
6329
6337
|
let targetStacks;
|
|
@@ -6337,6 +6345,7 @@ async function diffCommand(stacks, options) {
|
|
|
6337
6345
|
else if (allStacks.length === 1) targetStacks = allStacks;
|
|
6338
6346
|
else throw new Error(`Multiple stacks found: ${allStacks.map(describeStack).join(", ")}. Specify stack name(s) or use --all (top-level stacks; '**' for every stack)`);
|
|
6339
6347
|
if (targetStacks.length === 0) throw new Error(renderNoStackMatch(stackPatterns, allStacks));
|
|
6348
|
+
refuseFailedLookups(targetStacks, allStacks, result.failedLookups);
|
|
6340
6349
|
await synthesizer.expandMacrosForStacks(targetStacks, synthOptions);
|
|
6341
6350
|
const stateConfig = {
|
|
6342
6351
|
bucket: stateBucket,
|
|
@@ -6916,7 +6925,8 @@ async function scrubCommand(stacks, options) {
|
|
|
6916
6925
|
...options.profile && { profile: options.profile },
|
|
6917
6926
|
...Object.keys(context).length > 0 && { context },
|
|
6918
6927
|
stateBucket,
|
|
6919
|
-
deferMacroExpansion: true
|
|
6928
|
+
deferMacroExpansion: true,
|
|
6929
|
+
failedLookupsCheckedByCaller: true
|
|
6920
6930
|
};
|
|
6921
6931
|
let result;
|
|
6922
6932
|
try {
|
|
@@ -6940,6 +6950,7 @@ async function scrubCommand(stacks, options) {
|
|
|
6940
6950
|
}
|
|
6941
6951
|
const unmatchedNested = stackPatterns.filter((p) => p.includes("~") && matchStacks(allStacks, [p]).length === 0);
|
|
6942
6952
|
if (unmatchedNested.length > 0) logger.warn(safeMsg`${unmatchedNested.map((p) => displayStackName(p)).join(", ")} matched no stack and was NOT scrubbed. ${nestedStackPatternHint(unmatchedNested)}`);
|
|
6953
|
+
refuseFailedLookups(targetStacks, allStacks, result.failedLookups);
|
|
6943
6954
|
await synthesizer.expandMacrosForStacks(targetStacks, synthOptions);
|
|
6944
6955
|
targetStacks = orderScrubTargets(targetStacks);
|
|
6945
6956
|
const stateConfig = {
|
|
@@ -13075,7 +13086,8 @@ async function destroyCommand(stackArgs, options) {
|
|
|
13075
13086
|
app: appCmd,
|
|
13076
13087
|
output: options.output || "cdk.out",
|
|
13077
13088
|
...Object.keys(context).length > 0 && { context },
|
|
13078
|
-
deferMacroExpansion: true
|
|
13089
|
+
deferMacroExpansion: true,
|
|
13090
|
+
failedLookupsCheckedByCaller: true
|
|
13079
13091
|
});
|
|
13080
13092
|
appStacks = result.stacks.map((s) => ({
|
|
13081
13093
|
stackName: s.stackName,
|
|
@@ -14258,15 +14270,18 @@ async function orphanCommand(pathArgs, options) {
|
|
|
14258
14270
|
logger.info(synthesisStatusMessage(appCmd, "Synthesizing CDK app to read template..."));
|
|
14259
14271
|
const synthesizer = new Synthesizer();
|
|
14260
14272
|
const context = parseContextOptions(options.context);
|
|
14261
|
-
const
|
|
14273
|
+
const result = await synthesizer.synthesize({
|
|
14262
14274
|
app: appCmd,
|
|
14263
14275
|
output: options.output || "cdk.out",
|
|
14264
14276
|
...Object.keys(context).length > 0 && { context },
|
|
14265
14277
|
stateBucket,
|
|
14266
|
-
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } }
|
|
14267
|
-
|
|
14278
|
+
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } },
|
|
14279
|
+
failedLookupsCheckedByCaller: true
|
|
14280
|
+
});
|
|
14281
|
+
const resolved = resolveConstructPaths(pathArgs, result.stacks);
|
|
14268
14282
|
const stackInfo = resolved.stack;
|
|
14269
14283
|
const orphanLogicalIds = resolved.logicalIds;
|
|
14284
|
+
refuseFailedLookups([stackInfo], result.stacks, result.failedLookups);
|
|
14270
14285
|
const { region: targetRegion, recordRegion } = await pickStackRegion$1(stateBackend, stackInfo.stackName, stackInfo.region, options.stackRegion);
|
|
14271
14286
|
logger.info(`Target: ${displayStackName(stackInfo.stackName)} (${displayIdent(targetRegion)}); orphaning ${orphanLogicalIds.length} resource(s): ${displaySafeList(orphanLogicalIds)}`);
|
|
14272
14287
|
const owner = `${process.env["USER"] || "unknown"}@${process.env["HOSTNAME"] || "host"}:${process.pid}`;
|
|
@@ -15510,7 +15525,8 @@ async function exportCommand(stackArg, options) {
|
|
|
15510
15525
|
output: options.output || "cdk.out",
|
|
15511
15526
|
...Object.keys(context).length > 0 && { context },
|
|
15512
15527
|
stateBucket,
|
|
15513
|
-
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } }
|
|
15528
|
+
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } },
|
|
15529
|
+
failedLookupsCheckedByCaller: true
|
|
15514
15530
|
});
|
|
15515
15531
|
const stackPatterns = stackArg ? [stackArg] : [];
|
|
15516
15532
|
if (result.stacks.length === 0) throw new Error(renderNoStackMatch(stackPatterns, result.stacks));
|
|
@@ -15523,6 +15539,7 @@ async function exportCommand(stackArg, options) {
|
|
|
15523
15539
|
}
|
|
15524
15540
|
} else if (result.stacks.length === 1) stackInfo = result.stacks[0];
|
|
15525
15541
|
else throw new Error(`Multiple stacks found: ${result.stacks.map(describeStack).join(", ")}. Specify the stack name as a positional argument.`);
|
|
15542
|
+
refuseFailedLookups([stackInfo], result.stacks, result.failedLookups);
|
|
15526
15543
|
template = stackInfo.template;
|
|
15527
15544
|
resolvedStackName = stackInfo.stackName;
|
|
15528
15545
|
synthedRegion = stackInfo.region;
|
|
@@ -22229,10 +22246,12 @@ async function refactorCommand(stacks, options) {
|
|
|
22229
22246
|
...Object.keys(context).length > 0 && { context },
|
|
22230
22247
|
stateBucket,
|
|
22231
22248
|
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } },
|
|
22232
|
-
deferMacroExpansion: true
|
|
22249
|
+
deferMacroExpansion: true,
|
|
22250
|
+
failedLookupsCheckedByCaller: true
|
|
22233
22251
|
};
|
|
22234
|
-
const { stacks: allStacks } = await synthesizer.synthesize(synthOptions);
|
|
22252
|
+
const { stacks: allStacks, failedLookups } = await synthesizer.synthesize(synthOptions);
|
|
22235
22253
|
const targetStacks = selectStacks(allStacks, stacks, options);
|
|
22254
|
+
refuseFailedLookups(targetStacks, allStacks, failedLookups);
|
|
22236
22255
|
await synthesizer.expandMacrosForStacks(targetStacks, synthOptions);
|
|
22237
22256
|
const stateConfig = {
|
|
22238
22257
|
bucket: stateBucket,
|
|
@@ -22492,9 +22511,11 @@ async function publishAssetsCommand(stacks, options) {
|
|
|
22492
22511
|
output: options.output,
|
|
22493
22512
|
...options.region && { region: options.region },
|
|
22494
22513
|
...options.profile && { profile: options.profile },
|
|
22495
|
-
...Object.keys(context).length > 0 && { context }
|
|
22514
|
+
...Object.keys(context).length > 0 && { context },
|
|
22515
|
+
failedLookupsCheckedByCaller: true
|
|
22496
22516
|
};
|
|
22497
|
-
const
|
|
22517
|
+
const result = await synthesizer.synthesize(synthOptions);
|
|
22518
|
+
const { stacks: allStacks } = result;
|
|
22498
22519
|
logger.debug(`Found ${allStacks.length} stack(s) in assembly`);
|
|
22499
22520
|
const stackPatterns = stacks.length > 0 ? stacks : options.stack ? [options.stack] : [];
|
|
22500
22521
|
let targetStacks;
|
|
@@ -22504,6 +22525,7 @@ async function publishAssetsCommand(stacks, options) {
|
|
|
22504
22525
|
else if (allStacks.length === 1) targetStacks = allStacks;
|
|
22505
22526
|
else throw new Error(`Multiple stacks found: ${allStacks.map(describeStack).join(", ")}. Specify stack name(s) or use --all`);
|
|
22506
22527
|
if (targetStacks.length === 0) throw new Error(renderNoStackMatch(stackPatterns, allStacks));
|
|
22528
|
+
refuseFailedLookups(targetStacks, allStacks, result.failedLookups);
|
|
22507
22529
|
const effectiveRegion = await resolveEffectiveRegion(options);
|
|
22508
22530
|
exportInferredRegionForSdk(effectiveRegion);
|
|
22509
22531
|
const baseRegion = effectiveRegion.region;
|
|
@@ -22904,7 +22926,8 @@ async function importCommand(stackArg, options) {
|
|
|
22904
22926
|
output: options.output || "cdk.out",
|
|
22905
22927
|
...Object.keys(context).length > 0 && { context },
|
|
22906
22928
|
stateBucket,
|
|
22907
|
-
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } }
|
|
22929
|
+
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } },
|
|
22930
|
+
failedLookupsCheckedByCaller: true
|
|
22908
22931
|
});
|
|
22909
22932
|
const stackPatterns = stackArg ? [stackArg] : [];
|
|
22910
22933
|
if (result.stacks.length === 0) throw new Error(renderNoStackMatch(stackPatterns, result.stacks));
|
|
@@ -22917,6 +22940,7 @@ async function importCommand(stackArg, options) {
|
|
|
22917
22940
|
}
|
|
22918
22941
|
} else if (result.stacks.length === 1) stackInfo = result.stacks[0];
|
|
22919
22942
|
else throw new Error(`Multiple stacks found: ${result.stacks.map(describeStack).join(", ")}. Specify the stack name as a positional argument.`);
|
|
22943
|
+
refuseFailedLookups([stackInfo], result.stacks, result.failedLookups);
|
|
22920
22944
|
const targetRegion = await stackRegionResolver({
|
|
22921
22945
|
effective: effectiveRegion,
|
|
22922
22946
|
probe: stateBackend,
|
|
@@ -27003,13 +27027,15 @@ async function localStartApiCommand(target, options) {
|
|
|
27003
27027
|
...options.profile && { profile: options.profile },
|
|
27004
27028
|
...Object.keys(context).length > 0 && { context },
|
|
27005
27029
|
...options.stateBucket && { stateBucket: options.stateBucket },
|
|
27006
|
-
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } }
|
|
27030
|
+
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } },
|
|
27031
|
+
failedLookupsCheckedByCaller: true
|
|
27007
27032
|
};
|
|
27008
|
-
const { stacks } = await synthesizer.synthesize(synthOpts);
|
|
27033
|
+
const { stacks, failedLookups } = await synthesizer.synthesize(synthOpts);
|
|
27009
27034
|
const cfnStackFallback = typeof options.fromCfnStack === "string" ? options.fromCfnStack : void 0;
|
|
27010
27035
|
const targetStackPrefix = targetStackHint(target, stacks);
|
|
27011
27036
|
const targetStacks = pickTargetStacks(stacks, options.stack, cfnStackFallback, targetStackPrefix);
|
|
27012
27037
|
if (targetStacks.length === 0) throw new Error("No stacks matched. Pass --stack '<name>' (or --from-cfn-stack '<name>') or run from a single-stack app.");
|
|
27038
|
+
refuseFailedLookups(targetStacks, stacks, failedLookups);
|
|
27013
27039
|
const routedStackNames = targetStacks.map((s) => s.stackName);
|
|
27014
27040
|
tryEmitFromCfnRedundancyTipOnce(options.fromCfnStack, routedStackNames, fromCfnTipEmitted, (routedStackName) => {
|
|
27015
27041
|
logger.info(`tip: --from-cfn-stack value matches the routed stack name (${routedStackName}); you can omit the value: \`cdkd local start-api ... --from-cfn-stack\` (bare flag) resolves to the same value.`);
|
|
@@ -29263,10 +29289,12 @@ async function localRunTaskCommand(target, options) {
|
|
|
29263
29289
|
...options.profile && { profile: options.profile },
|
|
29264
29290
|
...Object.keys(context).length > 0 && { context },
|
|
29265
29291
|
...options.stateBucket && { stateBucket: options.stateBucket },
|
|
29266
|
-
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } }
|
|
29292
|
+
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } },
|
|
29293
|
+
failedLookupsCheckedByCaller: true
|
|
29267
29294
|
};
|
|
29268
|
-
const { stacks } = await synthesizer.synthesize(synthOpts);
|
|
29295
|
+
const { stacks, failedLookups } = await synthesizer.synthesize(synthOpts);
|
|
29269
29296
|
const candidate = pickCandidateStack(parseEcsTarget(target), target, stacks);
|
|
29297
|
+
refuseFailedLookups(candidate ? [candidate] : [], stacks, failedLookups);
|
|
29270
29298
|
stateProvider = createLocalStateProvider$1(options, candidate?.stackName ?? "", candidate?.region);
|
|
29271
29299
|
const { context: imageContext, stateRecordRegion } = await buildEcsImageResolutionContext$1(candidate, stateProvider, options);
|
|
29272
29300
|
const task = resolveEcsTaskTarget(target, stacks, imageContext);
|
|
@@ -30022,9 +30050,10 @@ async function localInvokeAgentCoreCommand(target, options) {
|
|
|
30022
30050
|
output: options.output,
|
|
30023
30051
|
...options.region && { region: options.region },
|
|
30024
30052
|
...options.profile && { profile: options.profile },
|
|
30025
|
-
...Object.keys(context).length > 0 && { context }
|
|
30053
|
+
...Object.keys(context).length > 0 && { context },
|
|
30054
|
+
failedLookupsCheckedByCaller: true
|
|
30026
30055
|
};
|
|
30027
|
-
const { stacks, assemblyDir } = await synthesizer.synthesize(synthOpts);
|
|
30056
|
+
const { stacks, assemblyDir, failedLookups } = await synthesizer.synthesize(synthOpts);
|
|
30028
30057
|
const resolvedTarget = await resolveSingleTarget(target, {
|
|
30029
30058
|
entries: listTargets(stacks).agentCoreRuntimes,
|
|
30030
30059
|
message: "Select an AgentCore Runtime to invoke",
|
|
@@ -30032,6 +30061,7 @@ async function localInvokeAgentCoreCommand(target, options) {
|
|
|
30032
30061
|
onMissing: () => new CdkdError(`${getEmbedConfig().cliName} invoke-agentcore requires a <target> (an AgentCore Runtime display path or logical ID). Run \`${getEmbedConfig().cliName} list\` to see them, or run it in a TTY to pick interactively.`, "LOCAL_INVOKE_AGENTCORE_TARGET_REQUIRED")
|
|
30033
30062
|
});
|
|
30034
30063
|
const candidate = pickAgentCoreCandidateStack$1(resolvedTarget, stacks);
|
|
30064
|
+
refuseFailedLookups(candidate ? [candidate] : [], stacks, failedLookups);
|
|
30035
30065
|
stateProvider = createLocalStateProvider$1(options, candidate?.stackName ?? "", await resolveCfnFallbackRegion(options, candidate?.region));
|
|
30036
30066
|
const { context: imageContext, loaded: loadedState } = stateProvider && candidate ? await buildAgentCoreImageContext(candidate, stateProvider, options) : {
|
|
30037
30067
|
context: void 0,
|
|
@@ -30140,7 +30170,8 @@ async function localInvokeAgentCoreCommand(target, options) {
|
|
|
30140
30170
|
softReload: async (newSourceDir) => {
|
|
30141
30171
|
if (!containerId) throw new CdkdError("softReload: no live container to docker cp / docker restart into.", "LOCAL_INVOKE_AGENTCORE_WATCH_NO_CONTAINER");
|
|
30142
30172
|
await softReloadAgentContainer(containerId, newSourceDir);
|
|
30143
|
-
const { stacks: newStacks } = await synthesizer.synthesize(synthOpts);
|
|
30173
|
+
const { stacks: newStacks, failedLookups: newFailed } = await synthesizer.synthesize(synthOpts);
|
|
30174
|
+
refuseFailedLookups(newStacks.filter((st) => st.stackName === resolved.stack.stackName), newStacks, newFailed);
|
|
30144
30175
|
return { stacks: newStacks };
|
|
30145
30176
|
}
|
|
30146
30177
|
});
|
|
@@ -30205,7 +30236,8 @@ async function localInvokeAgentCoreCommand(target, options) {
|
|
|
30205
30236
|
softReload: async (newSourceDir) => {
|
|
30206
30237
|
if (!containerId) throw new CdkdError("softReload: no live container to docker cp / docker restart into.", "LOCAL_INVOKE_AGENTCORE_WATCH_NO_CONTAINER");
|
|
30207
30238
|
await softReloadAgentContainer(containerId, newSourceDir);
|
|
30208
|
-
const { stacks: newStacks } = await synthesizer.synthesize(synthOpts);
|
|
30239
|
+
const { stacks: newStacks, failedLookups: newFailed } = await synthesizer.synthesize(synthOpts);
|
|
30240
|
+
refuseFailedLookups(newStacks.filter((st) => st.stackName === resolved.stack.stackName), newStacks, newFailed);
|
|
30209
30241
|
return { stacks: newStacks };
|
|
30210
30242
|
}
|
|
30211
30243
|
});
|
|
@@ -30295,8 +30327,9 @@ async function bootAgentCoreContainer(args) {
|
|
|
30295
30327
|
async function rebuildAgentCoreContainer(args) {
|
|
30296
30328
|
const { cleanupBefore, startGuard, resolvedTarget, options, synthesizer, synthOpts, profileCredentials, profileCredsFile, stateProvider, isMcp, isA2a } = args;
|
|
30297
30329
|
await cleanupBefore();
|
|
30298
|
-
const { stacks: newStacks, assemblyDir: newAssemblyDir } = await synthesizer.synthesize(synthOpts);
|
|
30330
|
+
const { stacks: newStacks, assemblyDir: newAssemblyDir, failedLookups: newFailed } = await synthesizer.synthesize(synthOpts);
|
|
30299
30331
|
const newCandidate = pickAgentCoreCandidateStack$1(resolvedTarget, newStacks);
|
|
30332
|
+
refuseFailedLookups(newCandidate ? [newCandidate] : [], newStacks, newFailed);
|
|
30300
30333
|
const { context: newImageContext, loaded: newLoaded } = stateProvider && newCandidate ? await buildAgentCoreImageContext(newCandidate, stateProvider, options) : {
|
|
30301
30334
|
context: void 0,
|
|
30302
30335
|
loaded: void 0
|
|
@@ -31065,10 +31098,12 @@ async function localInvokeCommand(target, options) {
|
|
|
31065
31098
|
...options.profile && { profile: options.profile },
|
|
31066
31099
|
...Object.keys(context).length > 0 && { context },
|
|
31067
31100
|
...options.stateBucket && { stateBucket: options.stateBucket },
|
|
31068
|
-
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } }
|
|
31101
|
+
...options.profile && { macroExpandS3ClientOpts: { profile: options.profile } },
|
|
31102
|
+
failedLookupsCheckedByCaller: true
|
|
31069
31103
|
};
|
|
31070
|
-
const { stacks } = await synthesizer.synthesize(synthOpts);
|
|
31104
|
+
const { stacks, failedLookups } = await synthesizer.synthesize(synthOpts);
|
|
31071
31105
|
const lambda = resolveLambdaTarget(target, stacks);
|
|
31106
|
+
refuseFailedLookups([lambda.stack], stacks, failedLookups);
|
|
31072
31107
|
const targetLabel = lambda.kind === "zip" ? lambda.runtime : "container image";
|
|
31073
31108
|
logger.info(`Target: ${lambda.stack.stackName}/${lambda.logicalId} (${targetLabel})`);
|
|
31074
31109
|
imagePlan = await resolveImagePlan(lambda, options);
|
|
@@ -31698,4 +31733,4 @@ function collectVerbFlags(program) {
|
|
|
31698
31733
|
}
|
|
31699
31734
|
|
|
31700
31735
|
export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, canonicalizeIpProtocolValue as o, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
|
|
31701
|
-
//# sourceMappingURL=program-
|
|
31736
|
+
//# sourceMappingURL=program-DCyjI7yc.js.map
|