Skip to content

Conversation

ekristen
Copy link
Owner

@ekristen ekristen commented Jun 5, 2025

This upgrades to libnuke 1.2.0 that introduces a new unique key feature both via an interface on the resource type or via structure tags.

This feature allows resources to indicate which property or properties can be used to identify the resource as unique. One primary example of this is CloudWatch Log Groups. They do not have a unique ID like an ARN, instead they need to be considered unique via their Name and CreateTime, therefore these fields combined create a unique key.

This unique key is not exposed to the user of the tool, it is instead used by libnuke to determine if a resource has been deleted and to solve a problem we've been trying to solve using the stringer and properties for a while.

With this change resources are compared in the following order...

  1. UniqueKey interface
  2. libnuke uniquekey struct tags
  3. String interface
  4. Properties interface

References

@ekristen ekristen changed the base branch from main to next June 6, 2025 02:03
@ekristen ekristen merged commit 1a2c9a7 into next Jun 6, 2025
11 checks passed
@ekristen ekristen deleted the feat-libnuke-1.1.0 branch June 6, 2025 02:06
@ekristen-dev
Copy link
Contributor

ekristen-dev bot commented Jun 6, 2025

🎉 This PR is included in version 3.56.1-beta.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ekristen-dev
Copy link
Contributor

ekristen-dev bot commented Jun 9, 2025

🎉 This PR is included in version 3.56.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ekristen-dev ekristen-dev bot added the released label Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Resources Not Removed IAM User is not consistently deleted after upgrading from 2.19 to 3.55
1 participant