We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a1b890 commit 2ebb06dCopy full SHA for 2ebb06d
terraform/persistent/s3.tf
@@ -1,7 +1,8 @@
1
variable "s3" {
2
type = map(
3
object({
4
- name_prefix = string
+ name_prefix = string
5
+ lifecycle_rules = any
6
})
7
)
8
default = {}
@@ -10,9 +11,10 @@ variable "s3" {
10
11
12
module "s3" {
13
for_each = var.s3
- source = "git::https://github.com/skyleague/aws-s3.git?ref=v1.0.0"
14
+ source = "git::https://github.com/skyleague/aws-s3.git?ref=add-dynamic-lifecycle-rules"
15
16
bucket_name_prefix = each.value.name_prefix
17
+ lifecycle_rules = each.value.lifecycle_rules
18
}
19
20
0 commit comments