@cdkd/cli 0.350.2 → 0.350.4
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-nYbcw8Dc.js → ambient-client-defaults-CepgBr_y.js} +6 -4
- package/dist/{ambient-client-defaults-nYbcw8Dc.js.map → ambient-client-defaults-CepgBr_y.js.map} +1 -1
- package/dist/{asg-provider-C2lKCOu5.js → asg-provider-26AfIhcd.js} +6 -6
- package/dist/{asg-provider-C2lKCOu5.js.map → asg-provider-26AfIhcd.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-BcxDxd28.js → custom-resource-runtime-2Kfh-v8P.js} +6 -6
- package/dist/{custom-resource-runtime-BcxDxd28.js.map → custom-resource-runtime-2Kfh-v8P.js.map} +1 -1
- package/dist/{db-instance-modify-retry-EpoVdg4u.js → db-instance-modify-retry-BoKzNMfz.js} +4 -4
- package/dist/{db-instance-modify-retry-EpoVdg4u.js.map → db-instance-modify-retry-BoKzNMfz.js.map} +1 -1
- package/dist/{delete-started-Co5Gt1jH.js → delete-started-Bq_G9e4j.js} +26 -3
- package/dist/delete-started-Bq_G9e4j.js.map +1 -0
- package/dist/{deploy-engine-DWLm19jg.js → deploy-engine-DLmPF7r5.js} +994 -271
- package/dist/deploy-engine-DLmPF7r5.js.map +1 -0
- package/dist/{diff-calculator-DNuEc3vO.js → diff-calculator-DYUmMeew.js} +24 -15
- package/dist/{diff-calculator-DNuEc3vO.js.map → diff-calculator-DYUmMeew.js.map} +1 -1
- package/dist/{ec2-termination-protection-BrCiVso0.js → ec2-termination-protection-Di3eM8PN.js} +6 -6
- package/dist/{ec2-termination-protection-BrCiVso0.js.map → ec2-termination-protection-Di3eM8PN.js.map} +1 -1
- package/dist/{ecr-uri-JpCbWN50.js → ecr-uri-6HdJfJPR.js} +2 -2
- package/dist/{ecr-uri-JpCbWN50.js.map → ecr-uri-6HdJfJPR.js.map} +1 -1
- package/dist/{expected-bucket-owner-IaiC3JwO.js → expected-bucket-owner-Drp-CSQY.js} +2 -2
- package/dist/{expected-bucket-owner-IaiC3JwO.js.map → expected-bucket-owner-Drp-CSQY.js.map} +1 -1
- package/dist/{iam-role-provider-fNKzA1U5.js → iam-role-provider-B5c4V2kT.js} +7 -7
- package/dist/{iam-role-provider-fNKzA1U5.js.map → iam-role-provider-B5c4V2kT.js.map} +1 -1
- package/dist/{image-plan-C87HDsmb.js → image-plan-CYouJkYM.js} +19 -11
- package/dist/image-plan-CYouJkYM.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CD1O0WGI.js → logger-6lyGJVGE.js} +3 -5
- package/dist/logger-6lyGJVGE.js.map +1 -0
- package/dist/{neptune-provider-BYb2XZFH.js → neptune-provider-Dhody0jz.js} +7 -7
- package/dist/{neptune-provider-BYb2XZFH.js.map → neptune-provider-Dhody0jz.js.map} +1 -1
- package/dist/{program-DJWAG98-.js → program-BMBei2v9.js} +340 -81
- package/dist/program-BMBei2v9.js.map +1 -0
- package/dist/{provider-classes-B8WD5ucF.js → provider-classes-B3qqzXp-.js} +179 -28
- package/dist/provider-classes-B3qqzXp-.js.map +1 -0
- package/dist/{rds-provider-B5Ox8FBm.js → rds-provider-CXjWWFKT.js} +13 -25
- package/dist/{rds-provider-B5Ox8FBm.js.map → rds-provider-CXjWWFKT.js.map} +1 -1
- package/dist/{read-replica-6SDKYiLa.js → read-replica-iA8yd-HO.js} +3 -3
- package/dist/{read-replica-6SDKYiLa.js.map → read-replica-iA8yd-HO.js.map} +1 -1
- package/dist/{replacement-rules-Dpkm5pWN.js → replacement-rules-B4fLD_Ru.js} +3 -3
- package/dist/{replacement-rules-Dpkm5pWN.js.map → replacement-rules-B4fLD_Ru.js.map} +1 -1
- package/dist/{resource-deadline-P1IssiEh.js → resource-deadline-BcEyGRdL.js} +19 -19
- package/dist/{resource-deadline-P1IssiEh.js.map → resource-deadline-BcEyGRdL.js.map} +1 -1
- package/dist/{run-cli-CXI5umz9.js → run-cli-Dp938GHN.js} +2 -2
- package/dist/{run-cli-CXI5umz9.js.map → run-cli-Dp938GHN.js.map} +1 -1
- package/dist/{update-removal-C8I2P2bf.js → update-removal-1ZPAMzvz.js} +5 -5
- package/dist/{update-removal-C8I2P2bf.js.map → update-removal-1ZPAMzvz.js.map} +1 -1
- package/dist/{version-Cu2oblwQ.js → version-D_7vFUjp.js} +2 -2
- package/dist/{version-Cu2oblwQ.js.map → version-D_7vFUjp.js.map} +1 -1
- package/package.json +2 -2
- package/dist/delete-started-Co5Gt1jH.js.map +0 -1
- package/dist/deploy-engine-DWLm19jg.js.map +0 -1
- package/dist/image-plan-C87HDsmb.js.map +0 -1
- package/dist/logger-CD1O0WGI.js.map +0 -1
- package/dist/program-DJWAG98-.js.map +0 -1
- package/dist/provider-classes-B8WD5ucF.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { E as coerceCfnBoolean, n as getLogger, u as describeAwsFailure, w as generatedNameFor } from "./logger-
|
|
2
|
-
import { G as markRedactedCause, K as wrapMaskedAwsError, O as relayedNameCollision, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, t as ambientClientDefaults } from "./ambient-client-defaults-
|
|
3
|
-
import {
|
|
1
|
+
import { E as coerceCfnBoolean, n as getLogger, u as describeAwsFailure, w as generatedNameFor } from "./logger-6lyGJVGE.js";
|
|
2
|
+
import { G as markRedactedCause, K as wrapMaskedAwsError, O as relayedNameCollision, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, t as ambientClientDefaults } from "./ambient-client-defaults-CepgBr_y.js";
|
|
3
|
+
import { H as resolveExplicitPhysicalId, J as deleteWithProtectionCompensation, Jt as markAuxiliaryFailure, K as markNotGone, M as withoutServerErrorRetries, Pt as createMaskedLogSinks, R as normalizeAwsTagsToCfn, Rt as maskerOrIdentity, U as RESOURCE_NOT_FOUND, W as assertRegionMatch, X as observeThenDisableProtection, Yt as markCreatedBeforeFailure, Z as rdsFamilyProtectionSite, _t as pasteableAwsCommand, a as withRemovalDefaults, ct as protectionFlipKey, et as PROTECTION_FLIP_RETRY_WAIT_MS, f as retractCreatedResource, it as isTerminalDbWaitStatus, ot as ProtectionFlipRegistry, t as clearOnUpdateRemoval, tt as deleteAfterProtectionFlipWithFinalSnapshot, u as reportCreatedResource, vt as protectedReplacementAdvice, zt as withDerivedNameMasks } from "./update-removal-1ZPAMzvz.js";
|
|
4
4
|
import { f as ambientRegion } from "./aws-client-defaults-DAebi99J.js";
|
|
5
|
-
import { a as
|
|
6
|
-
import { a as POINT_IN_TIME_NO_SOURCE_REASON, c as refuseRestoreFromItself,
|
|
7
|
-
import { P as safeMsg, c as deployReplaceCommand, m as proseQuoted, o as cdkdRemedy } from "./version-
|
|
8
|
-
import { a as associatedRoleList, c as canonicalAssociatedRoles, i as associatedRoleKey, l as isRoleCallNotAvailableRefusal, n as modifyDbInstanceWhenAvailable, o as associatedRolesNamed, r as associatedRoleArns, s as associatedRolesReadback, t as isModifyNotAvailableRefusal, u as planAssociatedRoleChanges } from "./db-instance-modify-retry-
|
|
9
|
-
import { _ as replicaSourceChange, a as isLiveReadReplica, b as withPreviousReplicaSource, c as positive, d as refuseMalformedReplicaSource, f as refuseUnknownSourceRegion, g as replicaNeedsModifyAfterCreate, h as replicaModifyAfterCreateInput, i as describeReplicaSource, m as replicaEngine, n as declared, o as liveReplicaSource, p as replicaCreateInput, r as declaredReplicaSource, s as ownScopeOf, t as REPLICA_SOURCE_KEYS, u as refuseBothReplicaSources, v as replicaSourceStatus, y as sameReplicaSource } from "./read-replica-
|
|
10
|
-
import { Nt as dynamicReferenceTokens, r as dbInstanceEngineChangeIsInPlace } from "./replacement-rules-
|
|
5
|
+
import { a as slowCcOperationTimeoutMs, i as dbInstanceAttributes, o as acceptedCreateOnlyDropsOf, r as markDeleteStarted } from "./delete-started-Bq_G9e4j.js";
|
|
6
|
+
import { _ as definedAttributes, a as POINT_IN_TIME_NO_SOURCE_REASON, c as refuseRestoreFromItself, f as planTagDiff, g as tagPlanWarning, l as parseZonedTimestamp, m as refuseMalformedDesiredTags, n as enclosingDeadlineRemainingMs, o as declaresInstancePointInTime, s as pointInTimeTemplateRefusal, v as stringifyIfAssigned } from "./resource-deadline-BcEyGRdL.js";
|
|
7
|
+
import { P as safeMsg, c as deployReplaceCommand, m as proseQuoted, o as cdkdRemedy } from "./version-D_7vFUjp.js";
|
|
8
|
+
import { a as associatedRoleList, c as canonicalAssociatedRoles, i as associatedRoleKey, l as isRoleCallNotAvailableRefusal, n as modifyDbInstanceWhenAvailable, o as associatedRolesNamed, r as associatedRoleArns, s as associatedRolesReadback, t as isModifyNotAvailableRefusal, u as planAssociatedRoleChanges } from "./db-instance-modify-retry-BoKzNMfz.js";
|
|
9
|
+
import { _ as replicaSourceChange, a as isLiveReadReplica, b as withPreviousReplicaSource, c as positive, d as refuseMalformedReplicaSource, f as refuseUnknownSourceRegion, g as replicaNeedsModifyAfterCreate, h as replicaModifyAfterCreateInput, i as describeReplicaSource, m as replicaEngine, n as declared, o as liveReplicaSource, p as replicaCreateInput, r as declaredReplicaSource, s as ownScopeOf, t as REPLICA_SOURCE_KEYS, u as refuseBothReplicaSources, v as replicaSourceStatus, y as sameReplicaSource } from "./read-replica-iA8yd-HO.js";
|
|
10
|
+
import { Nt as dynamicReferenceTokens, r as dbInstanceEngineChangeIsInPlace } from "./replacement-rules-B4fLD_Ru.js";
|
|
11
11
|
import { DescribeSecurityGroupsCommand, EC2Client } from "@aws-sdk/client-ec2";
|
|
12
12
|
import { isDeepStrictEqual } from "node:util";
|
|
13
13
|
import { AddRoleToDBClusterCommand, AddRoleToDBInstanceCommand, AddTagsToResourceCommand, CreateDBClusterCommand, CreateDBInstanceCommand, CreateDBInstanceReadReplicaCommand, CreateDBSubnetGroupCommand, DeleteDBClusterCommand, DeleteDBInstanceCommand, DeleteDBSubnetGroupCommand, DescribeDBClusterAutomatedBackupsCommand, DescribeDBClusterSnapshotsCommand, DescribeDBClustersCommand, DescribeDBInstanceAutomatedBackupsCommand, DescribeDBInstancesCommand, DescribeDBSnapshotsCommand, DescribeDBSubnetGroupsCommand, DescribeGlobalClustersCommand, DisableHttpEndpointCommand, EnableHttpEndpointCommand, ListTagsForResourceCommand, ModifyDBClusterCommand, ModifyDBInstanceCommand, ModifyDBSubnetGroupCommand, PromoteReadReplicaCommand, RDSClient, RebootDBInstanceCommand, RemoveFromGlobalClusterCommand, RemoveRoleFromDBClusterCommand, RemoveRoleFromDBInstanceCommand, RemoveTagsFromResourceCommand, RestoreDBClusterFromSnapshotCommand, RestoreDBClusterToPointInTimeCommand, RestoreDBInstanceFromDBSnapshotCommand, RestoreDBInstanceToPointInTimeCommand, StartDBInstanceAutomatedBackupsReplicationCommand, StopDBInstanceAutomatedBackupsReplicationCommand } from "@aws-sdk/client-rds";
|
|
@@ -2942,11 +2942,7 @@ async function createDBInstance(logicalId, resourceType, properties, mask, repla
|
|
|
2942
2942
|
const described = await this.describeDBInstance(dbInstanceIdentifier);
|
|
2943
2943
|
return {
|
|
2944
2944
|
physicalId: dbInstanceIdentifier,
|
|
2945
|
-
attributes:
|
|
2946
|
-
"Endpoint.Address": described?.Endpoint?.Address,
|
|
2947
|
-
"Endpoint.Port": stringifyIfAssigned(described?.Endpoint?.Port),
|
|
2948
|
-
Arn: described?.DBInstanceArn
|
|
2949
|
-
}),
|
|
2945
|
+
attributes: dbInstanceAttributes(described),
|
|
2950
2946
|
...roles === "skipped" && { effectiveProperties: Object.fromEntries(Object.entries(properties).filter(([key]) => key !== "AssociatedRoles")) }
|
|
2951
2947
|
};
|
|
2952
2948
|
} catch (error) {
|
|
@@ -3168,11 +3164,7 @@ async function updateDBInstance(logicalId, physicalId, resourceType, properties,
|
|
|
3168
3164
|
return {
|
|
3169
3165
|
physicalId,
|
|
3170
3166
|
wasReplaced: false,
|
|
3171
|
-
attributes:
|
|
3172
|
-
"Endpoint.Address": described?.Endpoint?.Address,
|
|
3173
|
-
"Endpoint.Port": stringifyIfAssigned(described?.Endpoint?.Port),
|
|
3174
|
-
Arn: described?.DBInstanceArn
|
|
3175
|
-
}),
|
|
3167
|
+
attributes: dbInstanceAttributes(described),
|
|
3176
3168
|
...effectiveProperties !== void 0 && { effectiveProperties }
|
|
3177
3169
|
};
|
|
3178
3170
|
} catch (error) {
|
|
@@ -3924,11 +3916,7 @@ async function importDBInstance(input) {
|
|
|
3924
3916
|
const described = (await this.getClient().send(new DescribeDBInstancesCommand({ DBInstanceIdentifier: explicit }))).DBInstances?.[0];
|
|
3925
3917
|
return {
|
|
3926
3918
|
physicalId: explicit,
|
|
3927
|
-
attributes:
|
|
3928
|
-
"Endpoint.Address": described?.Endpoint?.Address,
|
|
3929
|
-
"Endpoint.Port": stringifyIfAssigned(described?.Endpoint?.Port),
|
|
3930
|
-
Arn: described?.DBInstanceArn
|
|
3931
|
-
})
|
|
3919
|
+
attributes: dbInstanceAttributes(described)
|
|
3932
3920
|
};
|
|
3933
3921
|
} catch (err) {
|
|
3934
3922
|
if (err.name === "DBInstanceNotFoundFault") return null;
|
|
@@ -4305,4 +4293,4 @@ var RDSProvider = class extends RDSProviderBase {
|
|
|
4305
4293
|
};
|
|
4306
4294
|
|
|
4307
4295
|
export { RDSProvider };
|
|
4308
|
-
//# sourceMappingURL=rds-provider-
|
|
4296
|
+
//# sourceMappingURL=rds-provider-CXjWWFKT.js.map
|