@cdkd/cli 0.346.0 → 0.348.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ambient-client-defaults-w6GrD1cQ.js → ambient-client-defaults-7acjxfyN.js} +13 -6
- package/dist/ambient-client-defaults-7acjxfyN.js.map +1 -0
- package/dist/{asg-provider-Bu7rz365.js → asg-provider-r1ojkIvF.js} +6 -6
- package/dist/{asg-provider-Bu7rz365.js.map → asg-provider-r1ojkIvF.js.map} +1 -1
- package/dist/{aws-client-defaults-DP5k4Mfi.js → aws-client-defaults-DAebi99J.js} +13 -5
- package/dist/{aws-client-defaults-DP5k4Mfi.js.map → aws-client-defaults-DAebi99J.js.map} +1 -1
- package/dist/{aws-clients-CUCH-WCd.js → aws-clients-DOkPjjAW.js} +2 -2
- package/dist/{aws-clients-CUCH-WCd.js.map → aws-clients-DOkPjjAW.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{db-instance-modify-retry-CY94H9jp.js → db-instance-modify-retry-BaSXzEMy.js} +4 -4
- package/dist/{db-instance-modify-retry-CY94H9jp.js.map → db-instance-modify-retry-BaSXzEMy.js.map} +1 -1
- package/dist/{deploy-engine-BocT17az.js → deploy-engine-2XoVAu4C.js} +354 -77
- package/dist/deploy-engine-2XoVAu4C.js.map +1 -0
- package/dist/{ecr-uri-Cg53WsUz.js → ecr-uri-C1_heDAt.js} +3 -3
- package/dist/{ecr-uri-Cg53WsUz.js.map → ecr-uri-C1_heDAt.js.map} +1 -1
- package/dist/{iam-role-provider-_bvctXgr.js → iam-role-provider-BnLtoKcW.js} +6 -6
- package/dist/{iam-role-provider-_bvctXgr.js.map → iam-role-provider-BnLtoKcW.js.map} +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{aws-failure-text-jomzO3aT.js → logger-DmQRya0S.js} +148 -59
- package/dist/logger-DmQRya0S.js.map +1 -0
- package/dist/{neptune-provider-CceDOA6q.js → neptune-provider-lzti8HIF.js} +7 -7
- package/dist/{neptune-provider-CceDOA6q.js.map → neptune-provider-lzti8HIF.js.map} +1 -1
- package/dist/{program-DM3nrEl9.js → program-DSlYCm_d.js} +1152 -499
- package/dist/program-DSlYCm_d.js.map +1 -0
- package/dist/{provider-classes-BJRQVOZ0.js → provider-classes-RMTfwJPz.js} +21 -21
- package/dist/provider-classes-RMTfwJPz.js.map +1 -0
- package/dist/{rds-provider-B-TkBvu0.js → rds-provider-COq1pW0G.js} +53 -35
- package/dist/{rds-provider-B-TkBvu0.js.map → rds-provider-COq1pW0G.js.map} +1 -1
- package/dist/{read-replica-IoZoKlpg.js → read-replica-sjvqi8Of.js} +78 -24
- package/dist/read-replica-sjvqi8Of.js.map +1 -0
- package/dist/{update-removal-BjJh8h9m.js → update-removal-D-FspP88.js} +4 -4
- package/dist/{update-removal-BjJh8h9m.js.map → update-removal-D-FspP88.js.map} +1 -1
- package/dist/{version-BdxBmlDu.js → version-DXmr3_M4.js} +2 -2
- package/dist/{version-BdxBmlDu.js.map → version-DXmr3_M4.js.map} +1 -1
- package/package.json +3 -2
- package/dist/ambient-client-defaults-w6GrD1cQ.js.map +0 -1
- package/dist/aws-failure-text-jomzO3aT.js.map +0 -1
- package/dist/deploy-engine-BocT17az.js.map +0 -1
- package/dist/program-DM3nrEl9.js.map +0 -1
- package/dist/provider-classes-BJRQVOZ0.js.map +0 -1
- package/dist/read-replica-IoZoKlpg.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
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
|
|
3
|
-
import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-
|
|
4
|
-
import {
|
|
5
|
-
import { $ as deleteAfterProtectionFlipWithFinalSnapshot, A as setBounded, At as segmentAfterAnchor, B as resolveExplicitPhysicalId, Bt as clearCreatedBeforeFailure, C as AmbiguousCreateLatch, Ct as canonicalizeRoute53QueryName, D as isInsideWindow, Dt as logicalIdShown, E as createAttemptKey, Et as compositeIdSkipResult, F as isQuotableImportValue, Ft as maskDeep, H as assertRegionMatch, I as normalizeAwsTagsToCfn, It as maskerOrIdentity, J as observeThenDisableProtection, Jt as markSupersedesEarlierCreate, K as deleteWithProtectionCompensation, Kt as markAuxiliaryFailure, L as quotedRemedyLogicalId, Lt as withDerivedNameMasks, M as VALUE_NOT_SHOWN, Mt as createMaskedLogSinks, N as isPlainImportJson, Nt as createMaskedRetryLogger, O as replayFollowedAmbiguousAttempt, Ot as packCompositeId, P as isPlainImportValue, Pt as isSecretDerivedValue, Q as PROTECTION_FLIP_RETRY_WAIT_MS, R as refusalTypeShown, S as AMBIGUOUS_LATCH_TTL_MS, St as startInterruptWatch, T as ambiguousAttemptLead, Tt as compositeIdSeparatorRefusal, V as RESOURCE_NOT_FOUND, W as markNotGone, Wt as isAuxiliaryFailure, Y as rdsFamilyProtectionSite, Z as userPoolProtectionSite, _ as onlySecretDerived, _t as renderDisableCommand, a as withRemovalDefaults, at as isTerminalDeleteFailure, b as recordedPrincipalsRepair, cn as injectiveKeyPrefix, ct as ElapsedBudget, f as retractCreatedResource, ft as UNNAMEABLE_ID_CLAUSE, g as holdsSecretDerivedEntry, gt as protectedReplacementAdvice, h as SECRET_DERIVED_READ_LIVE, ht as pasteableAwsCommand, i as removedTemplateKeys, it as ProtectionFlipRegistry, j as withoutServerErrorRetries, jt as stateOrphanRecordRemedy, k as replayedSendWindow, lt as ElapsedBudgetRegistry, mt as isAwsCliLiteral, nt as isTerminalDbWaitStatus, ot as protectionFlipKey, pn as withPasteableAwsProfile, pt as WITHHELD_AWS_COMMAND, q as logGroupProtectionSite, qt as markCreatedBeforeFailure, sn as injectiveKey, t as clearOnUpdateRemoval, tt as isProceedDbStatus, u as reportCreatedResource, v as readPrincipalLists, w as RecentIdSet, wt as compositeIdFormatMessage, xt as isInterruptedWaitError, z as remedyLogicalId } from "./update-removal-
|
|
6
|
-
import { $ as vectorIndexesForCreate, $
|
|
7
|
-
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-
|
|
8
|
-
import {
|
|
9
|
-
import { RDSProvider } from "./rds-provider-
|
|
10
|
-
import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-
|
|
11
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
12
|
-
import { ASGProvider } from "./asg-provider-
|
|
1
|
+
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-BnLtoKcW.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, at as asIsMessage, c as VERBOSE_POINTER, ct as displayIdent, d as describeAwsStatusReason, dt as isPasteableIdent, f as isAwsAuthoredFailure, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, lt as displaySafe, mt as safeMsg, n as getLogger, nt as SECRET_REF_MAX_CODE_POINTS, p as safeStringify, pt as plainIdentOr, q as getCurrentStackInstanceId, u as describeAwsFailure, ut as displayStackName, w as generatedNameFor } from "./logger-DmQRya0S.js";
|
|
3
|
+
import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
|
|
4
|
+
import { Ct as withheldTargetClause, 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, St as shellQuote, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, _t as pasteableCommand, at as ProvisioningError, et as CdkdError, gt as isInertUnquoted, ht as hasClauseBreak, i as credentialFingerprint, mt as commandHole, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, yt as plainOrDescribed, z as isTransientServerError } from "./ambient-client-defaults-7acjxfyN.js";
|
|
5
|
+
import { $ as deleteAfterProtectionFlipWithFinalSnapshot, A as setBounded, At as segmentAfterAnchor, B as resolveExplicitPhysicalId, Bt as clearCreatedBeforeFailure, C as AmbiguousCreateLatch, Ct as canonicalizeRoute53QueryName, D as isInsideWindow, Dt as logicalIdShown, E as createAttemptKey, Et as compositeIdSkipResult, F as isQuotableImportValue, Ft as maskDeep, H as assertRegionMatch, I as normalizeAwsTagsToCfn, It as maskerOrIdentity, J as observeThenDisableProtection, Jt as markSupersedesEarlierCreate, K as deleteWithProtectionCompensation, Kt as markAuxiliaryFailure, L as quotedRemedyLogicalId, Lt as withDerivedNameMasks, M as VALUE_NOT_SHOWN, Mt as createMaskedLogSinks, N as isPlainImportJson, Nt as createMaskedRetryLogger, O as replayFollowedAmbiguousAttempt, Ot as packCompositeId, P as isPlainImportValue, Pt as isSecretDerivedValue, Q as PROTECTION_FLIP_RETRY_WAIT_MS, R as refusalTypeShown, S as AMBIGUOUS_LATCH_TTL_MS, St as startInterruptWatch, T as ambiguousAttemptLead, Tt as compositeIdSeparatorRefusal, V as RESOURCE_NOT_FOUND, W as markNotGone, Wt as isAuxiliaryFailure, Y as rdsFamilyProtectionSite, Z as userPoolProtectionSite, _ as onlySecretDerived, _t as renderDisableCommand, a as withRemovalDefaults, at as isTerminalDeleteFailure, b as recordedPrincipalsRepair, cn as injectiveKeyPrefix, ct as ElapsedBudget, f as retractCreatedResource, ft as UNNAMEABLE_ID_CLAUSE, g as holdsSecretDerivedEntry, gt as protectedReplacementAdvice, h as SECRET_DERIVED_READ_LIVE, ht as pasteableAwsCommand, i as removedTemplateKeys, it as ProtectionFlipRegistry, j as withoutServerErrorRetries, jt as stateOrphanRecordRemedy, k as replayedSendWindow, lt as ElapsedBudgetRegistry, mt as isAwsCliLiteral, nt as isTerminalDbWaitStatus, ot as protectionFlipKey, pn as withPasteableAwsProfile, pt as WITHHELD_AWS_COMMAND, q as logGroupProtectionSite, qt as markCreatedBeforeFailure, sn as injectiveKey, t as clearOnUpdateRemoval, tt as isProceedDbStatus, u as reportCreatedResource, v as readPrincipalLists, w as RecentIdSet, wt as compositeIdFormatMessage, xt as isInterruptedWaitError, z as remedyLogicalId } from "./update-removal-D-FspP88.js";
|
|
6
|
+
import { $ as vectorIndexesForCreate, $c as passedNoEchoParametersOf, Aa as waitForGoneAfterDelete, Ac as findSdkUnwiredProperties, At as enclosingDeadlineExpired, Au as rewriteTemplateAssetReferences, B as reverseMapStreamPolicy, Bc as lambdaFunctionNameForMask, Co as s3BucketWebsiteUrl, Ct as maskedLogger, Dt as S3_AUTO_DELETE_OBJECTS_TAG, Ea as getCurrentResourceSecrets, El as dynamicReferenceTokens, Et as ECR_AUTO_DELETE_IMAGES_TAG, F as STREAM_POLICY_KEY, Fc as blockDeviceMappingsDifferOnlyInDeleteOnTermination, Fd as derivePartitionAndUrlSuffix, G as streamTagsMatchDeclared, Ga as reEnableInstanceApiTermination, Gi as maskedSecretSegment, Go as isUsableAttemptedName, Gt as markRefusedBeforeApplying, H as streamDeclaresTags, Ha as isTerminationProtectionPropagationError, I as STREAM_TAGS_KEY, J as planTimeToLive, Jt as isAccessDeniedError, K as isTtlAlreadyDisabled, Ka as onlySecretReferencesDiffer, L as declaredStreamPolicyMember, Lc as ecsServiceLaunchTypeSetOrChanged, Lo as getAccountInfo, Mc as withoutSdkUnwiredProperties, Ml as recoverMaskedOutput, Mo as parseWebACLArn, Mr as getCurrentProducerRegions, Na as slowCcOperationTimeoutMs, Nl as physicalNameCopiesOf, Oa as waitForLambdaFunctionActive, Ot as hasCdkAutoDeleteTag, P as DynamoDBGlobalTableProvider, Pd as canonicalizeRegion, Pl as recordAttributeIdCopy, Po as outputReferenceProvenanceOf, Q as readbackVectorIndexes, Qd as resolveAssemblyPath, R as declaredStreamTagsMember, Ra as deleteSkipReason, Rc as emrClusterInstancesReplaced, Rl as carriesSecretMask, Sc as withheldAccountClause, So as s3BucketRegionalDomainName, St as deleteTableWithIndexBusyRetry, Tt as waitForIndexesSettled, Tu as stringifyValue, U as streamMemberRefusals, Ua as observeThenDisableInstanceApiTermination, V as streamDeclaresPolicy, Va as ec2InstanceProtectionSite, Vc as sameLambdaFunctionAddress, W as streamPolicyMatchesDeclared, Wa as reDisableInstanceApiTermination, Wi as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Wt as getPriorAttempts, X as sendTtlWaitingOutRateLimit, Xd as displayAssemblyPath, Xt as withApiLimit, Y as readTtlSpec, Yd as describeFileReadFailure, Yt as lookupEachName, Z as planVectorIndexUpdates, Zd as renderAssemblyPathEscape, _ as listNestedTemplateRows, _t as resolveDynamoDbDeleteBudgetClock, aa as stringifyIfAssigned, al as redactForState, ar as acquireIdempotencyToken, as as isWarmThroughputDecrease, at as planContributorInsightsOp, bo as s3BucketDomainName, br as redactedDeleteAddressFields, bt as INDEX_SETTLE_POLL_INTERVAL_MS, ca as planTagDiff, ct as reverseMapIndexContributorInsights, da as tagMapAsList, dn as withNestedStackContext, ds as withRetry, dt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, et as vectorIndexesSettled, fa as tagPlanWarning, ft as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, g as isAbsoluteAssetPath, gc as refuseMalformedResourcesForDestroy, gt as deleteBudgetKey, h as findNestedTemplateTreeDefect, ht as compensateRemovedDeletionProtection, ia as definedAttributes, ii as getStackRecords, il as markSameGenerationBag, is as coerceWarmThroughput$1, it as indexDeclaresContributorInsights, ja as resolvedResourceTimeoutMs, jd as decodeListingKey, jt as enclosingDeadlineRemainingMs, kt as isTruthyCfnBoolean, la as readTagList, lt as reverseMapTableContributorInsights, ma as markDeleteStarted, mt as beginDeleteWait, ni as awaitInFlightSibling, nt as CONTRIBUTOR_INSIGHTS_KEY, oa as DBPROXY_TAGS_WHAT, oc as refuseMalformedNestedChildOutputs, oi as replacedDeleteFailureVerdict, ol as recordReferenceProvenanceEntry, on as revertNestedChildFromJournal, os as toCfnInteger, ot as planIndexContributorInsightsOps, pa as isRefusedByName, ps as passedParameterClassesOf, pt as DYNAMODB_DELETE_POLL_COST_MS, pu as timePhase, q as isTtlRateLimited, qa as unchangedBehindSecretReference, qt as chunks, rn as getNestedRevertRun, rr as reserveStackCreateToken, rs as WARM_THROUGHPUT_MEMBERS, rt as contributorInsightsRefusals, sa as DBPROXY_TAG_OPTIONS, sl as snapshotPassProvenance, ss as toFiniteNumber, st as readContributorInsightsSpec, t as DeployEngine, to as isSettledInstanceState, tr as earliestDefined, tt as vectorIndexesShapeDetail, ua as refuseMalformedDesiredTags, ul as hasMaskableValues, un as getCurrentNestedStackContext, ut as stripIndexContributorInsights, v as renderNestedTemplateTreeDefect, vi as refuseRestoreFromItself, vr as REDACTED_DELETE_ADDRESS_SKIP_REASON, vt as resolveDynamoDbDeleteBudgetMs, wl as withoutPhysicalNameCopies, wt as relayedIndexBusyDelete, xc as accountArgs, xo as s3BucketDualStackDomainName, xr as redactedDeleteAddressSkip, xt as TABLE_INDEX_NOUN, yo as s3BucketArn, yr as isRedactedRecordedValue, yt as DELETE_INDEX_WAIT_PROCEED_NOTE, z as planStreamMemberOps, za as withIndeterminateGuard, zc as canonicalLambdaFunctionName, zi as secretNamedAttributeNamesOf } from "./deploy-engine-2XoVAu4C.js";
|
|
7
|
+
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-DSlYCm_d.js";
|
|
8
|
+
import { f as ambientRegion } from "./aws-client-defaults-DAebi99J.js";
|
|
9
|
+
import { RDSProvider } from "./rds-provider-COq1pW0G.js";
|
|
10
|
+
import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-BaSXzEMy.js";
|
|
11
|
+
import { NeptuneProvider } from "./neptune-provider-lzti8HIF.js";
|
|
12
|
+
import { ASGProvider } from "./asg-provider-r1ojkIvF.js";
|
|
13
13
|
import { createHash, randomUUID } from "node:crypto";
|
|
14
14
|
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";
|
|
15
15
|
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";
|
|
@@ -224,10 +224,10 @@ async function detachPartialPolicy(logicalId, policyName, attached, sinks, maskS
|
|
|
224
224
|
if (failure.redacted) log.debug(`Failed to detach the partially-created IAM policy ${logicalId} (${v(policyName)}) from ${step.what}: ${failure.detail}`);
|
|
225
225
|
withheld ||= failure.redacted;
|
|
226
226
|
const tail = ` ${VERBOSE_POINTER}`;
|
|
227
|
-
const reason = !failure.redacted ? failure.detail : failure.summary.endsWith(tail) ? failure.summary.slice(0, -tail.length).replace(/\.$/, "")
|
|
227
|
+
const reason = !failure.redacted ? failure.detail : (failure.summary.endsWith(tail) ? failure.summary.slice(0, -tail.length) : failure.summary).replace(/\.$/, "");
|
|
228
228
|
failed.push(`${step.what} (${log.mask(reason)}): ${step.command}`);
|
|
229
229
|
}
|
|
230
|
-
if (failed.length > 0) log.warn(`Failed to detach the partially-created IAM policy ${logicalId} (${v(policyName)}) after its create failed; cdkd has no record of it, so it stays attached and granting until it is removed by hand${withheld ? ` (${VERBOSE_POINTER.replace(/\.$/, "")})` : ""}: ${failed.join("; ")}`);
|
|
230
|
+
if (failed.length > 0) log.warn(`Failed to detach the partially-created IAM policy ${logicalId} (${v(policyName)}) after its create failed; cdkd has no record of it, so it stays attached and granting until it is removed by hand${withheld && verbosePointerSentence() ? ` (${VERBOSE_POINTER.replace(/\.$/, "")})` : ""}: ${failed.join("; ")}`);
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
// src/provisioning/providers/iam-policy/update.ts
|
|
@@ -4606,7 +4606,7 @@ function carriesBucketRegionHeader(error) {
|
|
|
4606
4606
|
function probeFailedCause(errorName) {
|
|
4607
4607
|
return {
|
|
4608
4608
|
why: `the GetBucketLocation identity check failed (${errorName})`,
|
|
4609
|
-
remedy:
|
|
4609
|
+
remedy: `${verbosePointerSentence()}Re-run the destroy once the check can succeed, or grant s3:GetBucketLocation on the bucket (a bucket policy can Deny it), to have the guard verify the target first.`
|
|
4610
4610
|
};
|
|
4611
4611
|
}
|
|
4612
4612
|
function noRecordedRegionCause() {
|
|
@@ -6001,7 +6001,7 @@ async function create$38(logicalId, resourceType, properties, context) {
|
|
|
6001
6001
|
if (createdNewBucket) windowSpent = true;
|
|
6002
6002
|
if (preflight.kind === "region" && preflight.region !== "us-east-1") this.refuseForeignRegionAdopt(logicalId, resourceType, bucketName, "us-east-1", preflight.region);
|
|
6003
6003
|
if (preflight.kind === "region" && !adoptedOwnLeftover) this.logger.warn(`S3 bucket ${this.shown(bucketName)} for ${displaySafe(logicalId)} (${resourceType}) already existed in ${preflight.region} and was ADOPTED, not created. In us-east-1 S3 answers a re-create of a bucket you already own with 200 OK and RESETS that bucket's access control lists, so any ACL previously set on ${this.shown(bucketName)} is now the default. cdkd will not delete this bucket if the rest of this create fails.`);
|
|
6004
|
-
if (ownershipUnknown !== void 0 && preflight.kind === "indeterminate") this.logger.warn(safeMsg`S3 bucket ${this.shown(bucketName)} for ${displaySafe(logicalId)} (${resourceType}) was ` + `sent to CreateBucket without knowing whether a bucket of that explicit name ` + safeMsg`already existed: the region probe (${preflight.errorName}) and the bucket ` + safeMsg`listing (${ownershipUnknown}) both failed. In us-east-1 CreateBucket answers 200 ` +
|
|
6004
|
+
if (ownershipUnknown !== void 0 && preflight.kind === "indeterminate") this.logger.warn(safeMsg`S3 bucket ${this.shown(bucketName)} for ${displaySafe(logicalId)} (${resourceType}) was ` + `sent to CreateBucket without knowing whether a bucket of that explicit name ` + safeMsg`already existed: the region probe (${preflight.errorName}) and the bucket ` + safeMsg`listing (${ownershipUnknown}) both failed. In us-east-1 CreateBucket answers 200 ` + `OK over a bucket you own, so if one existed it has now been configured and ` + safeMsg`recorded as this stack's.${verbosePointerTail()}`);
|
|
6005
6005
|
this.logger.debug(`Created S3 bucket: ${this.shown(bucketName)}`);
|
|
6006
6006
|
} catch (createError) {
|
|
6007
6007
|
if (createError instanceof ProvisioningError) throw createError;
|
|
@@ -6047,11 +6047,11 @@ async function create$38(logicalId, resourceType, properties, context) {
|
|
|
6047
6047
|
this.logger.debug(`Cleaned up partially-created S3 bucket ${displaySafe(logicalId)} (${this.shown(bucketName)}) after wiring failure`);
|
|
6048
6048
|
} catch (cleanupError) {
|
|
6049
6049
|
this.logger.debug(`DeleteBucket cleanup failed for S3 bucket ${displaySafe(logicalId)} (${this.shown(bucketName)}): ${describeAwsFailure(cleanupError).detail}`);
|
|
6050
|
-
this.logger.warn(safeMsg`Failed to clean up partially-created S3 bucket ${displaySafe(logicalId)} (${this.shown(bucketName)}) ` + safeMsg`(${cleanupError instanceof Error ? cleanupError.name : typeof cleanupError}). ` + `
|
|
6050
|
+
this.logger.warn(safeMsg`Failed to clean up partially-created S3 bucket ${displaySafe(logicalId)} (${this.shown(bucketName)}) ` + safeMsg`(${cleanupError instanceof Error ? cleanupError.name : typeof cleanupError}). ` + safeMsg`${verbosePointerSentence()}` + safeMsg`${manualBucketDeletionClause(bucketName, this.shownMask, true)}`);
|
|
6051
6051
|
}
|
|
6052
6052
|
else if (preflight.kind === "indeterminate") {
|
|
6053
6053
|
this.logger.debug(`GetBucketLocation failed for S3 bucket ${this.shown(bucketName)} (${displaySafe(logicalId)}) during create: ${preflight.reason}`);
|
|
6054
|
-
this.logger.warn(safeMsg`Not cleaning up S3 bucket ${displaySafe(logicalId)} (${this.shown(bucketName)}) after a wiring failure: ` + `this deploy could not confirm whether it created the bucket (region probe failed: ` + safeMsg`${preflight.errorName}), and in us-east-1 a successful CreateBucket does not ` +
|
|
6054
|
+
this.logger.warn(safeMsg`Not cleaning up S3 bucket ${displaySafe(logicalId)} (${this.shown(bucketName)}) after a wiring failure: ` + `this deploy could not confirm whether it created the bucket (region probe failed: ` + safeMsg`${preflight.errorName}), and in us-east-1 a successful CreateBucket does not ` + safeMsg`prove it. ${verbosePointerSentence()}If cdkd created it, the ` + `bucket is an orphan. ` + safeMsg`${manualBucketDeletionClause(bucketName, this.shownMask, false)}`);
|
|
6055
6055
|
}
|
|
6056
6056
|
throw markAuxiliaryFailure(innerError, logicalId);
|
|
6057
6057
|
}
|
|
@@ -31873,7 +31873,7 @@ function wrapWaiterResultError(error, logicalId, log) {
|
|
|
31873
31873
|
}
|
|
31874
31874
|
if (typeof state !== "string" || !/^[A-Z]+$/.test(state)) return error;
|
|
31875
31875
|
log.debug(`ECS service ${logicalId} ServicesStable waiter result: ${error.message}`);
|
|
31876
|
-
const reduced = new Error(`the ServicesStable waiter ended in state ${state}${error.name && error.name !== "Error" ? ` (${error.name})` : ""}
|
|
31876
|
+
const reduced = new Error(`the ServicesStable waiter ended in state ${state}${error.name && error.name !== "Error" ? ` (${error.name})` : ""}.${verbosePointerTail()}`, { cause: error });
|
|
31877
31877
|
reduced.name = error.name;
|
|
31878
31878
|
return markRedactedCause(reduced);
|
|
31879
31879
|
}
|
|
@@ -32885,7 +32885,7 @@ async function importCluster(input) {
|
|
|
32885
32885
|
const unanswered = (resp.failures ?? []).find((f) => f.reason !== "MISSING");
|
|
32886
32886
|
if (unanswered !== void 0) {
|
|
32887
32887
|
if (unanswered.detail !== void 0) this.logger.debug(`DescribeClusters failure detail for cluster ${displaySafe(explicit)}: ${displaySafe(unanswered.detail)}`);
|
|
32888
|
-
throw new Error(`DescribeClusters did not answer for cluster ${displaySafe(explicit)}: ${displaySafe(unanswered.reason ?? "no reason given")}` + (unanswered.detail !== void 0 ?
|
|
32888
|
+
throw new Error(`DescribeClusters did not answer for cluster ${displaySafe(explicit)}: ${displaySafe(unanswered.reason ?? "no reason given")}` + (unanswered.detail !== void 0 ? `.${verbosePointerTail()}` : ""));
|
|
32889
32889
|
}
|
|
32890
32890
|
return null;
|
|
32891
32891
|
}
|
|
@@ -62932,4 +62932,4 @@ var ACMCertificateProvider = class {
|
|
|
62932
62932
|
};
|
|
62933
62933
|
|
|
62934
62934
|
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 };
|
|
62935
|
-
//# sourceMappingURL=provider-classes-
|
|
62935
|
+
//# sourceMappingURL=provider-classes-RMTfwJPz.js.map
|