Skip to content

Commit

Permalink
chore: update rotation to 30 days and checks to 45 days
Browse files Browse the repository at this point in the history
  • Loading branch information
hazmei committed May 29, 2024
1 parent 013e3ad commit d05fb81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions locals.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
locals {
# checks for keys older than 60 days
age_in_days = timeadd(plantimestamp(), "-1440h") # 60 days (60*24 hours)
# checks for keys older than 30 days
age_in_days = timeadd(plantimestamp(), "-1080h") # 45 days (45*24 hours)
iam_key_rotation_days = 30 # rotate key if older than 30 days
sync_base_path = "sys/sync/destinations"
destination_name = "${var.name}-${var.region}-${random_id.this.hex}"
Expand Down

0 comments on commit d05fb81

Please sign in to comment.