瀏覽代碼

Corrected 'expiration' to match previous setting

Inadvertently activated the rule that was previously commented out.

#    expiration {
    #      days = 365
    #    }
Jeremy Cooper [AFS MBP] 3 年之前
父節點
當前提交
93e43783cf
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 3 3
      base/splunk_servers/app_s3_bucket/main.tf
  2. 3 3
      base/splunk_servers/smartstore_s3_bucket/main.tf

+ 3 - 3
base/splunk_servers/app_s3_bucket/main.tf

@@ -39,9 +39,9 @@ resource "aws_s3_bucket_lifecycle_configuration" "s3_lifecyle_bucket" {
     }
 
     # Clean up old versions after a year
-    noncurrent_version_expiration {
-      noncurrent_days       = 365
-    }
+    # noncurrent_version_expiration {
+    #  noncurrent_days       = 365
+    # }
   }
 }
 

+ 3 - 3
base/splunk_servers/smartstore_s3_bucket/main.tf

@@ -39,9 +39,9 @@ resource "aws_s3_bucket_lifecycle_configuration" "s3_lifecyle_bucket" {
     }
 
     # Clean up old versions after a year
-    noncurrent_version_expiration {
-      noncurrent_days = 365
-    }
+    # noncurrent_version_expiration {
+    #  noncurrent_days = 365
+    #}
   }
 }