@cdkd/cli 0.351.1 → 0.351.2
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-B6WnCkIH.js → ambient-client-defaults-BNsgmFaO.js} +3 -3
- package/dist/{ambient-client-defaults-B6WnCkIH.js.map → ambient-client-defaults-BNsgmFaO.js.map} +1 -1
- package/dist/{asg-provider-Cvt28cjZ.js → asg-provider-CBnZ6WhM.js} +26 -6
- package/dist/{asg-provider-Cvt28cjZ.js.map → asg-provider-CBnZ6WhM.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-q-XZhmNY.js → custom-resource-runtime-BREgzXYF.js} +6 -6
- package/dist/{custom-resource-runtime-q-XZhmNY.js.map → custom-resource-runtime-BREgzXYF.js.map} +1 -1
- package/dist/{db-associated-roles-C4lSFcA4.js → db-associated-roles-ClXc3ZtP.js} +2 -2
- package/dist/{db-associated-roles-C4lSFcA4.js.map → db-associated-roles-ClXc3ZtP.js.map} +1 -1
- package/dist/{delete-started-B5fdSbyi.js → delete-started-Du9ABI-8.js} +4 -4
- package/dist/{delete-started-B5fdSbyi.js.map → delete-started-Du9ABI-8.js.map} +1 -1
- package/dist/{deploy-engine-BCutoRqN.js → deploy-engine-Crq1_YaU.js} +294 -23
- package/dist/deploy-engine-Crq1_YaU.js.map +1 -0
- package/dist/{diff-calculator-Dpy3mtdK.js → diff-calculator-BjfI_Wan.js} +12 -12
- package/dist/{diff-calculator-Dpy3mtdK.js.map → diff-calculator-BjfI_Wan.js.map} +1 -1
- package/dist/{ec2-termination-protection-DEedWKNw.js → ec2-termination-protection-ktQGLiiN.js} +6 -6
- package/dist/{ec2-termination-protection-DEedWKNw.js.map → ec2-termination-protection-ktQGLiiN.js.map} +1 -1
- package/dist/{ecr-uri-BdY53T_-.js → ecr-uri-BQT6UV3q.js} +2 -2
- package/dist/{ecr-uri-BdY53T_-.js.map → ecr-uri-BQT6UV3q.js.map} +1 -1
- package/dist/{expected-bucket-owner-iywep2CV.js → expected-bucket-owner-BB5y_p0b.js} +2 -2
- package/dist/{expected-bucket-owner-iywep2CV.js.map → expected-bucket-owner-BB5y_p0b.js.map} +1 -1
- package/dist/{iam-role-provider-BQAmYWyO.js → iam-role-provider-CiX8RNcU.js} +10 -8
- package/dist/iam-role-provider-CiX8RNcU.js.map +1 -0
- package/dist/{image-plan-Cc837NpF.js → image-plan-CwEUwSBO.js} +8 -8
- package/dist/{image-plan-Cc837NpF.js.map → image-plan-CwEUwSBO.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CmaW95DR.js → logger-DmGdReDx.js} +2 -2
- package/dist/{logger-CmaW95DR.js.map → logger-DmGdReDx.js.map} +1 -1
- package/dist/{neptune-provider-BkaMldJg.js → neptune-provider-I7iiVIYL.js} +7 -7
- package/dist/{neptune-provider-BkaMldJg.js.map → neptune-provider-I7iiVIYL.js.map} +1 -1
- package/dist/{program-8-3OnhIJ.js → program-CjvlsJxS.js} +623 -170
- package/dist/program-CjvlsJxS.js.map +1 -0
- package/dist/{provider-classes-DcmiLT1V.js → provider-classes-BUU9HgA_.js} +34 -29
- package/dist/provider-classes-BUU9HgA_.js.map +1 -0
- package/dist/{rds-provider-BWOEzXOQ.js → rds-provider-w7OvQPlJ.js} +10 -10
- package/dist/{rds-provider-BWOEzXOQ.js.map → rds-provider-w7OvQPlJ.js.map} +1 -1
- package/dist/{read-replica-BQhsK5Fn.js → read-replica-4gbBDrpV.js} +3 -3
- package/dist/{read-replica-BQhsK5Fn.js.map → read-replica-4gbBDrpV.js.map} +1 -1
- package/dist/{replacement-rules-DywtM6vS.js → replacement-rules-CKf0IgJ7.js} +3 -3
- package/dist/{replacement-rules-DywtM6vS.js.map → replacement-rules-CKf0IgJ7.js.map} +1 -1
- package/dist/{resource-deadline-C_l7cJ75.js → resource-deadline-CWs3cu_e.js} +4 -4
- package/dist/{resource-deadline-C_l7cJ75.js.map → resource-deadline-CWs3cu_e.js.map} +1 -1
- package/dist/{run-cli-lankPggb.js → run-cli-8F0scSqk.js} +2 -2
- package/dist/{run-cli-lankPggb.js.map → run-cli-8F0scSqk.js.map} +1 -1
- package/dist/{update-removal-MnBAwEGA.js → update-removal-DwF56cpn.js} +4 -4
- package/dist/{update-removal-MnBAwEGA.js.map → update-removal-DwF56cpn.js.map} +1 -1
- package/dist/{version-7SpD1NBk.js → version-G1UTHCOP.js} +2 -2
- package/dist/{version-7SpD1NBk.js.map → version-G1UTHCOP.js.map} +1 -1
- package/package.json +2 -2
- package/dist/deploy-engine-BCutoRqN.js.map +0 -1
- package/dist/iam-role-provider-BQAmYWyO.js.map +0 -1
- package/dist/program-8-3OnhIJ.js.map +0 -1
- package/dist/provider-classes-DcmiLT1V.js.map +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-
|
|
2
|
-
import { A as configStringRefusal, B as generateResourceName, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, J as getCurrentStackName, M as replayWarn, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, U as recordedGeneratedNameKept, V as generateResourceNameWithFallback, Y as isBeforeStateRead, c as VERBOSE_POINTER, d as describeAwsStatusReason, f as isAwsAuthoredFailure, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, w as generatedNameFor } from "./logger-
|
|
1
|
+
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-CiX8RNcU.js";
|
|
2
|
+
import { A as configStringRefusal, B as generateResourceName, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, J as getCurrentStackName, M as replayWarn, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, U as recordedGeneratedNameKept, V as generateResourceNameWithFallback, Y as isBeforeStateRead, c as VERBOSE_POINTER, d as describeAwsStatusReason, f as isAwsAuthoredFailure, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, w as generatedNameFor } from "./logger-DmGdReDx.js";
|
|
3
3
|
import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
|
|
4
|
-
import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, z as isTransientServerError } from "./ambient-client-defaults-
|
|
5
|
-
import { $ as userPoolProtectionSite, A as replayedSendWindow, At as packCompositeId, B as refusalTypeShown, C as AmbiguousCreateLatch, Ct as isInterruptedWaitError, D as createAttemptKey, Dt as compositeIdSeparatorRefusal, E as ambiguousAttemptLead, Et as compositeIdFormatMessage, F as isPlainImportJson, Ft as createMaskedRetryLogger, H as resolveExplicitPhysicalId, Ht as clearCreatedBeforeFailure, I as isPlainImportValue, It as isSecretDerivedValue, J as deleteWithProtectionCompensation, Jt as markAuxiliaryFailure, K as markNotGone, Kt as isAuxiliaryFailure, L as isQuotableImportValue, Lt as maskDeep, M as withoutServerErrorRetries, Mt as segmentAfterAnchor, N as VALUE_NOT_SHOWN, Nt as stateOrphanRecordRemedy, O as isInsideWindow, Ot as compositeIdSkipResult, P as importRemedyCommand, Pt as createMaskedLogSinks, R as normalizeAwsTagsToCfn, Rt as maskerOrIdentity, S as AMBIGUOUS_LATCH_TTL_MS, T as RecentIdSet, Tt as canonicalizeRoute53QueryName, U as RESOURCE_NOT_FOUND, V as remedyLogicalId, W as assertRegionMatch, X as observeThenDisableProtection, Xt as markSupersedesEarlierCreate, Y as logGroupProtectionSite, Yt as markCreatedBeforeFailure, Z as rdsFamilyProtectionSite, _ as onlySecretDerived, _t as pasteableAwsCommand, a as withRemovalDefaults, b as recordedPrincipalsRepair, ct as protectionFlipKey, dt as ElapsedBudgetRegistry, et as PROTECTION_FLIP_RETRY_WAIT_MS, f as retractCreatedResource, g as holdsSecretDerivedEntry, gt as isAwsCliLiteral, h as SECRET_DERIVED_READ_LIVE, hn as withPasteableAwsProfile, ht as WITHHELD_AWS_COMMAND, i as removedTemplateKeys, it as isTerminalDbWaitStatus, j as setBounded, k as replayFollowedAmbiguousAttempt, kt as logicalIdShown, ln as injectiveKey, mt as UNNAMEABLE_ID_CLAUSE, ot as ProtectionFlipRegistry, rt as isProceedDbStatus, st as isTerminalDeleteFailure, t as clearOnUpdateRemoval, tt as deleteAfterProtectionFlipWithFinalSnapshot, u as reportCreatedResource, un as injectiveKeyPrefix, ut as ElapsedBudget, v as readPrincipalLists, vt as protectedReplacementAdvice, w as CREATION_DATE_SKEW_MARGIN_MS, wt as startInterruptWatch, yt as renderDisableCommand, z as quotedRemedyLogicalId, zt as withDerivedNameMasks } from "./update-removal-
|
|
6
|
-
import { A as displayStackName, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, c as deployReplaceCommand, d as pasteableCommand, j as isPasteableIdent, k as displaySafe, l as hasClauseBreak, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, u as isInertUnquoted, v as withheldTargetClause } from "./version-
|
|
7
|
-
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-
|
|
8
|
-
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-
|
|
9
|
-
import { $ as isTtlAlreadyDisabled, $
|
|
10
|
-
import { _ as isModifyNotAvailableRefusal, b as stringifyIfAssigned, c as refuseRestoreFromItself, d as DBPROXY_TAG_OPTIONS, f as planTagDiff, g as tagPlanWarning, h as tagMapAsList, m as refuseMalformedDesiredTags, n as enclosingDeadlineRemainingMs, p as readTagList, t as enclosingDeadlineExpired, u as DBPROXY_TAGS_WHAT, v as modifyDbInstanceWhenAvailable, x as isUsableAttemptedName, y as definedAttributes } from "./resource-deadline-
|
|
11
|
-
import { O as timePhase, a as reDisableInstanceApiTermination, c as unchangedBehindSecretReference, i as observeThenDisableInstanceApiTermination, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as onlySecretReferencesDiffer, x as withRetry } from "./ec2-termination-protection-
|
|
4
|
+
import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, z as isTransientServerError } from "./ambient-client-defaults-BNsgmFaO.js";
|
|
5
|
+
import { $ as userPoolProtectionSite, A as replayedSendWindow, At as packCompositeId, B as refusalTypeShown, C as AmbiguousCreateLatch, Ct as isInterruptedWaitError, D as createAttemptKey, Dt as compositeIdSeparatorRefusal, E as ambiguousAttemptLead, Et as compositeIdFormatMessage, F as isPlainImportJson, Ft as createMaskedRetryLogger, H as resolveExplicitPhysicalId, Ht as clearCreatedBeforeFailure, I as isPlainImportValue, It as isSecretDerivedValue, J as deleteWithProtectionCompensation, Jt as markAuxiliaryFailure, K as markNotGone, Kt as isAuxiliaryFailure, L as isQuotableImportValue, Lt as maskDeep, M as withoutServerErrorRetries, Mt as segmentAfterAnchor, N as VALUE_NOT_SHOWN, Nt as stateOrphanRecordRemedy, O as isInsideWindow, Ot as compositeIdSkipResult, P as importRemedyCommand, Pt as createMaskedLogSinks, R as normalizeAwsTagsToCfn, Rt as maskerOrIdentity, S as AMBIGUOUS_LATCH_TTL_MS, T as RecentIdSet, Tt as canonicalizeRoute53QueryName, U as RESOURCE_NOT_FOUND, V as remedyLogicalId, W as assertRegionMatch, X as observeThenDisableProtection, Xt as markSupersedesEarlierCreate, Y as logGroupProtectionSite, Yt as markCreatedBeforeFailure, Z as rdsFamilyProtectionSite, _ as onlySecretDerived, _t as pasteableAwsCommand, a as withRemovalDefaults, b as recordedPrincipalsRepair, ct as protectionFlipKey, dt as ElapsedBudgetRegistry, et as PROTECTION_FLIP_RETRY_WAIT_MS, f as retractCreatedResource, g as holdsSecretDerivedEntry, gt as isAwsCliLiteral, h as SECRET_DERIVED_READ_LIVE, hn as withPasteableAwsProfile, ht as WITHHELD_AWS_COMMAND, i as removedTemplateKeys, it as isTerminalDbWaitStatus, j as setBounded, k as replayFollowedAmbiguousAttempt, kt as logicalIdShown, ln as injectiveKey, mt as UNNAMEABLE_ID_CLAUSE, ot as ProtectionFlipRegistry, rt as isProceedDbStatus, st as isTerminalDeleteFailure, t as clearOnUpdateRemoval, tt as deleteAfterProtectionFlipWithFinalSnapshot, u as reportCreatedResource, un as injectiveKeyPrefix, ut as ElapsedBudget, v as readPrincipalLists, vt as protectedReplacementAdvice, w as CREATION_DATE_SKEW_MARGIN_MS, wt as startInterruptWatch, yt as renderDisableCommand, z as quotedRemedyLogicalId, zt as withDerivedNameMasks } from "./update-removal-DwF56cpn.js";
|
|
6
|
+
import { A as displayStackName, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, c as deployReplaceCommand, d as pasteableCommand, j as isPasteableIdent, k as displaySafe, l as hasClauseBreak, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, u as isInertUnquoted, v as withheldTargetClause } from "./version-G1UTHCOP.js";
|
|
7
|
+
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-Du9ABI-8.js";
|
|
8
|
+
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-CjvlsJxS.js";
|
|
9
|
+
import { $ as isTtlAlreadyDisabled, $a as APPSYNC_APIKEY_ARN_RESOURCE_PATH, $t as lookupEachName, Ar as REDACTED_DELETE_ADDRESS_SKIP_REASON, At as maskedLogger, Bo as outputReferenceProvenanceOf, C as isAbsoluteAssetPath, Co as s3BucketDomainName, Cs as passedParameterClassesOf, Ct as deleteBudgetKey, Dt as INDEX_SETTLE_POLL_INTERVAL_MS, Eo as s3BucketWebsiteUrl, Et as DELETE_INDEX_WAIT_PROCEED_NOTE, Fa as waitForLambdaFunctionActive, Ft as hasCdkAutoDeleteTag, G as declaredStreamTagsMember, Ga as withIndeterminateGuard, Gc as withoutSdkUnwiredProperties, H as STREAM_POLICY_KEY, Hc as findSdkUnwiredProperties, Io as parseWebACLArn, It as isTruthyCfnBoolean, J as streamDeclaresPolicy, Jt as getPriorAttempts, K as planStreamMemberOps, Ki as secretNamedAttributeNamesOf, Kl as decodeListingKey, Ko as getAccountInfo, La as waitForGoneAfterDelete, Mr as redactedDeleteAddressFields, Mt as waitForIndexesSettled, Nc as accountArgs, Nr as redactedDeleteAddressSkip, Nt as ECR_AUTO_DELETE_IMAGES_TAG, Oc as refuseMalformedResourcesForDestroy, Ot as TABLE_INDEX_NOUN, Pc as withheldAccountClause, Pt as S3_AUTO_DELETE_OBJECTS_TAG, Q as streamTagsMatchDeclared, Qa as isSettledInstanceState, Qt as isAccessDeniedError, Ra as resolvedResourceTimeoutMs, S as findNestedTemplateTreeDefect, So as s3BucketArn, St as compensateRemovedDeletionProtection, T as renderNestedTemplateTreeDefect, Ta as getCurrentResourceSecrets, To as s3BucketRegionalDomainName, Tt as resolveDynamoDbDeleteBudgetMs, U as STREAM_TAGS_KEY, V as DynamoDBGlobalTableProvider, W as declaredStreamPolicyMember, Wa as deleteSkipReason, Wr as getCurrentProducerRegions, X as streamMemberRefusals, Y as streamDeclaresTags, Yt as markRefusedBeforeApplying, Z as streamPolicyMatchesDeclared, Zt as chunks, _t as stripIndexContributorInsights, at as readbackVectorIndexes, au as renderAssemblyPathEscape, bt as DYNAMODB_DELETE_POLL_COST_MS, ca as collectManagedPolicyArnsAttachedBySiblings, ct as vectorIndexesShapeDetail, da as withoutSiblingAttachedArns, dr as earliestDefined, dt as indexDeclaresContributorInsights, en as withApiLimit, eo as maskedSecretSegment, et as isTtlRateLimited, fa as withoutSiblingOwned, fl as stringifyValue, fs as WARM_THROUGHPUT_MEMBERS, ft as planContributorInsightsOp, gi as getStackRecords, gs as toFiniteNumber, gt as reverseMapTableContributorInsights, hn as withNestedStackContext, hr as acquireIdempotencyToken, hs as toCfnInteger, ht as reverseMapIndexContributorInsights, it as planVectorIndexUpdates, jr as isRedactedRecordedValue, jt as relayedIndexBusyDelete, kt as deleteTableWithIndexBusyRetry, la as collectPrincipalsAttachingPolicy, lt as CONTRIBUTOR_INSIGHTS_KEY, mi as awaitInFlightSibling, mn as getCurrentNestedStackContext, ms as isWarmThroughputDecrease, mt as readContributorInsightsSpec, nt as readTtlSpec, nu as describeFileReadFailure, ot as vectorIndexesForCreate, ou as resolveAssemblyPath, pr as reserveStackCreateToken, ps as coerceWarmThroughput$1, pt as planIndexContributorInsightsOps, q as reverseMapStreamPolicy, rt as sendTtlWaitingOutRateLimit, ru as displayAssemblyPath, sa as collectGroupsAddedBySiblings, sn as getNestedRevertRun, st as vectorIndexesSettled, t as DeployEngine, tt as planTimeToLive, un as revertNestedChildFromJournal, ut as contributorInsightsRefusals, vc as refuseMalformedNestedChildOutputs, vi as replacedDeleteFailureVerdict, vt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, w as listNestedTemplateRows, wo as s3BucketDualStackDomainName, wt as resolveDynamoDbDeleteBudgetClock, xl as rewriteTemplateAssetReferences, xt as beginDeleteWait, yt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS } from "./deploy-engine-Crq1_YaU.js";
|
|
10
|
+
import { _ as isModifyNotAvailableRefusal, b as stringifyIfAssigned, c as refuseRestoreFromItself, d as DBPROXY_TAG_OPTIONS, f as planTagDiff, g as tagPlanWarning, h as tagMapAsList, m as refuseMalformedDesiredTags, n as enclosingDeadlineRemainingMs, p as readTagList, t as enclosingDeadlineExpired, u as DBPROXY_TAGS_WHAT, v as modifyDbInstanceWhenAvailable, x as isUsableAttemptedName, y as definedAttributes } from "./resource-deadline-CWs3cu_e.js";
|
|
11
|
+
import { O as timePhase, a as reDisableInstanceApiTermination, c as unchangedBehindSecretReference, i as observeThenDisableInstanceApiTermination, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as onlySecretReferencesDiffer, x as withRetry } from "./ec2-termination-protection-ktQGLiiN.js";
|
|
12
12
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
13
13
|
import { f as ambientRegion } from "./aws-client-defaults-DAebi99J.js";
|
|
14
|
-
import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, cn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, l as sameLambdaFunctionAddress, mn as carriesSecretMask, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recoverMaskedOutput, s as lambdaFunctionNameForMask, sn as physicalNameCopiesOf } from "./replacement-rules-
|
|
15
|
-
import { RDSProvider } from "./rds-provider-
|
|
16
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
17
|
-
import { ASGProvider } from "./asg-provider-
|
|
14
|
+
import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, cn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, l as sameLambdaFunctionAddress, mn as carriesSecretMask, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recoverMaskedOutput, s as lambdaFunctionNameForMask, sn as physicalNameCopiesOf } from "./replacement-rules-CKf0IgJ7.js";
|
|
15
|
+
import { RDSProvider } from "./rds-provider-w7OvQPlJ.js";
|
|
16
|
+
import { NeptuneProvider } from "./neptune-provider-I7iiVIYL.js";
|
|
17
|
+
import { ASGProvider } from "./asg-provider-CBnZ6WhM.js";
|
|
18
18
|
import { createHash, randomUUID } from "node:crypto";
|
|
19
19
|
import { CreateBucketCommand, CreateBucketMetadataConfigurationCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetadataConfigurationCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAbacCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketMetadataConfigurationCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListBucketsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, PutBucketAbacCommand, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, UpdateBucketMetadataAnnotationTableConfigurationCommand, UpdateBucketMetadataInventoryTableConfigurationCommand, UpdateBucketMetadataJournalTableConfigurationCommand } from "@aws-sdk/client-s3";
|
|
20
20
|
import { AddRoleToInstanceProfileCommand, AddUserToGroupCommand, AttachGroupPolicyCommand, AttachRolePolicyCommand, AttachUserPolicyCommand, CreateAccessKeyCommand, CreateGroupCommand, CreateInstanceProfileCommand, CreateLoginProfileCommand, CreatePolicyCommand, CreatePolicyVersionCommand, CreateUserCommand, DeleteAccessKeyCommand, DeleteGroupCommand, DeleteGroupPolicyCommand, DeleteInstanceProfileCommand, DeleteLoginProfileCommand, DeletePolicyCommand, DeletePolicyVersionCommand, DeleteRolePolicyCommand, DeleteUserCommand, DeleteUserPermissionsBoundaryCommand, DeleteUserPolicyCommand, DetachGroupPolicyCommand, DetachRolePolicyCommand, DetachUserPolicyCommand, GetAccessKeyLastUsedCommand, GetGroupCommand, GetGroupPolicyCommand, GetInstanceProfileCommand, GetPolicyCommand, GetPolicyVersionCommand, GetRolePolicyCommand, GetUserCommand, GetUserPolicyCommand, IAMClient, ListAccessKeysCommand, ListAttachedGroupPoliciesCommand, ListAttachedUserPoliciesCommand, ListEntitiesForPolicyCommand, ListGroupPoliciesCommand, ListGroupsForUserCommand, ListPoliciesCommand, ListPolicyTagsCommand, ListPolicyVersionsCommand, ListUserPoliciesCommand, NoSuchEntityException, PutGroupPolicyCommand, PutRolePolicyCommand, PutUserPermissionsBoundaryCommand, PutUserPolicyCommand, RemoveRoleFromInstanceProfileCommand, RemoveUserFromGroupCommand, TagPolicyCommand, TagUserCommand, UntagPolicyCommand, UntagUserCommand, UpdateAccessKeyCommand, UpdateGroupCommand, UpdateLoginProfileCommand, UpdateUserCommand } from "@aws-sdk/client-iam";
|
|
@@ -979,7 +979,7 @@ async function deleteImpl$39(logicalId, physicalId, resourceType, _properties, c
|
|
|
979
979
|
|
|
980
980
|
// src/provisioning/providers/iam-managed-policy/read-state.ts
|
|
981
981
|
const AWS_MANAGED_POLICY_ARN_RE = /^arn:aws[a-z0-9-]*:iam::aws:/;
|
|
982
|
-
async function readCurrentState$39(physicalId, _logicalId, _resourceType,
|
|
982
|
+
async function readCurrentState$39(physicalId, _logicalId, _resourceType, properties, context) {
|
|
983
983
|
let policy;
|
|
984
984
|
try {
|
|
985
985
|
policy = (await this.iamClient.send(new GetPolicyCommand({ PolicyArn: physicalId }))).Policy;
|
|
@@ -1021,9 +1021,10 @@ async function readCurrentState$39(physicalId, _logicalId, _resourceType, _prope
|
|
|
1021
1021
|
if (!resp.IsTruncated) break;
|
|
1022
1022
|
marker = resp.Marker;
|
|
1023
1023
|
}
|
|
1024
|
-
|
|
1025
|
-
result["
|
|
1026
|
-
result["
|
|
1024
|
+
const own = (key, names) => withoutSiblingOwned(names, collectPrincipalsAttachingPolicy(physicalId, context, key), properties, key);
|
|
1025
|
+
result["Groups"] = own("Groups", groups);
|
|
1026
|
+
result["Roles"] = own("Roles", roles);
|
|
1027
|
+
result["Users"] = own("Users", users);
|
|
1027
1028
|
} catch (err) {
|
|
1028
1029
|
if (!(err instanceof NoSuchEntityException)) throw err;
|
|
1029
1030
|
}
|
|
@@ -1125,8 +1126,8 @@ var IAMManagedPolicyProvider = class {
|
|
|
1125
1126
|
return managedPolicyAttributes(physicalId, resp.Policy)[attributeName];
|
|
1126
1127
|
}
|
|
1127
1128
|
}
|
|
1128
|
-
readCurrentState(physicalId, logicalId, resourceType, properties) {
|
|
1129
|
-
return readCurrentState$39.call(this, physicalId, logicalId, resourceType, properties);
|
|
1129
|
+
readCurrentState(physicalId, logicalId, resourceType, properties, context) {
|
|
1130
|
+
return readCurrentState$39.call(this, physicalId, logicalId, resourceType, properties, context);
|
|
1130
1131
|
}
|
|
1131
1132
|
import(input) {
|
|
1132
1133
|
return importImpl$39.call(this, input);
|
|
@@ -3040,12 +3041,14 @@ async function readUserCurrentState(physicalId, properties, context) {
|
|
|
3040
3041
|
if (user.Path !== void 0) result["Path"] = user.Path;
|
|
3041
3042
|
result["PermissionsBoundary"] = user.PermissionsBoundary?.PermissionsBoundaryArn ?? "";
|
|
3042
3043
|
try {
|
|
3043
|
-
|
|
3044
|
+
const arns = ((await this.iamClient.send(new ListAttachedUserPoliciesCommand({ UserName: physicalId }))).AttachedPolicies ?? []).map((p) => p.PolicyArn).filter((arn) => !!arn);
|
|
3045
|
+
result["ManagedPolicyArns"] = withoutSiblingAttachedArns(arns, collectManagedPolicyArnsAttachedBySiblings(physicalId, context, "Users"), properties);
|
|
3044
3046
|
} catch (err) {
|
|
3045
3047
|
if (!(err instanceof NoSuchEntityException)) throw err;
|
|
3046
3048
|
}
|
|
3047
3049
|
try {
|
|
3048
|
-
|
|
3050
|
+
const names = ((await this.iamClient.send(new ListGroupsForUserCommand({ UserName: physicalId }))).Groups ?? []).map((g) => g.GroupName).filter((n) => !!n);
|
|
3051
|
+
result["Groups"] = withoutSiblingOwned(names, collectGroupsAddedBySiblings(physicalId, context), properties, "Groups", true);
|
|
3049
3052
|
} catch (err) {
|
|
3050
3053
|
if (!(err instanceof NoSuchEntityException)) throw err;
|
|
3051
3054
|
}
|
|
@@ -3069,7 +3072,8 @@ async function readGroupCurrentState(physicalId, properties, context) {
|
|
|
3069
3072
|
if (group.GroupName !== void 0) result["GroupName"] = group.GroupName;
|
|
3070
3073
|
if (group.Path !== void 0) result["Path"] = group.Path;
|
|
3071
3074
|
try {
|
|
3072
|
-
|
|
3075
|
+
const arns = ((await this.iamClient.send(new ListAttachedGroupPoliciesCommand({ GroupName: physicalId }))).AttachedPolicies ?? []).map((p) => p.PolicyArn).filter((arn) => !!arn);
|
|
3076
|
+
result["ManagedPolicyArns"] = withoutSiblingAttachedArns(arns, collectManagedPolicyArnsAttachedBySiblings(physicalId, context, "Groups"), properties);
|
|
3073
3077
|
} catch (err) {
|
|
3074
3078
|
if (!(err instanceof NoSuchEntityException)) throw err;
|
|
3075
3079
|
}
|
|
@@ -19848,6 +19852,7 @@ const SUBNET_POOL_ASSOCIATION_READS = 10;
|
|
|
19848
19852
|
async function prepareSubnetProperties(logicalId, resourceType, properties, context, physicalId, previousProperties) {
|
|
19849
19853
|
let prepared = properties;
|
|
19850
19854
|
for (const key of [
|
|
19855
|
+
"MapPublicIpOnLaunch",
|
|
19851
19856
|
"EnableDns64",
|
|
19852
19857
|
"Ipv6CidrBlock",
|
|
19853
19858
|
"AssignIpv6AddressOnCreation",
|
|
@@ -19933,8 +19938,7 @@ async function createSubnet(logicalId, resourceType, properties, context) {
|
|
|
19933
19938
|
if (!associationId) throw new ProvisioningError(`CreateSubnet returned no IPv6 association ID for ${logicalId}`, resourceType, logicalId, subnetId);
|
|
19934
19939
|
await this.waitForSubnetIpv6Association(logicalId, subnetId, resourceType, associationId, "associated");
|
|
19935
19940
|
}
|
|
19936
|
-
|
|
19937
|
-
if (mapPublicIp === true || mapPublicIp === "true") {
|
|
19941
|
+
if (coerceCfnBoolean(prepared["MapPublicIpOnLaunch"]) === true) {
|
|
19938
19942
|
await this.ec2Client.send(new ModifySubnetAttributeCommand({
|
|
19939
19943
|
SubnetId: subnetId,
|
|
19940
19944
|
MapPublicIpOnLaunch: { Value: true }
|
|
@@ -20008,9 +20012,10 @@ async function updateSubnet(logicalId, physicalId, resourceType, properties, pre
|
|
|
20008
20012
|
if (previousProperties["Ipv6CidrBlock"] === void 0) delete prepared["Ipv6CidrBlock"];
|
|
20009
20013
|
else prepared["Ipv6CidrBlock"] = previousProperties["Ipv6CidrBlock"];
|
|
20010
20014
|
}
|
|
20011
|
-
const
|
|
20012
|
-
const
|
|
20013
|
-
if (newMapPublicIp
|
|
20015
|
+
const newMapPublicIp = coerceCfnBoolean(prepared["MapPublicIpOnLaunch"]);
|
|
20016
|
+
const oldMapPublicIp = coerceCfnBoolean(previousProperties["MapPublicIpOnLaunch"]);
|
|
20017
|
+
if (context?.replayingState === true && newMapPublicIp === void 0 && prepared["MapPublicIpOnLaunch"] === properties["MapPublicIpOnLaunch"] && oldMapPublicIp === true) this.logger.warn(safeMsg`Subnet ${logicalId}: MapPublicIpOnLaunch may stay true after the rollback, since the restored record does not declare it (CloudFormation keeps a removed value)`);
|
|
20018
|
+
if (newMapPublicIp !== void 0 && newMapPublicIp !== oldMapPublicIp) {
|
|
20014
20019
|
await this.ec2Client.send(new ModifySubnetAttributeCommand({
|
|
20015
20020
|
SubnetId: physicalId,
|
|
20016
20021
|
MapPublicIpOnLaunch: { Value: newMapPublicIp }
|
|
@@ -63348,4 +63353,4 @@ var ACMCertificateProvider = class {
|
|
|
63348
63353
|
};
|
|
63349
63354
|
|
|
63350
63355
|
export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, AppConfigEnvironmentProvider, AppSyncProvider, BudgetsBudgetProvider, CloudFrontDistributionProvider, CloudFrontOACProvider, CloudFrontOAIProvider, CloudTrailProvider, CloudWatchAlarmProvider, CloudWatchAnomalyDetectorProvider, CodeBuildProvider, CodeCommitRepositoryProvider, CognitoUserPoolProvider, DLMLifecyclePolicyProvider, DocDBProvider, DocDBSubnetGroupProvider, DynamoDBGlobalTableProvider, DynamoDBTableProvider, EC2Provider, ECRProvider, ECSProvider, EFSProvider, ELBv2Provider, EMRClusterProvider, EMRInstanceFleetConfigProvider, EMRInstanceGroupConfigProvider, ElastiCacheProvider, EventBridgeBusProvider, EventBridgeRuleProvider, FSxFileSystemProvider, FirehoseProvider, GlueConnectionProvider, GlueCrawlerProvider, GlueJobProvider, GlueProvider, GlueSecurityConfigurationProvider, GlueTriggerProvider, GlueWorkflowProvider, IAMAccessKeyProvider, IAMInstanceProfileProvider, IAMManagedPolicyProvider, IAMPolicyProvider, IAMRoleProvider, IAMUserGroupProvider, KMSProvider, KinesisStreamConsumerProvider, KinesisStreamProvider, LambdaEventInvokeConfigProvider, LambdaEventSourceMappingProvider, LambdaFunctionProvider, LambdaLayerVersionProvider, LambdaMicrovmImageProvider, LambdaNetworkConnectorProvider, LambdaPermissionProvider, LambdaUrlProvider, LambdaWebFunctionEndpointProvider, LambdaWebFunctionRevisionProvider, LogsLogGroupProvider, NeptuneProvider, NestedStackProvider, PipesPipeProvider, RDSDBProxyEndpointProvider, RDSDBProxyProvider, RDSDBProxyTargetGroupProvider, RDSProvider, Route53Provider, S3BucketPolicyProvider, S3BucketProvider, S3DirectoryBucketProvider, S3TablesProvider, S3VectorsProvider, SNSSubscriptionProvider, SNSTopicPolicyProvider, SNSTopicProvider, SQSQueuePolicyProvider, SQSQueueProvider, SSMParameterProvider, SchedulerScheduleProvider, SecretsManagerSecretProvider, ServiceDiscoveryProvider, StepFunctionsProvider, WAFv2WebACLProvider, WaitConditionHandleProvider };
|
|
63351
|
-
//# sourceMappingURL=provider-classes-
|
|
63356
|
+
//# sourceMappingURL=provider-classes-BUU9HgA_.js.map
|