@go-to-k/cdkd 0.278.13 → 0.278.15
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-QQOSO3LR.js → asg-provider-Dwf9PnS6.js} +2 -2
- package/dist/{asg-provider-QQOSO3LR.js.map → asg-provider-Dwf9PnS6.js.map} +1 -1
- package/dist/cli.js +83 -6
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-BpbIYUuG.js → deploy-engine-Bb3aRJ2Y.js} +3 -3
- package/dist/{deploy-engine-BpbIYUuG.js.map → deploy-engine-Bb3aRJ2Y.js.map} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as DagBuilder, A as red, At as resolveApp, B as isTerminationProtectionPropagationError, Bt as CFN_TEMPLATE_URL_LIMIT, C as isStatefulRecreateTargetSync, Ct as runDockerStreaming, D as cyan, Dt as synthesisStatusMessage, E as bold, Et as Synthesizer, F as ProviderRegistry, Ft as resolveStateBucketWithDefaultAndSource, G as normalizeAwsTagsToCfn, Gt as AssemblyReader, H as cfnRefValueFromPhysicalId, Ht as findLargeInlineResources, I as findActionableSilentDrops, It as resolveUseCdkBootstrapAssets, J as applyRoleArnIfSet, Jt as resolveBucketRegion, K as resolveExplicitPhysicalId, Kt as processStackMessages, L as CloudControlProvider, Lt as stateBucketExistenceConfirmed, M as IAMRoleProvider, Mt as resolveCaptureObservedState, N as collectInlinePolicyNamesManagedBySiblings, Nt as resolveSkipPrefix, O as gray, Ot as getDefaultStateBucketName, P as clearOnUpdateRemoval, Pt as resolveStateBucketWithDefault, Q as isRetryableTransientError, Qt as setAwsClients, R as slowCcOperationTimeoutMs, Rt as warnDeprecatedNoPrefixCliFlag, S as MULTI_REGION_RECREATE_BLOCKED_TYPES, St as runDockerForeground, T as formatResourceLine, Tt as getDockerImageBySourceHash, U as refStateLookupFromResource, Ut as uploadCfnTemplate, V as IntrinsicFunctionResolver, Vt as MIGRATE_TMP_PREFIX, W as WAFv2WebACLProvider, Wt as expectedOwnerParam, X as describeTypeWithThrottleRetry, Xt as getAwsClients, Y as DiffCalculator, Yt as AwsClients, Z as withRetry, Zt as resetAwsClients, _ as createPreDeleteFinalSnapshot, _t as validateAssetBucketName, a as DeploymentEventsStore, an as LocalMigrateError, at as AssetPublisher, b as unsupportedFinalSnapshotError, bn as normalizeAwsError, bt as formatDockerLoginError, c as replayFailedOperations, cn as MissingCdkCliError, ct as buildAssetRedirectMap, d as IMPLICIT_DELETE_DEPENDENCIES, dn as ProvisioningError, dt as rewriteTemplateAssetReferences, en as CdkdError, et as TemplateParser, f as computeImplicitDeleteEdges, fn as ResourceTimeoutError, ft as AssetModeResolver, g as ccRoutedFinalSnapshotError, gt as parseBootstrapMarker, h as buildFinalSnapshotIdentifier, hn as StackTerminationProtectionError, ht as getBootstrapMarkerKey, i as DeploymentEventsReader, in as LocalInvokeBuildError$1, it as shouldRetainResource, j as yellow, jt as resolveAutoAssetStorage, k as green, kt as getLegacyStateBucketName, l as replayRollback, ln as NestedStackChildDirectDestroyError, lt as createAssetRedirectResolver, m as PRE_DELETE_SNAPSHOT_TYPES, mn as StackHasActiveImportsError, mt as ensureAssetStorage, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nt as S3StateBackend, o as planFailedOps, on as LocalStartServiceError, ot as stringifyValue, p as ATOMIC_FINAL_SNAPSHOT_TYPES, pn as ResourceUpdateNotSupportedError, pt as BOOTSTRAP_MARKER_PREFIX, q as assertRegionMatch, r as DeployEngine, rn as DeployCancelledError, rt as rebuildClientForBucketRegion, s as planRollback, st as WorkGraph, t as DEFAULT_RESOURCE_TIMEOUT_MS, tt as LockManager, u as withResourceDeadline, un as PartialFailureError, ut as loadPublishableAssetManifest, v as isFinalSnapshotError, vt as validateContainerRepoName, w as renderStatefulReason, wt as AssetManifestLoader, x as extractDeploymentEventError, xn as withErrorHandling, xt as getDockerCmd, y as refusesFinalSnapshot, yt as buildDockerImage, z as disableInstanceApiTermination, zt as CFN_TEMPLATE_BODY_LIMIT } from "./deploy-engine-
|
|
2
|
+
import { $ as DagBuilder, A as red, At as resolveApp, B as isTerminationProtectionPropagationError, Bt as CFN_TEMPLATE_URL_LIMIT, C as isStatefulRecreateTargetSync, Ct as runDockerStreaming, D as cyan, Dt as synthesisStatusMessage, E as bold, Et as Synthesizer, F as ProviderRegistry, Ft as resolveStateBucketWithDefaultAndSource, G as normalizeAwsTagsToCfn, Gt as AssemblyReader, H as cfnRefValueFromPhysicalId, Ht as findLargeInlineResources, I as findActionableSilentDrops, It as resolveUseCdkBootstrapAssets, J as applyRoleArnIfSet, Jt as resolveBucketRegion, K as resolveExplicitPhysicalId, Kt as processStackMessages, L as CloudControlProvider, Lt as stateBucketExistenceConfirmed, M as IAMRoleProvider, Mt as resolveCaptureObservedState, N as collectInlinePolicyNamesManagedBySiblings, Nt as resolveSkipPrefix, O as gray, Ot as getDefaultStateBucketName, P as clearOnUpdateRemoval, Pt as resolveStateBucketWithDefault, Q as isRetryableTransientError, Qt as setAwsClients, R as slowCcOperationTimeoutMs, Rt as warnDeprecatedNoPrefixCliFlag, S as MULTI_REGION_RECREATE_BLOCKED_TYPES, St as runDockerForeground, T as formatResourceLine, Tt as getDockerImageBySourceHash, U as refStateLookupFromResource, Ut as uploadCfnTemplate, V as IntrinsicFunctionResolver, Vt as MIGRATE_TMP_PREFIX, W as WAFv2WebACLProvider, Wt as expectedOwnerParam, X as describeTypeWithThrottleRetry, Xt as getAwsClients, Y as DiffCalculator, Yt as AwsClients, Z as withRetry, Zt as resetAwsClients, _ as createPreDeleteFinalSnapshot, _t as validateAssetBucketName, a as DeploymentEventsStore, an as LocalMigrateError, at as AssetPublisher, b as unsupportedFinalSnapshotError, bn as normalizeAwsError, bt as formatDockerLoginError, c as replayFailedOperations, cn as MissingCdkCliError, ct as buildAssetRedirectMap, d as IMPLICIT_DELETE_DEPENDENCIES, dn as ProvisioningError, dt as rewriteTemplateAssetReferences, en as CdkdError, et as TemplateParser, f as computeImplicitDeleteEdges, fn as ResourceTimeoutError, ft as AssetModeResolver, g as ccRoutedFinalSnapshotError, gt as parseBootstrapMarker, h as buildFinalSnapshotIdentifier, hn as StackTerminationProtectionError, ht as getBootstrapMarkerKey, i as DeploymentEventsReader, in as LocalInvokeBuildError$1, it as shouldRetainResource, j as yellow, jt as resolveAutoAssetStorage, k as green, kt as getLegacyStateBucketName, l as replayRollback, ln as NestedStackChildDirectDestroyError, lt as createAssetRedirectResolver, m as PRE_DELETE_SNAPSHOT_TYPES, mn as StackHasActiveImportsError, mt as ensureAssetStorage, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nt as S3StateBackend, o as planFailedOps, on as LocalStartServiceError, ot as stringifyValue, p as ATOMIC_FINAL_SNAPSHOT_TYPES, pn as ResourceUpdateNotSupportedError, pt as BOOTSTRAP_MARKER_PREFIX, q as assertRegionMatch, r as DeployEngine, rn as DeployCancelledError, rt as rebuildClientForBucketRegion, s as planRollback, st as WorkGraph, t as DEFAULT_RESOURCE_TIMEOUT_MS, tt as LockManager, u as withResourceDeadline, un as PartialFailureError, ut as loadPublishableAssetManifest, v as isFinalSnapshotError, vt as validateContainerRepoName, w as renderStatefulReason, wt as AssetManifestLoader, x as extractDeploymentEventError, xn as withErrorHandling, xt as getDockerCmd, y as refusesFinalSnapshot, yt as buildDockerImage, z as disableInstanceApiTermination, zt as CFN_TEMPLATE_BODY_LIMIT } from "./deploy-engine-Bb3aRJ2Y.js";
|
|
3
3
|
import { a as getLiveRenderer, c as PATTERN_B_RESOURCE_TYPES, d as generateResourceNameWithFallback, f as withSkipPrefix, i as runStackBuffered, n as getLogger, o as PATTERN_B_NAME_OPTIONS, p as withStackName, s as PATTERN_B_NAME_PROPERTIES, u as generateResourceName } from "./logger-BYMEE-BS.js";
|
|
4
|
-
import { t as ASGProvider } from "./asg-provider-
|
|
4
|
+
import { t as ASGProvider } from "./asg-provider-Dwf9PnS6.js";
|
|
5
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
6
6
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
7
7
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, 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, PutObjectCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -12558,7 +12558,13 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
12558
12558
|
if (gsiHandledByBillingFlip.has(gsi.IndexName)) continue;
|
|
12559
12559
|
const billingFlipped = oldBilling !== newBilling;
|
|
12560
12560
|
const update = { IndexName: gsi.IndexName };
|
|
12561
|
-
|
|
12561
|
+
const previousOnDemand = previousSdkByName.get(gsi.IndexName)?.OnDemandThroughput;
|
|
12562
|
+
const onDemand = { ...gsi.OnDemandThroughput };
|
|
12563
|
+
if (!billingFlipped && previousOnDemand) {
|
|
12564
|
+
if (previousOnDemand.MaxReadRequestUnits !== void 0 && onDemand.MaxReadRequestUnits === void 0) onDemand.MaxReadRequestUnits = ON_DEMAND_LIMIT_RESET;
|
|
12565
|
+
if (previousOnDemand.MaxWriteRequestUnits !== void 0 && onDemand.MaxWriteRequestUnits === void 0) onDemand.MaxWriteRequestUnits = ON_DEMAND_LIMIT_RESET;
|
|
12566
|
+
}
|
|
12567
|
+
if (Object.keys(onDemand).length > 0) update.OnDemandThroughput = onDemand;
|
|
12562
12568
|
if (!billingFlipped && gsi.ProvisionedThroughput) update.ProvisionedThroughput = gsi.ProvisionedThroughput;
|
|
12563
12569
|
const previousSdk = previousSdkByName.get(gsi.IndexName);
|
|
12564
12570
|
if (gsi.WarmThroughput !== void 0 && !deepEqual$1(gsi.WarmThroughput, previousSdk?.WarmThroughput)) update.WarmThroughput = gsi.WarmThroughput;
|
|
@@ -13377,6 +13383,15 @@ const DEFAULT_CAPACITY_UNITS = 5;
|
|
|
13377
13383
|
function asRecord(value) {
|
|
13378
13384
|
return value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
13379
13385
|
}
|
|
13386
|
+
/**
|
|
13387
|
+
* The sentinel DynamoDB accepts to CLEAR a per-GSI on-demand request-unit
|
|
13388
|
+
* ceiling (issue #1423). Live-verified against real AWS: `UpdateTable` with
|
|
13389
|
+
* `GlobalSecondaryIndexUpdates[].Update.OnDemandThroughput = {-1, -1}` is
|
|
13390
|
+
* accepted, and the member reads back ABSENT from `DescribeTable` afterwards —
|
|
13391
|
+
* so it is genuinely reset to unlimited rather than stored as -1. Any drift /
|
|
13392
|
+
* read-back comparison must therefore expect ABSENCE, not this value.
|
|
13393
|
+
*/
|
|
13394
|
+
const ON_DEMAND_LIMIT_RESET = -1;
|
|
13380
13395
|
/** Coerce a CFn numeric (CFn is stringly-typed) to a finite number. */
|
|
13381
13396
|
function toFiniteNumber(value) {
|
|
13382
13397
|
if (value === void 0 || value === null || value === "") return void 0;
|
|
@@ -41006,6 +41021,15 @@ var CodeBuildProvider = class {
|
|
|
41006
41021
|
if (!this.client) this.client = new CodeBuildClient(this.providerRegion ? { region: this.providerRegion } : {});
|
|
41007
41022
|
return this.client;
|
|
41008
41023
|
}
|
|
41024
|
+
/**
|
|
41025
|
+
* Return type is DECLARED on purpose. `new CreateProjectCommand(input)` takes
|
|
41026
|
+
* a variable, so TypeScript's excess-property check never runs there and a
|
|
41027
|
+
* misspelled SDK member (`gitSubModulesConfig`) would compile, be dropped by
|
|
41028
|
+
* the serializer, and still pass every unit test — the tests read back the
|
|
41029
|
+
* same key the mapper wrote, so they are tautological on spelling. A fresh
|
|
41030
|
+
* object literal returned against a declared type IS excess-property checked,
|
|
41031
|
+
* which turns each member name into a compile-time fact (issue #1386).
|
|
41032
|
+
*/
|
|
41009
41033
|
mapSource(source) {
|
|
41010
41034
|
if (!source) return { type: "NO_SOURCE" };
|
|
41011
41035
|
let buildspec;
|
|
@@ -41013,13 +41037,26 @@ var CodeBuildProvider = class {
|
|
|
41013
41037
|
const bs = source["BuildSpec"];
|
|
41014
41038
|
buildspec = typeof bs === "object" ? JSON.stringify(bs) : bs;
|
|
41015
41039
|
}
|
|
41040
|
+
const cfnAuth = source["Auth"];
|
|
41041
|
+
const cfnGitSubmodules = source["GitSubmodulesConfig"];
|
|
41042
|
+
const cfnBuildStatus = source["BuildStatusConfig"];
|
|
41016
41043
|
return {
|
|
41017
41044
|
type: source["Type"] ?? "NO_SOURCE",
|
|
41018
41045
|
buildspec,
|
|
41019
41046
|
location: source["Location"],
|
|
41020
41047
|
gitCloneDepth: source["GitCloneDepth"],
|
|
41021
41048
|
insecureSsl: source["InsecureSsl"],
|
|
41022
|
-
reportBuildStatus: source["ReportBuildStatus"]
|
|
41049
|
+
reportBuildStatus: source["ReportBuildStatus"],
|
|
41050
|
+
sourceIdentifier: source["SourceIdentifier"],
|
|
41051
|
+
auth: cfnAuth ? {
|
|
41052
|
+
type: cfnAuth["Type"],
|
|
41053
|
+
resource: cfnAuth["Resource"]
|
|
41054
|
+
} : void 0,
|
|
41055
|
+
gitSubmodulesConfig: cfnGitSubmodules ? { fetchSubmodules: cfnGitSubmodules["FetchSubmodules"] } : void 0,
|
|
41056
|
+
buildStatusConfig: cfnBuildStatus ? {
|
|
41057
|
+
context: cfnBuildStatus["Context"],
|
|
41058
|
+
targetUrl: cfnBuildStatus["TargetUrl"]
|
|
41059
|
+
} : void 0
|
|
41023
41060
|
};
|
|
41024
41061
|
}
|
|
41025
41062
|
mapArtifacts(artifacts) {
|
|
@@ -41036,6 +41073,7 @@ var CodeBuildProvider = class {
|
|
|
41036
41073
|
artifactIdentifier: artifacts["ArtifactIdentifier"]
|
|
41037
41074
|
};
|
|
41038
41075
|
}
|
|
41076
|
+
/** Declared return type for the same excess-property reason as {@link mapSource}. */
|
|
41039
41077
|
mapProperties(logicalId, properties) {
|
|
41040
41078
|
const name = properties["Name"] ?? logicalId;
|
|
41041
41079
|
const source = properties["Source"];
|
|
@@ -41048,11 +41086,14 @@ var CodeBuildProvider = class {
|
|
|
41048
41086
|
const artifacts = properties["Artifacts"];
|
|
41049
41087
|
const tags = properties["Tags"];
|
|
41050
41088
|
const envVars = environment?.["EnvironmentVariables"];
|
|
41089
|
+
const cfnFleet = environment?.["Fleet"];
|
|
41090
|
+
const cfnDockerServer = environment?.["DockerServer"];
|
|
41051
41091
|
const cfnCache = properties["Cache"];
|
|
41052
41092
|
const cache = cfnCache ? {
|
|
41053
41093
|
type: cfnCache["Type"],
|
|
41054
41094
|
location: cfnCache["Location"],
|
|
41055
|
-
modes: cfnCache["Modes"]
|
|
41095
|
+
modes: cfnCache["Modes"],
|
|
41096
|
+
cacheNamespace: cfnCache["CacheNamespace"]
|
|
41056
41097
|
} : void 0;
|
|
41057
41098
|
const cfnVpcConfig = properties["VpcConfig"];
|
|
41058
41099
|
const vpcConfig = cfnVpcConfig ? {
|
|
@@ -41103,6 +41144,7 @@ var CodeBuildProvider = class {
|
|
|
41103
41144
|
serviceRole: cfnBuildBatchConfig["ServiceRole"],
|
|
41104
41145
|
combineArtifacts: cfnBuildBatchConfig["CombineArtifacts"],
|
|
41105
41146
|
timeoutInMins: cfnBuildBatchConfig["TimeoutInMins"],
|
|
41147
|
+
batchReportMode: cfnBuildBatchConfig["BatchReportMode"],
|
|
41106
41148
|
restrictions: restrictions ? {
|
|
41107
41149
|
maximumBuildsAllowed: restrictions["MaximumBuildsAllowed"],
|
|
41108
41150
|
computeTypesAllowed: restrictions["ComputeTypesAllowed"]
|
|
@@ -41124,6 +41166,11 @@ var CodeBuildProvider = class {
|
|
|
41124
41166
|
privilegedMode: environment?.["PrivilegedMode"],
|
|
41125
41167
|
certificate: environment?.["Certificate"],
|
|
41126
41168
|
imagePullCredentialsType: environment?.["ImagePullCredentialsType"],
|
|
41169
|
+
fleet: cfnFleet ? { fleetArn: cfnFleet["FleetArn"] } : void 0,
|
|
41170
|
+
dockerServer: cfnDockerServer ? {
|
|
41171
|
+
computeType: cfnDockerServer["ComputeType"],
|
|
41172
|
+
securityGroupIds: cfnDockerServer["SecurityGroupIds"]
|
|
41173
|
+
} : void 0,
|
|
41127
41174
|
registryCredential: environment?.["RegistryCredential"] ? {
|
|
41128
41175
|
credential: environment["RegistryCredential"]["Credential"],
|
|
41129
41176
|
credentialProvider: environment["RegistryCredential"]["CredentialProvider"]
|
|
@@ -41270,6 +41317,14 @@ var CodeBuildProvider = class {
|
|
|
41270
41317
|
if (project.source?.gitCloneDepth !== void 0) src["GitCloneDepth"] = project.source.gitCloneDepth;
|
|
41271
41318
|
if (project.source?.insecureSsl !== void 0) src["InsecureSsl"] = project.source.insecureSsl;
|
|
41272
41319
|
if (project.source?.reportBuildStatus !== void 0) src["ReportBuildStatus"] = project.source.reportBuildStatus;
|
|
41320
|
+
if (project.source?.sourceIdentifier !== void 0) src["SourceIdentifier"] = project.source.sourceIdentifier;
|
|
41321
|
+
if (project.source?.gitSubmodulesConfig !== void 0) src["GitSubmodulesConfig"] = { FetchSubmodules: project.source.gitSubmodulesConfig.fetchSubmodules };
|
|
41322
|
+
if (project.source?.buildStatusConfig !== void 0) {
|
|
41323
|
+
const bsc = {};
|
|
41324
|
+
if (project.source.buildStatusConfig.context !== void 0) bsc["Context"] = project.source.buildStatusConfig.context;
|
|
41325
|
+
if (project.source.buildStatusConfig.targetUrl !== void 0) bsc["TargetUrl"] = project.source.buildStatusConfig.targetUrl;
|
|
41326
|
+
src["BuildStatusConfig"] = bsc;
|
|
41327
|
+
}
|
|
41273
41328
|
result["Source"] = src;
|
|
41274
41329
|
}
|
|
41275
41330
|
{
|
|
@@ -41293,6 +41348,17 @@ var CodeBuildProvider = class {
|
|
|
41293
41348
|
if (project.environment?.privilegedMode !== void 0) env["PrivilegedMode"] = project.environment.privilegedMode;
|
|
41294
41349
|
if (project.environment?.imagePullCredentialsType !== void 0) env["ImagePullCredentialsType"] = project.environment.imagePullCredentialsType;
|
|
41295
41350
|
if (project.environment?.certificate !== void 0) env["Certificate"] = project.environment.certificate;
|
|
41351
|
+
if (project.environment?.fleet !== void 0) {
|
|
41352
|
+
const fleet = {};
|
|
41353
|
+
if (project.environment.fleet.fleetArn !== void 0) fleet["FleetArn"] = project.environment.fleet.fleetArn;
|
|
41354
|
+
env["Fleet"] = fleet;
|
|
41355
|
+
}
|
|
41356
|
+
if (project.environment?.dockerServer !== void 0) {
|
|
41357
|
+
const ds = {};
|
|
41358
|
+
if (project.environment.dockerServer.computeType !== void 0) ds["ComputeType"] = project.environment.dockerServer.computeType;
|
|
41359
|
+
if (project.environment.dockerServer.securityGroupIds !== void 0) ds["SecurityGroupIds"] = project.environment.dockerServer.securityGroupIds;
|
|
41360
|
+
env["DockerServer"] = ds;
|
|
41361
|
+
}
|
|
41296
41362
|
env["EnvironmentVariables"] = (project.environment?.environmentVariables ?? []).map((ev) => {
|
|
41297
41363
|
const out = {};
|
|
41298
41364
|
if (ev.name !== void 0) out["Name"] = ev.name;
|
|
@@ -41325,6 +41391,7 @@ var CodeBuildProvider = class {
|
|
|
41325
41391
|
const cache = { Type: project.cache?.type ?? "NO_CACHE" };
|
|
41326
41392
|
if (project.cache?.location !== void 0) cache["Location"] = project.cache.location;
|
|
41327
41393
|
if (project.cache?.modes !== void 0) cache["Modes"] = project.cache.modes;
|
|
41394
|
+
if (project.cache?.cacheNamespace !== void 0) cache["CacheNamespace"] = project.cache.cacheNamespace;
|
|
41328
41395
|
result["Cache"] = cache;
|
|
41329
41396
|
}
|
|
41330
41397
|
result["SecondarySources"] = (project.secondarySources ?? []).map((s) => {
|
|
@@ -41336,6 +41403,13 @@ var CodeBuildProvider = class {
|
|
|
41336
41403
|
if (s.insecureSsl !== void 0) out["InsecureSsl"] = s.insecureSsl;
|
|
41337
41404
|
if (s.reportBuildStatus !== void 0) out["ReportBuildStatus"] = s.reportBuildStatus;
|
|
41338
41405
|
if (s.sourceIdentifier !== void 0) out["SourceIdentifier"] = s.sourceIdentifier;
|
|
41406
|
+
if (s.gitSubmodulesConfig !== void 0) out["GitSubmodulesConfig"] = { FetchSubmodules: s.gitSubmodulesConfig.fetchSubmodules };
|
|
41407
|
+
if (s.buildStatusConfig !== void 0) {
|
|
41408
|
+
const bsc = {};
|
|
41409
|
+
if (s.buildStatusConfig.context !== void 0) bsc["Context"] = s.buildStatusConfig.context;
|
|
41410
|
+
if (s.buildStatusConfig.targetUrl !== void 0) bsc["TargetUrl"] = s.buildStatusConfig.targetUrl;
|
|
41411
|
+
out["BuildStatusConfig"] = bsc;
|
|
41412
|
+
}
|
|
41339
41413
|
return out;
|
|
41340
41414
|
});
|
|
41341
41415
|
result["SecondaryArtifacts"] = (project.secondaryArtifacts ?? []).map((a) => {
|
|
@@ -41384,6 +41458,9 @@ var CodeBuildProvider = class {
|
|
|
41384
41458
|
result["Tags"] = normalizeAwsTagsToCfn(project.tags);
|
|
41385
41459
|
return result;
|
|
41386
41460
|
}
|
|
41461
|
+
getDriftUnknownPaths() {
|
|
41462
|
+
return ["Source.Auth"];
|
|
41463
|
+
}
|
|
41387
41464
|
async import(input) {
|
|
41388
41465
|
const explicit = resolveExplicitPhysicalId(input, "Name");
|
|
41389
41466
|
if (explicit) try {
|
|
@@ -64906,7 +64983,7 @@ function createMigrateCommand() {
|
|
|
64906
64983
|
*/
|
|
64907
64984
|
function buildProgram() {
|
|
64908
64985
|
const program = new Command();
|
|
64909
|
-
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.278.
|
|
64986
|
+
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.278.15");
|
|
64910
64987
|
program.hook("preAction", (_thisCommand, actionCommand) => {
|
|
64911
64988
|
const { profile } = actionCommand.optsWithGlobals();
|
|
64912
64989
|
if (profile !== void 0) process.env["AWS_PROFILE"] = profile;
|