cdk-real-drift 0.12.27 → 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 +23 -8
- 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);
|
|
@@ -16736,6 +16747,15 @@ async function runRecord(args) {
|
|
|
16736
16747
|
|
|
16737
16748
|
//#endregion
|
|
16738
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
|
+
}
|
|
16739
16759
|
async function runIgnore(args) {
|
|
16740
16760
|
const a = parseCommonArgs(args, "ignore");
|
|
16741
16761
|
if (a.profile) process.env.AWS_PROFILE = a.profile;
|
|
@@ -16784,12 +16804,7 @@ async function runIgnore(args) {
|
|
|
16784
16804
|
if (baseline) checkBaselineAccount(baseline, desired.accountId, stackName);
|
|
16785
16805
|
const result = await ignoreStack({
|
|
16786
16806
|
stackName,
|
|
16787
|
-
findings: applyIgnores(applyBaseline(findings, baseline, {
|
|
16788
|
-
declaredByLogical: declaredKeysByLogical(desired.resources),
|
|
16789
|
-
physicalIdByLogical: physicalIdsByLogical(desired.resources),
|
|
16790
|
-
allLogicalIds: desired.resources.map((r) => r.logicalId),
|
|
16791
|
-
warn: console.error
|
|
16792
|
-
}), {
|
|
16807
|
+
findings: applyIgnores(applyBaseline(findings, baseline, ignoreApplyBaselineOpts(desired)), {
|
|
16793
16808
|
stackName,
|
|
16794
16809
|
accountId: desired.accountId,
|
|
16795
16810
|
region
|