@go-to-k/cdkd 0.296.8 → 0.296.10
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-BDJ1qN0J.js → asg-provider-Dxc7pRNy.js} +3 -3
- package/dist/{asg-provider-BDJ1qN0J.js.map → asg-provider-Dxc7pRNy.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-iXgQFHYR.js → deploy-engine-CpI6zpP3.js} +41 -24
- package/dist/{deploy-engine-iXgQFHYR.js.map → deploy-engine-CpI6zpP3.js.map} +1 -1
- package/dist/{iam-policy-targets-td1X_kKN.js → iam-policy-targets-BREzwsG6.js} +9 -8
- package/dist/iam-policy-targets-BREzwsG6.js.map +1 -0
- package/dist/{iam-role-provider-B1Ma2zVK.js → iam-role-provider-DwUk13DS.js} +3 -3
- package/dist/{iam-role-provider-B1Ma2zVK.js.map → iam-role-provider-DwUk13DS.js.map} +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/{neptune-provider-C-WMp2hQ.js → neptune-provider-Br7yS2dy.js} +3 -3
- package/dist/{neptune-provider-C-WMp2hQ.js.map → neptune-provider-Br7yS2dy.js.map} +1 -1
- package/dist/{program-CPziYRDp.js → program-CXEHAcOO.js} +114 -47
- package/dist/program-CXEHAcOO.js.map +1 -0
- package/dist/{provider-classes-CxXTKgEM.js → provider-classes-DbpGX0KN.js} +36 -21
- package/dist/provider-classes-DbpGX0KN.js.map +1 -0
- package/dist/{rds-provider-C193wAF8.js → rds-provider-C6t144QY.js} +3 -3
- package/dist/{rds-provider-C193wAF8.js.map → rds-provider-C6t144QY.js.map} +1 -1
- package/dist/{version-Br6yDF8t.js → version-VBHkBg7c.js} +2 -2
- package/dist/{version-Br6yDF8t.js.map → version-VBHkBg7c.js.map} +1 -1
- package/package.json +1 -1
- package/dist/iam-policy-targets-td1X_kKN.js.map +0 -1
- package/dist/program-CPziYRDp.js.map +0 -1
- package/dist/provider-classes-CxXTKgEM.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as getAwsClients } from "./aws-clients-CnmtbrxD.js";
|
|
2
2
|
import { A as displayIdent, F as plainIdentOr, I as safeMsg, M as displayStackName, N as isPasteableIdent, T as SECRET_REF_MAX_CODE_POINTS, _ as generateResourceNameWithFallback, g as generateResourceName, j as displaySafe, n as getLogger } from "./logger-DAaB7GFO.js";
|
|
3
|
-
import { $ as compositeIdFormatMessage, $n as markRedactedCause, A as isTerminalDeleteFailure, B as WITHHELD_AWS_COMMAND, C as refusalTypeShown, D as ProtectionFlipRegistry, Dn as shellQuote, H as pasteableAwsCommand, Ht as AccountIdUnavailableError, J as isInterruptedWaitError, Jn as safeStringify, Kn as describeAwsFailure, L as userPoolProtectionSite, Ln as markNameCollision, Lt as withPasteableAwsProfile, M as observeThenDisableProtection, Mt as injectiveKey, N as protectionFlipKey, Nt as injectiveKeyPrefix, On as withheldTargetClause, P as rdsFamilyProtectionSite, Q as canonicalizeRoute53QueryName, Qn as markNonRetryable, Rn as markReplayMayCollide, Rt as ambientClientDefaults, S as quotedRemedyLogicalId, Sn as pasteableCommand, T as resolveExplicitPhysicalId, U as protectedReplacementAdvice, Un as isRetryableTransientError, V as isAwsCliLiteral, Vn as isAmbiguousOutcomeError, Vt as credentialFingerprint, W as renderDisableCommand, Wn as isTransientServerError, Wt as CdkdError, X as ElapsedBudgetRegistry, Xn as isMarkedNonRetryable, Y as startInterruptWatch, Yn as THROTTLING_ERROR_NAMES, Zn as isThrottlingError, _ as VALUE_NOT_SHOWN, a as onlySecretDerived, at as segmentAfterAnchor, b as isQuotableImportValue, bn as hasClauseBreak, bt as markAuxiliaryFailure, c as recordedPrincipalsRepair, ct as createMaskedRetryLogger, dt as maskerOrIdentity, er as wrapMaskedAwsError, et as compositeIdSeparatorRefusal, ft as withDerivedNameMasks, g as assertRegionMatch, h as RESOURCE_NOT_FOUND, ht as clearCreatedBeforeFailure, i as holdsSecretDerivedEntry, in as ProvisioningError, j as logGroupProtectionSite, k as deleteWithProtectionCompensation, lt as isSecretDerivedValue, nt as logicalIdShown, o as readPrincipalLists, on as ResourceUpdateNotSupportedError, ot as stateOrphanRecordRemedy, p as withRemovalDefaults, qn as isAwsAuthoredFailure, r as SECRET_DERIVED_READ_LIVE, rt as packCompositeId, st as createMaskedLogSinks, tt as compositeIdSkipResult, u as clearOnUpdateRemoval, ut as maskDeep, v as isPlainImportJson, w as remedyLogicalId, wn as plainOrDescribed, x as normalizeAwsTagsToCfn, xn as isInertUnquoted, xt as markCreatedBeforeFailure, y as isPlainImportValue, yn as commandHole, z as UNNAMEABLE_ID_CLAUSE, zt as ambientCredentialConfig } from "./iam-policy-targets-
|
|
3
|
+
import { $ as compositeIdFormatMessage, $n as markRedactedCause, A as isTerminalDeleteFailure, B as WITHHELD_AWS_COMMAND, C as refusalTypeShown, D as ProtectionFlipRegistry, Dn as shellQuote, H as pasteableAwsCommand, Ht as AccountIdUnavailableError, J as isInterruptedWaitError, Jn as safeStringify, Kn as describeAwsFailure, L as userPoolProtectionSite, Ln as markNameCollision, Lt as withPasteableAwsProfile, M as observeThenDisableProtection, Mt as injectiveKey, N as protectionFlipKey, Nt as injectiveKeyPrefix, On as withheldTargetClause, P as rdsFamilyProtectionSite, Q as canonicalizeRoute53QueryName, Qn as markNonRetryable, Rn as markReplayMayCollide, Rt as ambientClientDefaults, S as quotedRemedyLogicalId, Sn as pasteableCommand, T as resolveExplicitPhysicalId, U as protectedReplacementAdvice, Un as isRetryableTransientError, V as isAwsCliLiteral, Vn as isAmbiguousOutcomeError, Vt as credentialFingerprint, W as renderDisableCommand, Wn as isTransientServerError, Wt as CdkdError, X as ElapsedBudgetRegistry, Xn as isMarkedNonRetryable, Y as startInterruptWatch, Yn as THROTTLING_ERROR_NAMES, Zn as isThrottlingError, _ as VALUE_NOT_SHOWN, a as onlySecretDerived, at as segmentAfterAnchor, b as isQuotableImportValue, bn as hasClauseBreak, bt as markAuxiliaryFailure, c as recordedPrincipalsRepair, ct as createMaskedRetryLogger, dt as maskerOrIdentity, er as wrapMaskedAwsError, et as compositeIdSeparatorRefusal, ft as withDerivedNameMasks, g as assertRegionMatch, h as RESOURCE_NOT_FOUND, ht as clearCreatedBeforeFailure, i as holdsSecretDerivedEntry, in as ProvisioningError, j as logGroupProtectionSite, k as deleteWithProtectionCompensation, lt as isSecretDerivedValue, nt as logicalIdShown, o as readPrincipalLists, on as ResourceUpdateNotSupportedError, ot as stateOrphanRecordRemedy, p as withRemovalDefaults, qn as isAwsAuthoredFailure, r as SECRET_DERIVED_READ_LIVE, rt as packCompositeId, st as createMaskedLogSinks, tt as compositeIdSkipResult, u as clearOnUpdateRemoval, ut as maskDeep, v as isPlainImportJson, w as remedyLogicalId, wn as plainOrDescribed, x as normalizeAwsTagsToCfn, xn as isInertUnquoted, xt as markCreatedBeforeFailure, y as isPlainImportValue, yn as commandHole, z as UNNAMEABLE_ID_CLAUSE, zt as ambientCredentialConfig } from "./iam-policy-targets-BREzwsG6.js";
|
|
4
4
|
import { s as ambientRegion } from "./aws-client-defaults-D0q0z4dG.js";
|
|
5
|
-
import { $n as deleteSkipReason, $
|
|
6
|
-
import { a as AmbiguousCreateLatch, c as isInsideWindow, i as AMBIGUOUS_LATCH_TTL_MS, l as setBounded, n as collectInlinePolicyNamesManagedBySiblings, o as RecentIdSet, r as IamCreateClientCache, s as createAttemptKey, t as IAMRoleProvider, u as withoutServerErrorRetries } from "./iam-role-provider-
|
|
7
|
-
import { a as canonicalizeIpProtocolValue, i as resolveSecretDerivedPrincipals, n as runDestroyForStack, o as resolvedResourceTimeoutMs, r as isResolvableSecretPrincipalList, t as canonicalizeIpv4Cidr } from "./program-
|
|
8
|
-
import { RDSProvider } from "./rds-provider-
|
|
9
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
10
|
-
import { ASGProvider } from "./asg-provider-
|
|
5
|
+
import { $n as deleteSkipReason, $r as accountArgs, A as resolveDynamoDbDeleteBudgetClock, Aa as replayWarn, An as acquireIdempotencyToken, Ar as s3BucketWebsiteUrl, B as getPriorAttempts, Ba as sameLambdaFunctionAddress, Ca as toFiniteNumber, Ct as getStackRecords, D as beginDeleteWait, Da as configIntegerRefusal, Dr as s3BucketDomainName, E as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, Ea as configBooleanRefusal, En as earliestDefined, Er as s3BucketArn, F as waitForIndexesSettled, Fn as refuseMalformedDesiredTags, Gn as getCurrentResourceSecrets, I as ECR_AUTO_DELETE_IMAGES_TAG, In as tagMapAsList, It as REDACTED_DELETE_ADDRESS_SKIP_REASON, Ji as refuseMalformedResourcesForDestroy, Jn as slowCcOperationTimeoutMs, Ka as hasMaskableValues, Ko as stringifyValue, L as S3_AUTO_DELETE_OBJECTS_TAG, La as withRetry, Ln as tagPlanWarning, Lt as isRedactedRecordedValue, M as DELETE_INDEX_WAIT_PROCEED_NOTE, Ma as requireConfigObject, Mn as DBPROXY_TAG_OPTIONS, N as INDEX_SETTLE_POLL_INTERVAL_MS, Na as requireConfigString, Nn as planTagDiff, O as compensateRemovedDeletionProtection, Oa as configStringRefusal, Oi as refuseMalformedNestedChildOutputs, On as reserveStackCreateToken, Or as s3BucketDualStackDomainName, P as deleteTableWithIndexBusyRetry, Pn as readTagList, Pr as getAccountInfo, Pt as getCurrentProducerRegions, R as hasCdkAutoDeleteTag, Ra as canonicalLambdaFunctionName, Rn as definedAttributes, Rt as redactedDeleteAddressFields, Sa as toCfnInteger, T as DynamoDBGlobalTableProvider, Ta as coerceCfnInteger, Tr as isSettledInstanceState, V as markRefusedBeforeApplying, Wr as parseWebACLArn, Xn as unchangedBehindSecretReference, Zo as rewriteTemplateAssetReferences, Zs as decodeListingKey, _t as getCurrentNestedStackContext, a as findNestedTemplateTreeDefect, ar as isTerminationProtectionPropagationError, ba as coerceWarmThroughput$1, c as renderNestedTemplateTreeDefect, ca as findSilentDropProperties, cr as reEnableInstanceApiTermination, dc as describeFileReadFailure, dt as getNestedRevertRun, ec as canonicalizeRegion, er as withIndeterminateGuard, fc as displayAssemblyPath, fo as recoverMaskedOutput, io as redactSecretsForState, ir as ec2InstanceProtectionSite, j as resolveDynamoDbDeleteBudgetMs, ja as requireConfigArray, jn as DBPROXY_TAGS_WHAT, k as deleteBudgetKey, ka as readConfigString, kr as s3BucketRegionalDomainName, mc as resolveAssemblyPath, mo as carriesSecretMask, mt as revertNestedChildFromJournal, nr as markWaitAbandoned, o as isAbsoluteAssetPath, oa as withheldAccountClause, or as observeThenDisableInstanceApiTermination, pc as renderAssemblyPathEscape, qr as passedParameterClassesOf, ro as markSameGenerationBag, s as listNestedTemplateRows, so as dynamicReferenceTokens, sr as reDisableInstanceApiTermination, t as DeployEngine, tc as derivePartitionAndUrlSuffix, tr as isWaitAbandonedError, ua as withoutSilentDropProperties, vt as withNestedStackContext, wa as coerceCfnBoolean, xa as isWarmThroughputDecrease, xt as awaitInFlightSibling, ya as WARM_THROUGHPUT_MEMBERS, z as isTruthyCfnBoolean, za as lambdaFunctionNameForMask, zn as stringifyIfAssigned, zt as redactedDeleteAddressSkip } from "./deploy-engine-CpI6zpP3.js";
|
|
6
|
+
import { a as AmbiguousCreateLatch, c as isInsideWindow, i as AMBIGUOUS_LATCH_TTL_MS, l as setBounded, n as collectInlinePolicyNamesManagedBySiblings, o as RecentIdSet, r as IamCreateClientCache, s as createAttemptKey, t as IAMRoleProvider, u as withoutServerErrorRetries } from "./iam-role-provider-DwUk13DS.js";
|
|
7
|
+
import { a as canonicalizeIpProtocolValue, i as resolveSecretDerivedPrincipals, n as runDestroyForStack, o as resolvedResourceTimeoutMs, r as isResolvableSecretPrincipalList, t as canonicalizeIpv4Cidr } from "./program-CXEHAcOO.js";
|
|
8
|
+
import { RDSProvider } from "./rds-provider-C6t144QY.js";
|
|
9
|
+
import { NeptuneProvider } from "./neptune-provider-Br7yS2dy.js";
|
|
10
|
+
import { ASGProvider } from "./asg-provider-Dxc7pRNy.js";
|
|
11
11
|
import { createHash, randomUUID } from "node:crypto";
|
|
12
12
|
import { CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client } from "@aws-sdk/client-s3";
|
|
13
13
|
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, UpdateLoginProfileCommand } from "@aws-sdk/client-iam";
|
|
@@ -12159,6 +12159,7 @@ var CloudWatchAlarmProvider = class {
|
|
|
12159
12159
|
|
|
12160
12160
|
//#endregion
|
|
12161
12161
|
//#region src/provisioning/providers/cloudwatch-anomaly-detector-provider.ts
|
|
12162
|
+
const ID_ATTRIBUTES = ["AnomalyDetectorId", "Id"];
|
|
12162
12163
|
var CloudWatchAnomalyDetectorProvider = class {
|
|
12163
12164
|
cloudWatchClient;
|
|
12164
12165
|
logger = getLogger().child("CloudWatchAnomalyDetectorProvider");
|
|
@@ -12187,7 +12188,10 @@ var CloudWatchAnomalyDetectorProvider = class {
|
|
|
12187
12188
|
this.logger.debug(`Successfully created CloudWatch anomaly detector ${logicalId}: ${physicalId}`);
|
|
12188
12189
|
return {
|
|
12189
12190
|
physicalId,
|
|
12190
|
-
attributes: {
|
|
12191
|
+
attributes: {
|
|
12192
|
+
AnomalyDetectorId: physicalId,
|
|
12193
|
+
Id: physicalId
|
|
12194
|
+
}
|
|
12191
12195
|
};
|
|
12192
12196
|
} catch (error) {
|
|
12193
12197
|
const cause = error instanceof Error ? error : void 0;
|
|
@@ -12202,7 +12206,10 @@ var CloudWatchAnomalyDetectorProvider = class {
|
|
|
12202
12206
|
return {
|
|
12203
12207
|
physicalId,
|
|
12204
12208
|
wasReplaced: false,
|
|
12205
|
-
attributes: {
|
|
12209
|
+
attributes: {
|
|
12210
|
+
AnomalyDetectorId: physicalId,
|
|
12211
|
+
Id: physicalId
|
|
12212
|
+
}
|
|
12206
12213
|
};
|
|
12207
12214
|
} catch (error) {
|
|
12208
12215
|
const cause = error instanceof Error ? error : void 0;
|
|
@@ -12236,13 +12243,16 @@ var CloudWatchAnomalyDetectorProvider = class {
|
|
|
12236
12243
|
}
|
|
12237
12244
|
}
|
|
12238
12245
|
async getAttribute(physicalId, resourceType, attributeName, logicalId) {
|
|
12239
|
-
if (attributeName
|
|
12240
|
-
throw new ProvisioningError(`Unknown attribute ${attributeName} for ${resourceType} (only 'Id'
|
|
12246
|
+
if (ID_ATTRIBUTES.includes(attributeName)) return physicalId;
|
|
12247
|
+
throw new ProvisioningError(`Unknown attribute ${attributeName} for ${resourceType} (only 'AnomalyDetectorId' and 'Id' are defined)`, resourceType, logicalId, physicalId);
|
|
12241
12248
|
}
|
|
12242
12249
|
async import(input) {
|
|
12243
12250
|
if (input.knownPhysicalId) return {
|
|
12244
12251
|
physicalId: input.knownPhysicalId,
|
|
12245
|
-
attributes: {
|
|
12252
|
+
attributes: {
|
|
12253
|
+
AnomalyDetectorId: input.knownPhysicalId,
|
|
12254
|
+
Id: input.knownPhysicalId
|
|
12255
|
+
}
|
|
12246
12256
|
};
|
|
12247
12257
|
return null;
|
|
12248
12258
|
}
|
|
@@ -43121,11 +43131,7 @@ var NestedStackProvider = class {
|
|
|
43121
43131
|
this.logger.debug(`Nested stack ${displaySafe(childStackName)} has no state — treating delete as idempotent success.`);
|
|
43122
43132
|
return;
|
|
43123
43133
|
}
|
|
43124
|
-
refuseMalformedResourcesForDestroy(childStateData.state, childStackName, childRegion,
|
|
43125
|
-
profile: ctx.destroyOptions?.profile,
|
|
43126
|
-
stateBucket: ctx.stateBucket,
|
|
43127
|
-
statePrefix: ctx.destroyOptions?.statePrefix
|
|
43128
|
-
});
|
|
43134
|
+
refuseMalformedResourcesForDestroy(childStateData.state, childStackName, childRegion, runAccountOf(ctx));
|
|
43129
43135
|
const resourceCount = Object.keys(childStateData.state.resources).length;
|
|
43130
43136
|
this.logger.info(`Destroying nested stack ${displaySafe(childStackName)} (logicalId=${displaySafe(logicalId)}, ${resourceCount} resource(s))`);
|
|
43131
43137
|
const childCtx = {
|
|
@@ -43157,12 +43163,14 @@ var NestedStackProvider = class {
|
|
|
43157
43163
|
...ctx.destroyOptions?.resourceTimeoutByType && { resourceTimeoutByType: ctx.destroyOptions.resourceTimeoutByType }
|
|
43158
43164
|
}));
|
|
43159
43165
|
if (childResult.errorCount > 0) {
|
|
43166
|
+
const account = runAccountOf(ctx);
|
|
43167
|
+
const accountClause = withheldAccountClause(account, "the command below prints").trimEnd();
|
|
43160
43168
|
const inspect = pasteableCommand("cdkd state show", [{
|
|
43161
43169
|
value: childStackName,
|
|
43162
43170
|
hole: "stack",
|
|
43163
43171
|
opts: { plainIdent: true }
|
|
43164
|
-
}]);
|
|
43165
|
-
const failure = new Error(nestedStackChildFailureMessage(plainOrDescribed(childStackName, "stack name"), childResult.errorCount, childResult.skippedCount, childResult.interrupted, inspect.command, withheldTargetClause(inspect, "stack", "cdkd state show", "The child stack's name")));
|
|
43172
|
+
}, ...accountArgs(account)]);
|
|
43173
|
+
const failure = new Error(nestedStackChildFailureMessage(plainOrDescribed(childStackName, "stack name"), childResult.errorCount, childResult.skippedCount, childResult.interrupted, inspect.command, withheldTargetClause(inspect, "stack", "cdkd state show", "The child stack's name") + (accountClause === "" ? "" : ` ${accountClause}`)));
|
|
43166
43174
|
throw markNonRetryable(failure);
|
|
43167
43175
|
}
|
|
43168
43176
|
if (childResult.skippedCount > 0 || childResult.interrupted) {
|
|
@@ -43211,7 +43219,7 @@ var NestedStackProvider = class {
|
|
|
43211
43219
|
async readChildOutputsAsAttributes(ctx, childStackName, childRegion) {
|
|
43212
43220
|
const childStateData = await ctx.stateBackend.getState(childStackName, childRegion);
|
|
43213
43221
|
if (!childStateData) throw markNonRetryable(/* @__PURE__ */ new Error(`Child stack state ${displayStackName(childStackName)} not found after deploy — NestedStackProvider invariant violated.`));
|
|
43214
|
-
refuseMalformedNestedChildOutputs(childStateData.state, childStackName, childRegion);
|
|
43222
|
+
refuseMalformedNestedChildOutputs(childStateData.state, childStackName, childRegion, runAccountOf(ctx));
|
|
43215
43223
|
const attributes = this.buildOutputsAttributes(childStateData.state.outputs ?? {});
|
|
43216
43224
|
const noEchoAttributeNames = [];
|
|
43217
43225
|
const identity = credentialFingerprint(ambientCredentialConfig());
|
|
@@ -43306,6 +43314,13 @@ var NestedStackProvider = class {
|
|
|
43306
43314
|
return attributes;
|
|
43307
43315
|
}
|
|
43308
43316
|
};
|
|
43317
|
+
function runAccountOf(ctx) {
|
|
43318
|
+
return {
|
|
43319
|
+
profile: ctx.destroyOptions?.profile,
|
|
43320
|
+
stateBucket: ctx.stateBucket,
|
|
43321
|
+
statePrefix: ctx.destroyOptions?.statePrefix
|
|
43322
|
+
};
|
|
43323
|
+
}
|
|
43309
43324
|
|
|
43310
43325
|
//#endregion
|
|
43311
43326
|
//#region src/provisioning/providers/wait-condition-handle-provider.ts
|
|
@@ -43685,4 +43700,4 @@ var ACMCertificateProvider = class {
|
|
|
43685
43700
|
|
|
43686
43701
|
//#endregion
|
|
43687
43702
|
export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, 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, LambdaPermissionProvider, LambdaUrlProvider, 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 };
|
|
43688
|
-
//# sourceMappingURL=provider-classes-
|
|
43703
|
+
//# sourceMappingURL=provider-classes-DbpGX0KN.js.map
|