Terraform-provider-aws: Feature request: support restoration of DynamoDB Continuous Backups and Point-In-Time Recovery (PITR)

Created on 16 May 2018  路  3Comments  路  Source: hashicorp/terraform-provider-aws

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Since the support of Point-in-Time-Revocery added with #4063, it is now possible to save continuous backups via Terraform, but restoring them is still only possible through the Console or AWS API. It would be great to be able to also restore a dynamodb_table as a new resource created from the latest restorable time or a specific restorable time, similarly to what can be done with the snapshot_identifier for rds instances

New or Affected Resource(s)

Potential Terraform Configuration

An example usage in a DynamoDB module would possible look like this:

resource "aws_dynamodb_table" "default" {
  name           = "example"
  hash_key       = "${var.hash_key}"
  range_key      = "${var.range_key}"

  point_in_time_recovery {
    restore_date_time = "${var.point_in_time_recovery_date_time}"
  }

References

enhancement servicdynamodb

Most helpful comment

Hi, any update when this feature will be available?

All 3 comments

Hi, any update when this feature will be available?

Hi , any update on this .When this feature will be available .

Is this in progress?

Was this page helpful?
0 / 5 - 0 ratings