Skip to content

Commit 63a6924

Browse files
committed
remove stupid lifecycle rule
1 parent 1de9da2 commit 63a6924

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ No modules.
8686
| <a name="input_dynamo_locktable_name"></a> [dynamo\_locktable\_name](#input\_dynamo\_locktable\_name) | Name of lock table for terraform | `string` | `"tf-locktable"` | no |
8787
| <a name="input_kms_alias_name"></a> [kms\_alias\_name](#input\_kms\_alias\_name) | Name of KMS Alias | `string` | `null` | no |
8888
| <a name="input_kms_key_id"></a> [kms\_key\_id](#input\_kms\_key\_id) | ARN for KMS key for all encryption operations (a key will be created if this is not provided) | `string` | `null` | no |
89-
| <a name="input_lifecycle_rules"></a> [lifecycle\_rules](#input\_lifecycle\_rules) | lifecycle rules to apply to the bucket (set to null to skip lifecycle rules) | <pre>list(object(<br> {<br> id = string<br> enabled = bool<br> prefix = string<br> expiration = number<br> noncurrent_version_expiration = number<br> }))</pre> | <pre>[<br> {<br> "enabled": true,<br> "expiration": 90,<br> "id": "tfstate-expire",<br> "noncurrent_version_expiration": 90,<br> "prefix": null<br> }<br>]</pre> | no |
89+
| <a name="input_lifecycle_rules"></a> [lifecycle\_rules](#input\_lifecycle\_rules) | lifecycle rules to apply to the bucket (set to null to skip lifecycle rules) | <pre>list(object(<br> {<br> id = string<br> enabled = bool<br> prefix = string<br> expiration = number<br> noncurrent_version_expiration = number<br> }))</pre> | `null` | no |
9090
| <a name="input_logging_target_bucket"></a> [logging\_target\_bucket](#input\_logging\_target\_bucket) | The name of the bucket that will receive the log objects (logging will be disabled if null) | `string` | `null` | no |
9191
| <a name="input_logging_target_prefix"></a> [logging\_target\_prefix](#input\_logging\_target\_prefix) | A key prefix for log objects | `string` | `null` | no |
9292
| <a name="input_tags"></a> [tags](#input\_tags) | Mapping of any extra tags you want added to resources | `map(string)` | `{}` | no |

variables.tf

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,9 @@ variable "kms_key_id" {
2222
}
2323

2424
variable "lifecycle_rules" {
25+
default = null
2526
description = "lifecycle rules to apply to the bucket (set to null to skip lifecycle rules)"
2627

27-
default = [{
28-
id = "tfstate-expire"
29-
enabled = true
30-
expiration = 90
31-
noncurrent_version_expiration = 90
32-
prefix = null
33-
}]
34-
3528
type = list(object(
3629
{
3730
id = string

0 commit comments

Comments
 (0)