Skip to content

Commit

Permalink
chore: fix validation check to same 30 days (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
hazmei authored May 29, 2024
1 parent 5708bce commit e788cd8
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,7 +1,7 @@
locals {
# 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
age_in_days = timeadd(plantimestamp(), "-720h") # 30 days (30*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}"
delete_sync_destination = alltrue([var.delete_all_secret_associations, var.delete_sync_destination])
Expand Down

0 comments on commit e788cd8

Please sign in to comment.