shirkevich
03/26/2026, 6:05 PMJoe Perez
03/27/2026, 12:04 AMpaulm
03/27/2026, 6:35 PMcreate , enable , enabled , etc. to false to retire the database and poof, the logs vanish, too! The organization's self-imposed security policy, its third-party compliance standards, and its customer contracts promise that logs are kept 3 years. Maybe someone thought to remove the log groups from the state file in time and they survive, orphaned in AWS and not tracked in Terraform (like the log groups that unwary users let Lambda create automatically). At best, someone gets stuck writing/generating one-off HCL and moving or re-importing. Dangling resource definitions live alongside new instances of the module.