@go-to-k/cdkd 0.229.3 → 0.229.5
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-B_hrCxRx.js → asg-provider-Dgj3loIG.js} +2 -2
- package/dist/{asg-provider-B_hrCxRx.js.map → asg-provider-Dgj3loIG.js.map} +1 -1
- package/dist/cli.js +42 -14
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-gl_fTFek.js → deploy-engine-BIYc-qWo.js} +25 -11
- package/dist/deploy-engine-BIYc-qWo.js.map +1 -0
- package/dist/{import-helpers-wLipXr5g.js → import-helpers-DayvBD4T.js} +25 -2
- package/dist/import-helpers-DayvBD4T.js.map +1 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/deploy-engine-gl_fTFek.js.map +0 -1
- package/dist/import-helpers-wLipXr5g.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as SynthesisError, F as getLiveRenderer, M as getLogger, T as StateError, U as withStackName, V as generateResourceNameWithFallback, a as assertRegionMatch, b as ProvisioningError, c as AssetError, d as DependencyError, g as MacroExpansionError, h as LockError, i as resolveExplicitPhysicalId, k as normalizeAwsError, n as matchesCdkPath, o as disableInstanceApiTermination, r as normalizeAwsTagsToCfn, s as isTerminationProtectionPropagationError, x as ResourceTimeoutError, z as applyDefaultNameForFallback } from "./import-helpers-DayvBD4T.js";
|
|
2
2
|
import { r as getAwsClients } from "./aws-clients-pjPwZz1r.js";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { DeleteObjectCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectsV2Command, NoSuchKey, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -5597,20 +5597,34 @@ async function applyRoleArnIfSet(opts) {
|
|
|
5597
5597
|
*/
|
|
5598
5598
|
const AWS_NO_VALUE = Symbol("AWS::NoValue");
|
|
5599
5599
|
/**
|
|
5600
|
-
* Resource types whose CloudFormation `Ref` returns the segment AFTER the
|
|
5601
|
-
* in cdkd's compound Cloud Control physical id
|
|
5602
|
-
*
|
|
5603
|
-
* primaryIdentifier is compound `<parentId>|<ref
|
|
5604
|
-
*
|
|
5600
|
+
* Resource types whose CloudFormation `Ref` returns the segment AFTER the LAST
|
|
5601
|
+
* pipe in cdkd's compound Cloud Control physical id (rather than the whole
|
|
5602
|
+
* physical id). These are Cloud-Control-provisioned types whose CC
|
|
5603
|
+
* primaryIdentifier is compound (`<parentId>|<ref>`, or `<a>|<b>|<ref>` for
|
|
5604
|
+
* triple-segment AppConfig children) while CFn's `Ref` returns only the
|
|
5605
|
+
* trailing `<ref>` component:
|
|
5605
5606
|
* - AWS::ApiGateway::Model `<restApiId>|<modelName>` -> model name
|
|
5606
5607
|
* - AWS::ApiGateway::RequestValidator `<restApiId>|<validatorId>` -> validator id
|
|
5607
5608
|
* - AWS::Cognito::UserPoolClient `<userPoolId>|<clientId>` -> client id
|
|
5608
|
-
*
|
|
5609
|
+
* - AWS::AppConfig::Environment `<appId>|<envId>` -> environment id
|
|
5610
|
+
* - AWS::AppConfig::ConfigurationProfile `<appId>|<profileId>` -> profile id
|
|
5611
|
+
* - AWS::AppConfig::HostedConfigurationVersion `<appId>|<profileId>|<ver>` -> version number
|
|
5612
|
+
* - AWS::AppConfig::Deployment `<appId>|<envId>|<deployNum>` -> deployment number
|
|
5613
|
+
*
|
|
5614
|
+
* The extraction takes the segment after the LAST pipe (see
|
|
5615
|
+
* {@link IntrinsicFunctionResolver.resolveRefValue}) so it is correct for both
|
|
5616
|
+
* 2-segment (`<parent>|<ref>`) and 3-segment AppConfig compounds; for the
|
|
5617
|
+
* 2-segment types it is identical to after-first-pipe. AppConfig::Application
|
|
5618
|
+
* and ::DeploymentStrategy are NOT here — their Ref is a simple, pipe-free id.
|
|
5609
5619
|
*/
|
|
5610
5620
|
const REF_RETURNS_SEGMENT_AFTER_PIPE = new Set([
|
|
5611
5621
|
"AWS::ApiGateway::Model",
|
|
5612
5622
|
"AWS::ApiGateway::RequestValidator",
|
|
5613
|
-
"AWS::Cognito::UserPoolClient"
|
|
5623
|
+
"AWS::Cognito::UserPoolClient",
|
|
5624
|
+
"AWS::AppConfig::Environment",
|
|
5625
|
+
"AWS::AppConfig::ConfigurationProfile",
|
|
5626
|
+
"AWS::AppConfig::HostedConfigurationVersion",
|
|
5627
|
+
"AWS::AppConfig::Deployment"
|
|
5614
5628
|
]);
|
|
5615
5629
|
/**
|
|
5616
5630
|
* Intrinsic-function keys the resolver knows how to handle.
|
|
@@ -5943,7 +5957,7 @@ var IntrinsicFunctionResolver = class {
|
|
|
5943
5957
|
resolveRefValue(resource) {
|
|
5944
5958
|
const physicalId = resource.physicalId;
|
|
5945
5959
|
if (REF_RETURNS_SEGMENT_AFTER_PIPE.has(resource.resourceType)) {
|
|
5946
|
-
const pipeIdx = physicalId.
|
|
5960
|
+
const pipeIdx = physicalId.lastIndexOf("|");
|
|
5947
5961
|
if (pipeIdx >= 0) return physicalId.substring(pipeIdx + 1);
|
|
5948
5962
|
}
|
|
5949
5963
|
return physicalId;
|
|
@@ -7576,7 +7590,7 @@ var CloudControlProvider = class {
|
|
|
7576
7590
|
this.logger.debug(`Deleting resource ${logicalId} (${resourceType}), physical ID: ${physicalId}`);
|
|
7577
7591
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
7578
7592
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
7579
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
7593
|
+
const { ASGProvider } = await import("./asg-provider-Dgj3loIG.js").then((n) => n.n);
|
|
7580
7594
|
await new ASGProvider().delete(logicalId, physicalId, resourceType, _properties, context);
|
|
7581
7595
|
return;
|
|
7582
7596
|
}
|
|
@@ -13495,4 +13509,4 @@ var DeployEngine = class {
|
|
|
13495
13509
|
|
|
13496
13510
|
//#endregion
|
|
13497
13511
|
export { findLargeInlineResources as $, shouldRetainResource as A, getDockerImageBySourceHash as B, applyRoleArnIfSet as C, LockManager as D, TemplateParser as E, formatDockerLoginError as F, resolveCaptureObservedState as G, getDefaultStateBucketName as H, getDockerCmd as I, resolveStateBucketWithDefaultAndSource as J, resolveSkipPrefix as K, runDockerForeground as L, stringifyValue as M, WorkGraph as N, S3StateBackend as O, buildDockerImage as P, MIGRATE_TMP_PREFIX as Q, runDockerStreaming as R, IntrinsicFunctionResolver as S, DagBuilder as T, getLegacyStateBucketName as U, Synthesizer as V, resolveApp as W, CFN_TEMPLATE_BODY_LIMIT as X, warnDeprecatedNoPrefixCliFlag as Y, CFN_TEMPLATE_URL_LIMIT as Z, IAMRoleProvider as _, withRetry as a, findActionableSilentDrops as b, computeImplicitDeleteEdges as c, bold as d, uploadCfnTemplate as et, cyan as f, yellow as g, red as h, withResourceDeadline as i, AssetPublisher as j, rebuildClientForBucketRegion as k, extractDeploymentEventError as l, green as m, DEFAULT_RESOURCE_WARN_AFTER_MS as n, clearBucketRegionCache as nt, isRetryableTransientError as o, gray as p, resolveStateBucketWithDefault as q, DeployEngine as r, resolveBucketRegion as rt, IMPLICIT_DELETE_DEPENDENCIES as s, DEFAULT_RESOURCE_TIMEOUT_MS as t, AssemblyReader as tt, formatResourceLine as u, collectInlinePolicyNamesManagedBySiblings as v, DiffCalculator as w, CloudControlProvider as x, ProviderRegistry as y, AssetManifestLoader as z };
|
|
13498
|
-
//# sourceMappingURL=deploy-engine-
|
|
13512
|
+
//# sourceMappingURL=deploy-engine-BIYc-qWo.js.map
|