Skip to content

Commit

Permalink
adding description of what is used for
Browse files Browse the repository at this point in the history
  • Loading branch information
ina-stoyanova committed Oct 12, 2020
1 parent f80774a commit d84b842
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions aws/globals.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
package aws

// A tag used to set custom AWS Tags to resources that do not support `created at` timestamp> - EIP & ECS Clusters.
// This is used in relation to the `--older-than <duration>` filtering that `cloud-nuke` allows.
// Due to its destructive nature, `cloud-nuke` has been configured not to delete AWS resources without known creation time,
// and instead tag them with the `firstSeenTagKey`.
// The next time `cloud-nuke aws --older-than <duration>` is run, it will use the tag to determine if the AWS resource should be deleted or not.

const firstSeenTagKey = "cloud-nuke-first-seen"

0 comments on commit d84b842

Please sign in to comment.