@cdkd/cli 0.350.2 → 0.350.3
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-CqrM5nDS.js} +6 -4
- package/dist/{ambient-client-defaults-nYbcw8Dc.js.map → ambient-client-defaults-CqrM5nDS.js.map} +1 -1
- package/dist/{asg-provider-C2lKCOu5.js → asg-provider-hZ4nyheM.js} +6 -6
- package/dist/{asg-provider-C2lKCOu5.js.map → asg-provider-hZ4nyheM.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-BcxDxd28.js → custom-resource-runtime-CcClWTa-.js} +6 -6
- package/dist/{custom-resource-runtime-BcxDxd28.js.map → custom-resource-runtime-CcClWTa-.js.map} +1 -1
- package/dist/{db-instance-modify-retry-EpoVdg4u.js → db-instance-modify-retry-CsIlFgIJ.js} +4 -4
- package/dist/{db-instance-modify-retry-EpoVdg4u.js.map → db-instance-modify-retry-CsIlFgIJ.js.map} +1 -1
- package/dist/{delete-started-Co5Gt1jH.js → delete-started-C0g7PYI-.js} +24 -2
- package/dist/delete-started-C0g7PYI-.js.map +1 -0
- package/dist/{deploy-engine-DWLm19jg.js → deploy-engine-Sw2eta-t.js} +649 -163
- package/dist/deploy-engine-Sw2eta-t.js.map +1 -0
- package/dist/{diff-calculator-DNuEc3vO.js → diff-calculator-BvN5rnLe.js} +12 -12
- package/dist/{diff-calculator-DNuEc3vO.js.map → diff-calculator-BvN5rnLe.js.map} +1 -1
- package/dist/{ec2-termination-protection-BrCiVso0.js → ec2-termination-protection-BIIHrzUa.js} +6 -6
- package/dist/{ec2-termination-protection-BrCiVso0.js.map → ec2-termination-protection-BIIHrzUa.js.map} +1 -1
- package/dist/{ecr-uri-JpCbWN50.js → ecr-uri-CQ_BCOjX.js} +2 -2
- package/dist/{ecr-uri-JpCbWN50.js.map → ecr-uri-CQ_BCOjX.js.map} +1 -1
- package/dist/{expected-bucket-owner-IaiC3JwO.js → expected-bucket-owner-DR9qK772.js} +2 -2
- package/dist/{expected-bucket-owner-IaiC3JwO.js.map → expected-bucket-owner-DR9qK772.js.map} +1 -1
- package/dist/{iam-role-provider-fNKzA1U5.js → iam-role-provider-i52A7e_4.js} +7 -7
- package/dist/{iam-role-provider-fNKzA1U5.js.map → iam-role-provider-i52A7e_4.js.map} +1 -1
- package/dist/{image-plan-C87HDsmb.js → image-plan-DOnhBOIa.js} +19 -11
- package/dist/image-plan-DOnhBOIa.js.map +1 -0
- package/dist/index.js +5 -5
- package/dist/{logger-CD1O0WGI.js → logger-Ce9kvuBB.js} +3 -5
- package/dist/logger-Ce9kvuBB.js.map +1 -0
- package/dist/{neptune-provider-BYb2XZFH.js → neptune-provider-Bir1AdqM.js} +7 -7
- package/dist/{neptune-provider-BYb2XZFH.js.map → neptune-provider-Bir1AdqM.js.map} +1 -1
- package/dist/{program-DJWAG98-.js → program-DAAu8qUr.js} +281 -52
- package/dist/program-DAAu8qUr.js.map +1 -0
- package/dist/{provider-classes-B8WD5ucF.js → provider-classes-CM8Txuvb.js} +61 -26
- package/dist/{provider-classes-B8WD5ucF.js.map → provider-classes-CM8Txuvb.js.map} +1 -1
- package/dist/{rds-provider-B5Ox8FBm.js → rds-provider-DmVAU_Mv.js} +13 -25
- package/dist/{rds-provider-B5Ox8FBm.js.map → rds-provider-DmVAU_Mv.js.map} +1 -1
- package/dist/{read-replica-6SDKYiLa.js → read-replica-Bmq3NTlC.js} +3 -3
- package/dist/{read-replica-6SDKYiLa.js.map → read-replica-Bmq3NTlC.js.map} +1 -1
- package/dist/{replacement-rules-Dpkm5pWN.js → replacement-rules-lOM1aGPr.js} +3 -3
- package/dist/{replacement-rules-Dpkm5pWN.js.map → replacement-rules-lOM1aGPr.js.map} +1 -1
- package/dist/{resource-deadline-P1IssiEh.js → resource-deadline-1VcUPyH4.js} +19 -19
- package/dist/{resource-deadline-P1IssiEh.js.map → resource-deadline-1VcUPyH4.js.map} +1 -1
- package/dist/{run-cli-CXI5umz9.js → run-cli-BlVizMfM.js} +2 -2
- package/dist/{run-cli-CXI5umz9.js.map → run-cli-BlVizMfM.js.map} +1 -1
- package/dist/{update-removal-C8I2P2bf.js → update-removal-BOue-bJm.js} +4 -4
- package/dist/{update-removal-C8I2P2bf.js.map → update-removal-BOue-bJm.js.map} +1 -1
- package/dist/{version-Cu2oblwQ.js → version-DINEmsQH.js} +2 -2
- package/dist/{version-Cu2oblwQ.js.map → version-DINEmsQH.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
|
@@ -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 { $ as PROTECTION_FLIP_RETRY_WAIT_MS, G as markNotGone, H as RESOURCE_NOT_FOUND, Jt as markCreatedBeforeFailure, L as normalizeAwsTagsToCfn, Lt as maskerOrIdentity, Nt as createMaskedLogSinks, Rt as withDerivedNameMasks, U as assertRegionMatch, V as resolveExplicitPhysicalId, X as rdsFamilyProtectionSite, Y as observeThenDisableProtection, _t as protectedReplacementAdvice, a as withRemovalDefaults, at as ProtectionFlipRegistry, et as deleteAfterProtectionFlipWithFinalSnapshot, f as retractCreatedResource, gt as pasteableAwsCommand, j as withoutServerErrorRetries, q as deleteWithProtectionCompensation, qt as markAuxiliaryFailure, rt as isTerminalDbWaitStatus, st as protectionFlipKey, t as clearOnUpdateRemoval, u as reportCreatedResource } from "./update-removal-
|
|
1
|
+
import { E as coerceCfnBoolean, n as getLogger, u as describeAwsFailure, w as generatedNameFor } from "./logger-Ce9kvuBB.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-CqrM5nDS.js";
|
|
3
|
+
import { $ as PROTECTION_FLIP_RETRY_WAIT_MS, G as markNotGone, H as RESOURCE_NOT_FOUND, Jt as markCreatedBeforeFailure, L as normalizeAwsTagsToCfn, Lt as maskerOrIdentity, Nt as createMaskedLogSinks, Rt as withDerivedNameMasks, U as assertRegionMatch, V as resolveExplicitPhysicalId, X as rdsFamilyProtectionSite, Y as observeThenDisableProtection, _t as protectedReplacementAdvice, a as withRemovalDefaults, at as ProtectionFlipRegistry, et as deleteAfterProtectionFlipWithFinalSnapshot, f as retractCreatedResource, gt as pasteableAwsCommand, j as withoutServerErrorRetries, q as deleteWithProtectionCompensation, qt as markAuxiliaryFailure, rt as isTerminalDbWaitStatus, st as protectionFlipKey, t as clearOnUpdateRemoval, u as reportCreatedResource } from "./update-removal-BOue-bJm.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-C0g7PYI-.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-1VcUPyH4.js";
|
|
7
|
+
import { P as safeMsg, c as deployReplaceCommand, m as proseQuoted, o as cdkdRemedy } from "./version-DINEmsQH.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-CsIlFgIJ.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-Bmq3NTlC.js";
|
|
10
|
+
import { Nt as dynamicReferenceTokens, r as dbInstanceEngineChangeIsInPlace } from "./replacement-rules-lOM1aGPr.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-DmVAU_Mv.js.map
|