forked from gruntwork-io/cloud-nuke
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding description of what is used for
- Loading branch information
1 parent
f80774a
commit d84b842
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |