@go-to-k/cdkd 0.290.21 → 0.290.22
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-B8GAVns4.js → asg-provider-DTzndMHB.js} +2 -2
- package/dist/{asg-provider-B8GAVns4.js.map → asg-provider-DTzndMHB.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-KnCjibgq.js → deploy-engine-Dbmoo4FQ.js} +200 -11
- package/dist/{deploy-engine-KnCjibgq.js.map → deploy-engine-Dbmoo4FQ.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-BLyj1ijG.js → program-BKuJRiz3.js} +5 -4
- package/dist/{program-BLyj1ijG.js.map → program-BKuJRiz3.js.map} +1 -1
- package/dist/{version-CGcB3KHZ.js → version-CpOEkAtB.js} +2 -2
- package/dist/{version-CGcB3KHZ.js.map → version-CpOEkAtB.js.map} +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { n as isVersionOnlyInvocation, t as getCdkdVersion } from "./version-
|
|
2
|
+
import { n as isVersionOnlyInvocation, t as getCdkdVersion } from "./version-CpOEkAtB.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/pipe-close-handler.ts
|
|
5
5
|
/**
|
|
@@ -74,7 +74,7 @@ async function main() {
|
|
|
74
74
|
console.log(getCdkdVersion());
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
|
-
const { buildProgram } = await import("./program-
|
|
77
|
+
const { buildProgram } = await import("./program-BKuJRiz3.js");
|
|
78
78
|
const program = buildProgram();
|
|
79
79
|
const args = reorderArgs(process.argv);
|
|
80
80
|
await program.parseAsync(args);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as displaySafe, S as displayIdent, b as STACK_REF_MAX_CODE_POINTS, d as applyDefaultNameForFallback, f as explicitNamePropertyFor, g as looksLikeCdkdGeneratedName, h as getCurrentStackName, m as generateResourceNameWithFallback, n as getLogger, p as generateResourceName, r as isStdoutReservedForPayload, s as getLiveRenderer, v as withStackName, w as truncateCodePoints, x as UNRENDERABLE, y as withoutGeneratedFallbackName } from "./logger-C17H06QA.js";
|
|
2
2
|
import { a as setAssumedRoleCredentials, i as getPreAssumeEnvCredentials, n as awsClientDefaults, o as setPreAssumeEnvCredentials, r as getAssumedRoleCredentials, t as SECOND_ROLE_PUBLISH_REFUSAL } from "./aws-client-defaults-BoIxyCir.js";
|
|
3
|
-
import { t as getCdkdVersion } from "./version-
|
|
3
|
+
import { t as getCdkdVersion } from "./version-CpOEkAtB.js";
|
|
4
4
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
5
5
|
import { createHash, randomUUID } from "node:crypto";
|
|
6
6
|
import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -21389,6 +21389,39 @@ function stackClause(stackName, region) {
|
|
|
21389
21389
|
const where = region === void 0 ? "" : ` (${shellQuote(safeIdentifier(region))})`;
|
|
21390
21390
|
return `State for ${shellQuote(safeIdentifier(stackName))}${where}`;
|
|
21391
21391
|
}
|
|
21392
|
+
/**
|
|
21393
|
+
* The DESTRUCTIVE remedy, built the way {@link inspectCommand} builds the
|
|
21394
|
+
* read-only one, and the region clause follows the SAME rule for two reasons
|
|
21395
|
+
* that pull in opposite directions.
|
|
21396
|
+
*
|
|
21397
|
+
* With a region in hand the flag is not decoration: `cdkd state orphan <stack>`
|
|
21398
|
+
* without it drops the record for that stack name in EVERY region, so omitting
|
|
21399
|
+
* it hands a stuck operator something wider than the message describes.
|
|
21400
|
+
*
|
|
21401
|
+
* With NO region the flag is worse than useless, and a placeholder is the worst
|
|
21402
|
+
* of the three: an absent region means a v1 record, which predates the
|
|
21403
|
+
* region-prefixed key layout, so `--stack-region <region>` selects no record at
|
|
21404
|
+
* all whatever the operator fills in. The bare command is the correct one
|
|
21405
|
+
* there, because such a record is not region-partitioned.
|
|
21406
|
+
*
|
|
21407
|
+
* With no trusted STACK the whole thing degrades to a template, as the inspect
|
|
21408
|
+
* command does — there is nothing to substitute.
|
|
21409
|
+
*
|
|
21410
|
+
* **It diverges from {@link malformedDestroyResourcesRefusalMessage}, which
|
|
21411
|
+
* keeps `cdkd state orphan` a template on purpose, and the difference is where
|
|
21412
|
+
* the identity comes from.** That builder is reached with a record-derived
|
|
21413
|
+
* REGION (`state.region ?? ctx.baseRegion` in `destroy-runner.ts`) -- its stack
|
|
21414
|
+
* name is the caller's, so the region alone is what would aim a destructive
|
|
21415
|
+
* command using a value the record supplied. This one is reached only with the caller's
|
|
21416
|
+
* synthesized stack and `pickStackRegion`'s answer, so substituting is safe and
|
|
21417
|
+
* omitting the region is the wider action. Two opposite precedents in one
|
|
21418
|
+
* module; neither is the general rule.
|
|
21419
|
+
*/
|
|
21420
|
+
function dropRecordCommand(stackName, region) {
|
|
21421
|
+
if (stackName === void 0 || stackName === "") return "cdkd state orphan <stack> --stack-region <region>";
|
|
21422
|
+
const flag = region === void 0 || region === "" ? "" : ` --stack-region ${shellQuote(safeIdentifier(region))}`;
|
|
21423
|
+
return `cdkd state orphan ${shellQuote(safeIdentifier(stackName))}${flag}`;
|
|
21424
|
+
}
|
|
21392
21425
|
/** The remedy command {@link stackClause}'s message ends on. */
|
|
21393
21426
|
function inspectCommand(stackName, region) {
|
|
21394
21427
|
if (stackName === void 0) return "cdkd state show <stack> --stack-region <region> --json";
|
|
@@ -21463,12 +21496,19 @@ function unreadableResourcePropertyBags(state) {
|
|
|
21463
21496
|
*
|
|
21464
21497
|
* Deliberately NOT folded into {@link refuseMalformedState}, for the reason
|
|
21465
21498
|
* {@link unreadableResourcePropertyBags} gives: that predicate answers a
|
|
21466
|
-
* question about the record ROOT, and its
|
|
21467
|
-
*
|
|
21468
|
-
*
|
|
21469
|
-
*
|
|
21470
|
-
*
|
|
21471
|
-
*
|
|
21499
|
+
* question about the record ROOT, and its callers have each had to make their
|
|
21500
|
+
* own decision about this one. `cdkd rollback` replays a journal rather than
|
|
21501
|
+
* diffing, so an unrelated broken bag would stop the command documented as the
|
|
21502
|
+
* way to UNWIND a stack whose state is already suspect; `cdkd scrub` and
|
|
21503
|
+
* `cdkd import` do not compare properties at all.
|
|
21504
|
+
*
|
|
21505
|
+
* **The rule is OPT-IN PER CALLER, not "whoever COMPARES the bag"**, and an
|
|
21506
|
+
* earlier revision of this sentence said the latter — which go-to-k/cdkd#3318
|
|
21507
|
+
* falsified within two lanes. `cdkd orphan` compares nothing and still opts in
|
|
21508
|
+
* through {@link refuseMalformedResourcePropertiesForOrphan}, because it SAVES
|
|
21509
|
+
* the bag; what each caller owes is an answer to "what would I do with a map I
|
|
21510
|
+
* cannot read", and comparison is only one way to owe one. Do not read this
|
|
21511
|
+
* paragraph as licence to delete a call from a caller that does not diff.
|
|
21472
21512
|
*/
|
|
21473
21513
|
function refuseMalformedResourceProperties(state, stackName, region) {
|
|
21474
21514
|
const unreadable = unreadableResourcePropertyBags(state);
|
|
@@ -21575,7 +21615,7 @@ function namedPropertyBagsClause(stackName, region, logicalIds) {
|
|
|
21575
21615
|
/**
|
|
21576
21616
|
* The text {@link refuseMalformedResourceProperties} raises.
|
|
21577
21617
|
*
|
|
21578
|
-
* `
|
|
21618
|
+
* `rawStackName` / `rawRegion` are the CALLER's resolved identity or nothing at all;
|
|
21579
21619
|
* {@link stackClause} is the authority for why this one may be handed neither.
|
|
21580
21620
|
*
|
|
21581
21621
|
* **It must be true under `cdkd deploy --dry-run` as well**, and the first
|
|
@@ -21604,6 +21644,155 @@ function malformedResourcePropertiesRefusalMessage(stackName, region, logicalIds
|
|
|
21604
21644
|
return `${namedPropertyBagsClause(stackName, region, logicalIds)} 'cdkd deploy' can WRITE state and AWS resources, so it refuses rather than continuing — under '--dry-run' too, because the plan a dry run would print is the wrong one: a DELETE and re-create of resources the template did not change, and reading the bag as empty produces that same verdict rather than avoiding it. Nothing was provisioned and no state was written FOR THIS STACK. Repair or remove the record first; 'cdkd diff' previews the rest of the stack with those maps read as EMPTY and warns that it did. Inspect the record with: ${inspectCommand(stackName, region)}`;
|
|
21605
21645
|
}
|
|
21606
21646
|
/**
|
|
21647
|
+
* The `cdkd orphan` refusal text for the per-entry `properties` container
|
|
21648
|
+
* (issue [#3318](https://github.com/go-to-k/cdkd/issues/3318)).
|
|
21649
|
+
*
|
|
21650
|
+
* A SECOND `properties` refusal beside
|
|
21651
|
+
* {@link malformedResourcePropertiesRefusalMessage}, for the reason every
|
|
21652
|
+
* split in this module is its own: that text describes the DIFF's verdict —
|
|
21653
|
+
* "a DELETE and re-create of resources the template did not change" — which
|
|
21654
|
+
* `cdkd orphan` never computes. It runs no diff at all.
|
|
21655
|
+
*
|
|
21656
|
+
* **And the harm here is NOT the laundering the module's other write-capable
|
|
21657
|
+
* refusals describe.** Measured 2026-09-17 through the real
|
|
21658
|
+
* `rewriteResourceReferences` over an `AWS::S3::Bucket` record: `rewriteValue`
|
|
21659
|
+
* returns a non-object verbatim, so a stored `"abcdef"` comes back as
|
|
21660
|
+
* `"abcdef"`, a `5` as `5`, a `null` as `null`, and an ABSENT bag stays absent
|
|
21661
|
+
* once `JSON.stringify` drops it. Nothing is fabricated and no evidence is
|
|
21662
|
+
* replaced — so {@link malformedOutputsRefusalMessage}'s "saved back as a
|
|
21663
|
+
* well-formed six-key map" sentence, true one container over, would be FALSE
|
|
21664
|
+
* here and must not be borrowed.
|
|
21665
|
+
*
|
|
21666
|
+
* What it DOES share is {@link namedPropertyBagsClause}, which carries a
|
|
21667
|
+
* diff-shaped sentence of its own ("a create-only property among them is a
|
|
21668
|
+
* REPLACEMENT of the live resource"). That is not a contradiction and is not
|
|
21669
|
+
* an oversight: the shared clause describes what the RECORD is, and the reason
|
|
21670
|
+
* an operator must care is precisely that a later `cdkd deploy` / `cdkd diff`
|
|
21671
|
+
* reaches that verdict. What this text must not do — and what its fence pins —
|
|
21672
|
+
* is claim that verdict as its OWN, since `cdkd orphan` computes no diff.
|
|
21673
|
+
*
|
|
21674
|
+
* What IS at stake is the command's own job. `cdkd orphan` exists to leave the
|
|
21675
|
+
* record deployable: it rewrites every surviving sibling's `Ref` /
|
|
21676
|
+
* `Fn::GetAtt` / `Fn::Sub` reference to an orphan so the next deploy neither
|
|
21677
|
+
* re-creates the orphan nor fails on a stale reference. Over a map it cannot
|
|
21678
|
+
* read it cannot do that and cannot say it did not. A scalar bag presents no
|
|
21679
|
+
* reference to find, so the `--force`-less hard fail on unresolvable
|
|
21680
|
+
* references can never fire for one; a LIST bag is the one unreadable shape
|
|
21681
|
+
* `rewriteValue` DOES walk (measured: a stored `[{"Ref":"<orphan>"}]` came
|
|
21682
|
+
* back as `["<physicalId>"]` with one row in the audit table), so its rewrites
|
|
21683
|
+
* are reported into a container that is still not a map. Either way the
|
|
21684
|
+
* command takes a lock, saves, and reports success over a record left in
|
|
21685
|
+
* exactly the state `cdkd deploy` REFUSES
|
|
21686
|
+
* ({@link malformedResourcePropertiesRefusalMessage}) and `cdkd diff` previews
|
|
21687
|
+
* as a replacement — one command after the evidence was last in cdkd's hands.
|
|
21688
|
+
*
|
|
21689
|
+
* **The refusal is SCOPED to the records the save would KEEP, so orphaning the
|
|
21690
|
+
* DAMAGED record itself still works** —
|
|
21691
|
+
* {@link refuseMalformedResourcePropertiesForOrphan} is handed the ids being
|
|
21692
|
+
* removed and never names one. Compare
|
|
21693
|
+
* `malformedDestroyResourcesRefusalMessage`, which has to point at a different
|
|
21694
|
+
* COMMAND for its way out because a destroy keeps every record it reads.
|
|
21695
|
+
*
|
|
21696
|
+
* **But that in-command way out is CONDITIONAL, and the text must say so.**
|
|
21697
|
+
* `cdkd orphan` addresses resources only through the `aws:cdk:path` index of
|
|
21698
|
+
* the SYNTHESIZED template (`resolveConstructPaths` →
|
|
21699
|
+
* `buildCdkPathIndex`), so an id the CDK app no longer declares — a record
|
|
21700
|
+
* left behind when the construct was deleted, or one a hand edit invented —
|
|
21701
|
+
* can never enter the orphan set for ANY invocation. The exemption therefore
|
|
21702
|
+
* cannot reach it, and an earlier revision of this text nonetheless told the
|
|
21703
|
+
* operator to "orphan the damaged record ITSELF" unconditionally: an
|
|
21704
|
+
* instruction that dies on `Construct path '...' not found in template`, which
|
|
21705
|
+
* is the misstating-the-remedy class this module's own notes record (security
|
|
21706
|
+
* review of go-to-k/cdkd#3318). The remedy is now stated with its condition and
|
|
21707
|
+
* the two unconditional ways out beside it — hand repair, and
|
|
21708
|
+
* `cdkd state orphan <stack>`, which needs no CDK app and drops the whole
|
|
21709
|
+
* record with the live resources left standing.
|
|
21710
|
+
*
|
|
21711
|
+
* So the recovery-path objection is answered for the common case by the
|
|
21712
|
+
* exemption and for the rest by naming commands that do not depend on the
|
|
21713
|
+
* template. What this does NOT claim is that `cdkd orphan` stays usable on a
|
|
21714
|
+
* stack holding a template-less torn record: it does not, exactly as
|
|
21715
|
+
* `cdkd deploy` does not (go-to-k/cdkd#3191). A state-keyed escape hatch
|
|
21716
|
+
* (`--orphan-logical-id`, addressing a record by its state key rather than by
|
|
21717
|
+
* a construct path) was considered in the same review and DECLINED: it is a new
|
|
21718
|
+
* mutating CLI surface whose only job is to route around a record the operator
|
|
21719
|
+
* must repair or drop anyway, and `cdkd state orphan <stack>` already removes
|
|
21720
|
+
* such a record with no CDK app and no new flag.
|
|
21721
|
+
*
|
|
21722
|
+
* It must be true under `--dry-run` as well, and it is: the guard sits at the
|
|
21723
|
+
* load, far above the `if (options.dryRun)` return. Refusing there is
|
|
21724
|
+
* {@link malformedResourcePropertiesRefusalMessage}'s call for the same
|
|
21725
|
+
* reason — a plausible rewrite audit table followed by a refusal the moment
|
|
21726
|
+
* the flag comes off is the worst arm of all.
|
|
21727
|
+
*
|
|
21728
|
+
* `rawStackName` / `rawRegion` are the CALLER's resolved identity — the synthesized
|
|
21729
|
+
* stack name and the region `pickStackRegion` settled on, never the record's
|
|
21730
|
+
* own unvalidated self-report. See {@link stackClause}.
|
|
21731
|
+
*/
|
|
21732
|
+
function malformedOrphanResourcePropertiesRefusalMessage(rawStackName, rawRegion, logicalIds) {
|
|
21733
|
+
const stackName = rawStackName === "" ? void 0 : rawStackName;
|
|
21734
|
+
const region = rawRegion === "" ? void 0 : rawRegion;
|
|
21735
|
+
return `${namedPropertyBagsClause(stackName, region, logicalIds)} 'cdkd orphan' REWRITES and SAVES every record it keeps, so it refuses rather than continuing — under '--dry-run' too, because the rewrite audit table a dry run prints is the wrong one. It is not that the save would fabricate a map: an unreadable bag is carried through VERBATIM. It is that this command exists to leave the record deployable by rewriting every reference to an orphaned resource, and a map it cannot read hides whichever references it holds — a string or a number presents none to find, and a list is walked, so its rewrites are recorded into a container that is still not a map. Continuing would rewrite, save, and report success over a record 'cdkd deploy' then REFUSES. No state was written. Two ways out need no CDK app: repair the record by hand, or drop it whole with '${dropRecordCommand(stackName, region)}', which leaves the live AWS resources standing. A third works only while the CDK app STILL DECLARES the named resource — this refusal covers just the records that would SURVIVE the save, so 'cdkd orphan <its construct path>' removes it and repairs the rest; construct paths come from the synthesized template, so a resource the app no longer declares has none and must take one of the first two. Inspect the record with: ${inspectCommand(stackName, region)}`;
|
|
21736
|
+
}
|
|
21737
|
+
/**
|
|
21738
|
+
* For `cdkd orphan`: refuse a record whose SURVIVING resource entries carry a
|
|
21739
|
+
* `properties` bag that cannot be read (issue
|
|
21740
|
+
* [#3318](https://github.com/go-to-k/cdkd/issues/3318)).
|
|
21741
|
+
*
|
|
21742
|
+
* A separate call from {@link refuseMalformedResourceProperties} rather than a
|
|
21743
|
+
* flag on it, for the reason {@link refuseMalformedOutputsForDestroy} is
|
|
21744
|
+
* separate from {@link refuseMalformedOutputs}: the refusal a user sees must
|
|
21745
|
+
* describe what THIS command would have done with the bag, and
|
|
21746
|
+
* {@link malformedOrphanResourcePropertiesRefusalMessage} records how far the
|
|
21747
|
+
* two consequences diverge.
|
|
21748
|
+
*
|
|
21749
|
+
* `removedLogicalIds` is the orphan set — the ids this run is dropping from
|
|
21750
|
+
* `state.resources`. They are EXCLUDED from the verdict because the save
|
|
21751
|
+
* cannot persist a record it is deleting, and because refusing on one would
|
|
21752
|
+
* break the recovery path the refusal is otherwise meant to preserve.
|
|
21753
|
+
*
|
|
21754
|
+
* **It covers `state.resources` ONLY, and the save keeps more than that.**
|
|
21755
|
+
* `rewriteResourceReferences` spreads `carriedState`, so `state.orphans[]` —
|
|
21756
|
+
* rollback-orphaned records each holding a whole `ResourceState`
|
|
21757
|
+
* (go-to-k/cdkd#2934) — rides through untouched, and
|
|
21758
|
+
* {@link unreadableResourcePropertyBags} never walks it. A torn bag parked
|
|
21759
|
+
* there is therefore still saved, and `computeStackDiff` splices those records
|
|
21760
|
+
* into `state.resources` on the next preview. Stated rather than implied,
|
|
21761
|
+
* because "the records the save would KEEP" reads wider than what this scans:
|
|
21762
|
+
* the gap is go-to-k/cdkd#3344, filed rather than folded in because the remedy
|
|
21763
|
+
* differs — an entry in that container has no construct path, so the message's
|
|
21764
|
+
* third way out is meaningless for it.
|
|
21765
|
+
*
|
|
21766
|
+
* **A surviving ENTRY that is not a map is the other gap, and it DOES launder.**
|
|
21767
|
+
* This scan asks whether a resource's `properties` is readable; it never asks
|
|
21768
|
+
* whether the resource RECORD is. `isReadableBag('abcdef')` is false, so a
|
|
21769
|
+
* string entry is skipped here, and then `rewriteResourceReferences`'s
|
|
21770
|
+
* `{ ...resource }` spreads it into per-character keys — the record is SAVED as
|
|
21771
|
+
* `{"0":"a",…,"dependencies":[]}` and the run reports success. A number entry
|
|
21772
|
+
* saves as `{"dependencies":[]}`, a record with no `physicalId`. So the
|
|
21773
|
+
* refusal's own text, which says a torn `properties` map is persisted verbatim
|
|
21774
|
+
* rather than reshaped, is true of the container it scans and NOT of the one
|
|
21775
|
+
* above it.
|
|
21776
|
+
*
|
|
21777
|
+
* That gap is NOT go-to-k/cdkd#3202's as filed — that issue records only the
|
|
21778
|
+
* `null`-entry `TypeError` — and NOT open PR go-to-k/cdkd#3226's, whose file
|
|
21779
|
+
* list carries neither `orphan.ts` nor `orphan-rewriter.ts`. A lane closing
|
|
21780
|
+
* either one leaves this open, which is why it is named here rather than
|
|
21781
|
+
* deferred to them by reference. Filed as go-to-k/cdkd#3350.
|
|
21782
|
+
*
|
|
21783
|
+
* CALL IT AT THE LOAD, beside {@link refuseMalformedState} and
|
|
21784
|
+
* {@link refuseMalformedOutputs}, above `rewriteResourceReferences` — the
|
|
21785
|
+
* placement rule {@link repairMalformedResourcesForReadOnly}'s note records.
|
|
21786
|
+
* The orphan set is resolved from the synthesized template before the state is
|
|
21787
|
+
* loaded, so nothing forces this call any lower.
|
|
21788
|
+
*/
|
|
21789
|
+
function refuseMalformedResourcePropertiesForOrphan(state, removedLogicalIds, stackName, region) {
|
|
21790
|
+
const removed = new Set(removedLogicalIds);
|
|
21791
|
+
const unreadable = unreadableResourcePropertyBags(state).filter((id) => !removed.has(id));
|
|
21792
|
+
if (unreadable.length === 0) return;
|
|
21793
|
+
throw new CdkdError(malformedOrphanResourcePropertiesRefusalMessage(stackName, region, unreadable), STATE_RESOURCES_MALFORMED);
|
|
21794
|
+
}
|
|
21795
|
+
/**
|
|
21607
21796
|
* The warning a caller of {@link repairMalformedResourcePropertiesForReadOnly}
|
|
21608
21797
|
* emits.
|
|
21609
21798
|
*/
|
|
@@ -31729,7 +31918,7 @@ var CloudControlProvider = class {
|
|
|
31729
31918
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
31730
31919
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
31731
31920
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
31732
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
31921
|
+
const { ASGProvider } = await import("./asg-provider-DTzndMHB.js").then((n) => n.n);
|
|
31733
31922
|
const asgProvider = new ASGProvider();
|
|
31734
31923
|
return withIndeterminateGuard(await asgProvider.delete(logicalId, physicalId, resourceType, _properties, context), indeterminateGuard);
|
|
31735
31924
|
}
|
|
@@ -44723,5 +44912,5 @@ var DeployEngine = class DeployEngine {
|
|
|
44723
44912
|
};
|
|
44724
44913
|
|
|
44725
44914
|
//#endregion
|
|
44726
|
-
export { secretBearing as $,
|
|
44727
|
-
//# sourceMappingURL=deploy-engine-
|
|
44915
|
+
export { secretBearing as $, normalizeAwsError as $i, scrubResourceRecord as $n, synthesisStatusMessage as $r, s3BucketArn as $t, extractDeploymentEventError as A, AssetError as Ai, repairMalformedResourcesForReadOnly as An, isCrossRegionRedirect as Ar, isImpossibleEmptyStoredAttribute as At, toCfnInteger as B, LockError as Bi, TEMPLATE_SOURCED_RULES as Bn, describeDockerFailure as Br, coerceCfnBoolean as Bt, buildFinalSnapshotIdentifier as C, processStackMessages as Ci, refuseMalformedOutputs as Cn, loadPublishableAssetManifest as Cr, isTerminationProtectionPropagationError as Ct, refusesFinalSnapshot as D, getAwsClients as Di, refuseMalformedState as Dn, assertAssetBucketRegion as Dr, cfnRefValueFromPhysicalId as Dt, isFinalSnapshotError as E, AwsClients as Ei, refuseMalformedResourcesForDestroy as En, BOOTSTRAP_MARKER_PREFIX as Er, carriesFetchableDynamicReference as Et, isStatefulRecreateTargetSync as F, DeployCancelledError as Fi, DagBuilder as Fn, buildDenyExternalAccessPolicy as Fr, isSettledInstanceState as Ft, gray as G, ResourceTimeoutError as Gi, identityKeyFor as Gn, redactDockerArgvValues as Gr, readConfigString as Gt, formatResourceLine as H, NestedStackChildDirectDestroyError as Hi, createSecretMasker as Hn, formatDockerLoginError as Hr, configBooleanRefusal as Ht, renderStatefulReason as I, DynamicReferenceRegionAmbiguousError as Ii, TemplateParser as In, describeAwsFailure as Ir, WAFv2WebACLProvider as It, yellow as J, StackTerminationProtectionError as Ji, maskSecretsInError as Jn, escapeRegExp$1 as Jr, requireConfigObject as Jt, green as K, ResourceUpdateNotSupportedError as Ki, isSingleDynamicReferenceToken as Kn, runDockerForeground as Kr, replayWarn as Kt, WARM_THROUGHPUT_MEMBERS as L, IntrinsicResolutionRefusalError as Li, STATE_SOURCED_BASELINE_RULES as Ln, buildDockerImage as Lr, normalizeAwsTagsToCfn as Lt, planOrphanAdoption as M, ConfigError as Mi, findSilentDropProperties as Mn, readBootstrapMarkerBody as Mr, isUnboundTemplateParameter as Mt, MULTI_REGION_RECREATE_BLOCKED_TYPES as N, CrossAccountSecretRefusalError as Ni, describeTypeWithThrottleRetry as Nn, validateAssetBucketName as Nr, parameterTypeMayLoseSecretIdentity as Nt, unsupportedFinalSnapshotError as O, resetAwsClients as Oi, repairMalformedOutputsForReadOnly as On, ensureAssetStorage as Or, coerceParameterTypedValue as Ot, isStatefulRecreateTargetForReplace as P, DependencyError as Pi, withRetry as Pn, validateContainerRepoName as Pr, refStateLookupFromResource as Pt, isExportAliasCollision as Q, isCdkdError as Qi, redactSecretsForState as Qn, Synthesizer as Qr, withSharedDrainBudget as Qt, coerceWarmThroughput as R, LocalInvokeBuildError as Ri, STATE_SOURCED_CROSS_GENERATION_RULES as Rn, describeDockerCapturedOutput as Rr, resolveExplicitPhysicalId as Rt, PRE_DELETE_SNAPSHOT_TYPES as S, AssemblyReader as Si, refuseMalformedNestedChildOutputs as Sn, createAssetRedirectResolver as Sr, disableInstanceApiTermination as St, createPreDeleteFinalSnapshot as T, resolveBucketRegion as Ti, refuseMalformedResourcePropertiesForOrphan as Tn, AssetModeResolver as Tr, carriesDynamicReference as Tt, bold as U, PartialFailureError as Ui, dynamicReferenceTokens as Un, getDockerCmd as Ur, configIntegerRefusal as Ut, toFiniteNumber as V, MalformedProducerRecordRefusalError as Vi, carriesSecretMask as Vn, dockerSpawnEnvWithSensitive as Vr, coerceCfnInteger as Vt, cyan as W, ProvisioningError as Wi, errorCauseChain as Wn, partitionSensitiveEnv as Wr, configStringRefusal as Wt, collectPublishedOutputNames as X, SynthesisError as Xi, recordMaskOnlyValue as Xn, AssetManifestLoader as Xr, classifyReplaySecretRegion as Xt, collectDeclaredOutputNames as Y, StateError as Yi, maskSecretsInText as Yn, stripControlChars as Yr, requireConfigString as Yt, exportAliasCollisionScrubWarning as Z, formatError as Zi, recoverMaskedOutput as Zn, getDockerImageBySourceHash as Zr, producerRegionsFromState as Zt, isSecretBearingReferenceString as _, decodeListingKey as _i, malformedRenderedContainersWarning as _n, shouldRetainResource as _r, isWaitAbandonedError as _t, DeploymentEventsStore as a, markNonRetryable as aa, resolveSkipPrefix as ai, applyCallerIdentityCredentials as an, forceQuitRecoveryClause as ar, clearOnUpdateRemoval as at, bindingSkippedOutputs as b, canonicalizeRegion as bi, malformedStateRefusalMessage as bn, WorkGraph as br, deleteIndeterminateGuards as bt, replayFailedOperations as c, __exportAll as ca, resolveUseCdkBootstrapAssets as ci, INTRINSIC_KEYS as cn, CUSTOM_RESOURCE_RESPONSE_PREFIX as cr, createMaskedRetryLogger as ct, updatePartialReason as d, CFN_TEMPLATE_BODY_LIMIT as di, hasReadableResources as dn, hasReadableExportSet as dr, beginCommandInterruptScope as dt, withErrorHandling as ea, getDefaultStateBucketName as ei, s3BucketDomainName as en, LockManager as er, secretBearingStateKeyWarning as et, withResourceDeadline as f, CFN_TEMPLATE_URL_LIMIT as fi, malformedExportNamesWarning as fn, importableOutputKeys as fr, endCommandInterruptScope as ft, bagHoldsSecretExpression as g, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as gi, malformedOutputsWarning as gn, orphansCarriedFrom as gr, CloudControlProvider as gt, computeImplicitDeleteEdges as h, uploadCfnTemplate as hi, malformedOutputsRefusalMessage as hn, orphansAfterRollback as hr, startInterruptWatch as ht, DeploymentEventsReader as i, isTransientServerError as ia, resolveCaptureObservedState as ii, applyRoleArnIfSet as in, buildLockContentionMessage as ir, collectInlinePolicyNamesManagedBySiblings as it, makeSiblingClaimReader as j, CdkdError as ji, findActionableSilentDrops as jn, parseBootstrapMarker as jr, isNamelessDynamicReferenceError as jt, makeCanonicalizePropertiesFn as k, setAwsClients as ki, repairMalformedResourcePropertiesForReadOnly as kn, getBootstrapMarkerKey as kr, getAccountInfo as kt, replayRollback as l, stateBucketExistenceConfirmed as li, STATE_RESOURCES_MALFORMED as ln, DEFAULT_STATE_PREFIX as lr, maskDeep as lt, IMPLICIT_DELETE_DEPENDENCIES as m, findLargeInlineResources as mi, malformedLocalOutputsWarning as mn, isReadableBag as mr, isInterruptedWaitError as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, isRetryableTransientError as na, resolveApp as ni, s3BucketRegionalDomainName as nn, rebuildClientForBucketRegion as nr, getCurrentResourceSecrets as nt, planFailedOps as o, markRedactedCause as oa, resolveStateBucketWithDefault as oi, callerEnvCredentials as on, formatLockExpiry as or, ProviderRegistry as ot, maskingRetryLogger as p, MIGRATE_TMP_PREFIX as pi, malformedExportSourceWarning as pn, importableOutputs as pr, interruptWatchListenerCount as pt, red as q, StackHasActiveImportsError as qi, markSameGenerationBag as qn, runDockerStreaming as qr, requireConfigArray as qt, DeployEngine as r, isThrottlingError as ra, resolveAutoAssetStorage as ri, s3BucketWebsiteUrl as rn, buildForceUnlockCommand as rr, IAMRoleProvider as rt, planRollback as s, retryClassificationText as sa, resolveStateBucketWithDefaultAndSource as si, DiffCalculator as sn, shellQuote as sr, wouldReturnToSdkProvider as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, isMarkedNonRetryable as ta, getLegacyStateBucketName as ti, s3BucketDualStackDomainName as tn, S3StateBackend as tr, secretSafeKeyDisplay as tt, updatePartialMessage as u, warnDeprecatedNoPrefixCliFlag as ui, hasReadableOutputs as un, exportNamesCarriedFrom as ur, maskerOrIdentity as ut, keptWholeReasonText as v, expectedOwnerParam as vi, malformedResourcePropertiesWarning as vn, AssetPublisher as vr, slowCcOperationTimeoutMs as vt, ccRoutedFinalSnapshotError as w, clearBucketRegionCache as wi, refuseMalformedOutputsForDestroy as wn, rewriteTemplateAssetReferences as wr, IntrinsicFunctionResolver as wt, ATOMIC_FINAL_SNAPSHOT_TYPES as x, derivePartitionAndUrlSuffix as xi, producerRecordKey as xn, buildAssetRedirectMap as xr, deleteSkipReason as xt, mergeNoChangeOutputs as y, PARTITION_TABLE as yi, malformedResourcesWarning as yn, stringifyValue as yr, UNSPECIFIED_SKIP_REASON as yt, isWarmThroughputDecrease as z, LocalStartServiceError as zi, STATE_SOURCED_READBACK_RULES as zn, describeDockerExecFailure as zr, assertRegionMatch as zt };
|
|
44916
|
+
//# sourceMappingURL=deploy-engine-Dbmoo4FQ.js.map
|