From a5431084977410a3cb2a4154e5b58856fbddf65e Mon Sep 17 00:00:00 2001 From: Josh Gubler Date: Wed, 30 Sep 2020 12:39:55 -0600 Subject: [PATCH 1/2] add point_in_time_recovery to dynamo --- main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.tf b/main.tf index 33e6713..870f35b 100644 --- a/main.tf +++ b/main.tf @@ -43,4 +43,7 @@ resource "aws_dynamodb_table" "dynamodb-terraform-state-lock" { name = "LockID" type = "S" } + point_in_time_recovery { + enabled = true + } } From c00bc7f8933381acad45cab8bd8e163995d09be9 Mon Sep 17 00:00:00 2001 From: Josh Gubler Date: Wed, 30 Sep 2020 12:42:05 -0600 Subject: [PATCH 2/2] document new version number --- README.md | 2 +- examples/simple/simple.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c5774f..c7f01e2 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ rm -rf terraform-aws-backend-s3 ## Usage ```hcl module "backend-s3" { - source = "github.com/byu-oit/terraform-aws-backend-s3?ref=v1.0.4" + source = "github.com/byu-oit/terraform-aws-backend-s3?ref=v1.0.5" } ``` diff --git a/examples/simple/simple.tf b/examples/simple/simple.tf index 23dc03b..b6e3a46 100644 --- a/examples/simple/simple.tf +++ b/examples/simple/simple.tf @@ -3,7 +3,7 @@ provider "aws" { } module "backend_s3" { - source = "github.com/byu-oit/terraform-aws-backend-s3?ref=v1.0.4" + source = "github.com/byu-oit/terraform-aws-backend-s3?ref=v1.0.5" } output "s3" {