cdk-real-drift 0.12.108 → 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 +1 -1
- 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,
|