cdk-real-drift 0.12.26 → 0.12.28
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 +25 -9
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1766,7 +1766,9 @@ const FREE_FORM_MAP_PARENTS = new Set([
|
|
|
1766
1766
|
"UserPoolTags",
|
|
1767
1767
|
"BackupPlanTags",
|
|
1768
1768
|
"BackupVaultTags",
|
|
1769
|
-
"RecoveryPointTags"
|
|
1769
|
+
"RecoveryPointTags",
|
|
1770
|
+
"TieringConfigurationTags",
|
|
1771
|
+
"TestAliasTags"
|
|
1770
1772
|
]);
|
|
1771
1773
|
const TAG_PROPERTY_NAMES = new Set([
|
|
1772
1774
|
"Tags",
|
|
@@ -1778,7 +1780,16 @@ const TAG_PROPERTY_NAMES = new Set([
|
|
|
1778
1780
|
"BotTags",
|
|
1779
1781
|
"ResourceTags",
|
|
1780
1782
|
"FileSystemTags",
|
|
1781
|
-
"HostedZoneTags"
|
|
1783
|
+
"HostedZoneTags",
|
|
1784
|
+
"TieringConfigurationTags",
|
|
1785
|
+
"FrameworkTags",
|
|
1786
|
+
"ReportPlanTags",
|
|
1787
|
+
"PipelineTags",
|
|
1788
|
+
"AccessPointTags",
|
|
1789
|
+
"BotAliasTags",
|
|
1790
|
+
"HealthCheckTags",
|
|
1791
|
+
"TestBotAliasTags",
|
|
1792
|
+
"TestAliasTags"
|
|
1782
1793
|
]);
|
|
1783
1794
|
function stripCcApiAwsManagedFields(awsProps) {
|
|
1784
1795
|
return stripWalk(awsProps, false);
|
|
@@ -8338,7 +8349,8 @@ function routeDestination(route) {
|
|
|
8338
8349
|
if (typeof route.DestinationPrefixListId === "string") return route.DestinationPrefixListId;
|
|
8339
8350
|
}
|
|
8340
8351
|
function isEnumerableRoute(route) {
|
|
8341
|
-
|
|
8352
|
+
const isGatewayEndpointManaged = typeof route.DestinationPrefixListId === "string" && typeof route.GatewayId === "string" && route.GatewayId.startsWith("vpce-");
|
|
8353
|
+
return routeDestination(route) !== void 0 && route.Origin !== "CreateRouteTable" && route.Origin !== "EnableVgwRoutePropagation" && route.GatewayId !== "local" && !isGatewayEndpointManaged;
|
|
8342
8354
|
}
|
|
8343
8355
|
async function enumerateRouteTableChildren(ctx) {
|
|
8344
8356
|
const { parent, desired, region } = ctx;
|
|
@@ -16735,6 +16747,15 @@ async function runRecord(args) {
|
|
|
16735
16747
|
|
|
16736
16748
|
//#endregion
|
|
16737
16749
|
//#region src/commands/ignore.ts
|
|
16750
|
+
function ignoreApplyBaselineOpts(desired) {
|
|
16751
|
+
return {
|
|
16752
|
+
declaredByLogical: declaredKeysByLogical(desired.resources),
|
|
16753
|
+
constructPathByLogical: constructPathsByLogical(desired.resources),
|
|
16754
|
+
physicalIdByLogical: physicalIdsByLogical(desired.resources),
|
|
16755
|
+
allLogicalIds: desired.resources.map((r) => r.logicalId),
|
|
16756
|
+
warn: console.error
|
|
16757
|
+
};
|
|
16758
|
+
}
|
|
16738
16759
|
async function runIgnore(args) {
|
|
16739
16760
|
const a = parseCommonArgs(args, "ignore");
|
|
16740
16761
|
if (a.profile) process.env.AWS_PROFILE = a.profile;
|
|
@@ -16783,12 +16804,7 @@ async function runIgnore(args) {
|
|
|
16783
16804
|
if (baseline) checkBaselineAccount(baseline, desired.accountId, stackName);
|
|
16784
16805
|
const result = await ignoreStack({
|
|
16785
16806
|
stackName,
|
|
16786
|
-
findings: applyIgnores(applyBaseline(findings, baseline, {
|
|
16787
|
-
declaredByLogical: declaredKeysByLogical(desired.resources),
|
|
16788
|
-
physicalIdByLogical: physicalIdsByLogical(desired.resources),
|
|
16789
|
-
allLogicalIds: desired.resources.map((r) => r.logicalId),
|
|
16790
|
-
warn: console.error
|
|
16791
|
-
}), {
|
|
16807
|
+
findings: applyIgnores(applyBaseline(findings, baseline, ignoreApplyBaselineOpts(desired)), {
|
|
16792
16808
|
stackName,
|
|
16793
16809
|
accountId: desired.accountId,
|
|
16794
16810
|
region
|