Skip to content

Commit

Permalink
added transition as optional list
Browse files Browse the repository at this point in the history
  • Loading branch information
zachreborn committed Mar 28, 2024
1 parent ddcd267 commit 3317569
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/aws/s3/bucket/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ variable "lifecycle_rules" {
noncurrent_days = optional(number)
storage_class = optional(string)
})))
transition = list(object({
transition = optional(list(object({
date = optional(string)
days = optional(number)
storage_class = optional(string)
}))
})))
}))
default = null
}
Expand Down
5 changes: 2 additions & 3 deletions modules/aws/transfer_family/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ variable "lifecycle_rules" {
noncurrent_days = optional(number)
storage_class = optional(string)
})))
transition = list(object({
transition = optional(list(object({
date = optional(string)
days = optional(number)
storage_class = optional(string)
}))
})))
}))
default = null
}
Expand All @@ -229,7 +229,6 @@ variable "users" {
default = {}
}


###########################
# General Variables
###########################
Expand Down

0 comments on commit 3317569

Please sign in to comment.