Skip to content
This repository was archived by the owner on Dec 31, 2025. It is now read-only.

Commit 5bbe5de

Browse files
fix(drift-detection): output DELETED resources in consolidated csv drift file
1 parent 3367fae commit 5bbe5de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

reference-artifacts/Custom-Scripts/lza-upgrade/src/resource-mapping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ export class ResourceMapping {
444444
const resourceFilePath = s3Prefix;
445445
const resourceFileCSV = this.convertToCSV(resourceMap);
446446
for (const resource of driftDetectionResources) {
447-
if (resource.DriftStatus === 'MODIFIED') {
447+
if (resource.DriftStatus === 'MODIFIED' || resource.DriftStatus === 'DELETED') {
448448
this.driftedResources.push({
449449
Account: accountId,
450450
Region: region,

0 commit comments

Comments
 (0)