File tree Expand file tree Collapse file tree 3 files changed +5
-14
lines changed Expand file tree Collapse file tree 3 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,14 @@ This module helps you create a dynamoDB table. It includes the following:
13
13
* autoscaling settings
14
14
15
15
## Sample Usage
16
- This module requires 2 arguments.
17
- * ` cluster_name ` simply the name of the cluster
18
- * ` log_group ` log group name
16
+ This module requires a wide set of arguments. Please have a look at variables.tf
19
17
20
18
```
21
19
module "terraform-aws-dynamodb-table" {
22
20
source = "git@github.com:elastic2ls/terraform-aws-dynamodb-table.git"
23
21
24
- cluster_name = "fargate-ecs"
25
- log_group = "fargate-ecs-log-group"
26
- }
22
+ name = elastic2ls-dynamodb
23
+ ...
27
24
```
28
25
29
26
The module can also be found in the Terraform Registry https://registry.terraform.io/modules/elastic2ls-com/dynamodb-table/aws/latest .
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ resource "aws_dynamodb_table" "table" {
16
16
}
17
17
18
18
point_in_time_recovery {
19
- enabled = var . point_in_time_recovery_enabled
19
+ enabled = true
20
20
}
21
21
22
22
dynamic "attribute" {
@@ -99,7 +99,7 @@ resource "aws_dynamodb_table" "table_autoscaled" {
99
99
}
100
100
101
101
point_in_time_recovery {
102
- enabled = var . point_in_time_recovery_enabled
102
+ enabled = true
103
103
}
104
104
105
105
dynamic "attribute" {
Original file line number Diff line number Diff line change @@ -50,12 +50,6 @@ variable "read_capacity" {
50
50
default = null
51
51
}
52
52
53
- variable "point_in_time_recovery_enabled" {
54
- description = " Enable point-in-time recovery"
55
- type = bool
56
- default = false
57
- }
58
-
59
53
variable "ttl_enabled" {
60
54
description = " Enalbe TTL"
61
55
type = bool
You can’t perform that action at this time.
0 commit comments