cdk-real-drift 0.12.107 → 0.12.109
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/cli.js +6 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6726,7 +6726,7 @@ function classifyResource(resource, liveRaw, schema, opts = {}) {
|
|
|
6726
6726
|
if (resourceType === "AWS::EC2::Instance") {
|
|
6727
6727
|
const instanceType = declared["InstanceType"];
|
|
6728
6728
|
const family = typeof instanceType === "string" ? instanceType.split(".")[0] : void 0;
|
|
6729
|
-
const factoryDefault = family === "t2" ? "standard" : family === "t3" || family === "t3a" || family === "t4g" ? "unlimited" : void 0;
|
|
6729
|
+
const factoryDefault = family === "t2" ? "standard" : family === "t3" || family === "t3a" || family === "t4g" ? "unlimited" : family !== void 0 && !family.startsWith("t") ? "standard" : void 0;
|
|
6730
6730
|
const creditDefault = (family !== void 0 ? opts.accountDefaults?.ec2FamilyCreditDefaults?.[family] : void 0) ?? factoryDefault;
|
|
6731
6731
|
if (creditDefault !== void 0) knownDef = {
|
|
6732
6732
|
...knownDef,
|
|
@@ -13120,7 +13120,11 @@ const DEFAULT_SG_LIST_TYPES = new Set([
|
|
|
13120
13120
|
"AWS::Neptune::DBCluster",
|
|
13121
13121
|
"AWS::AmazonMQ::Broker",
|
|
13122
13122
|
"AWS::RedshiftServerless::Workgroup",
|
|
13123
|
-
"AWS::Redshift::Cluster"
|
|
13123
|
+
"AWS::Redshift::Cluster",
|
|
13124
|
+
"AWS::RDS::DBCluster",
|
|
13125
|
+
"AWS::RDS::DBInstance",
|
|
13126
|
+
"AWS::DocDB::DBCluster",
|
|
13127
|
+
"AWS::EC2::Instance"
|
|
13124
13128
|
]);
|
|
13125
13129
|
const DEFAULT_SUBNET_LIST_TYPES = new Set(["AWS::RedshiftServerless::Workgroup"]);
|
|
13126
13130
|
const defaultSgIdsCache = /* @__PURE__ */ new Map();
|