Skip to content

Commit 04953c0

Browse files
security fixes
1 parent ec61bbb commit 04953c0

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

dynamodb.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resource "aws_dynamodb_table" "table" {
1616
}
1717

1818
point_in_time_recovery {
19-
enabled = var.point_in_time_recovery_enabled
19+
enabled = true
2020
}
2121

2222
dynamic "attribute" {
@@ -99,7 +99,7 @@ resource "aws_dynamodb_table" "table_autoscaled" {
9999
}
100100

101101
point_in_time_recovery {
102-
enabled = var.point_in_time_recovery_enabled
102+
enabled = true
103103
}
104104

105105
dynamic "attribute" {

variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ variable "read_capacity" {
5050
default = null
5151
}
5252

53-
variable "point_in_time_recovery_enabled" {
54-
description = "Enable point-in-time recovery"
55-
type = bool
56-
default = false
57-
}
58-
5953
variable "ttl_enabled" {
6054
description = "Enalbe TTL"
6155
type = bool

0 commit comments

Comments
 (0)