hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.72k stars 9.08k forks source link

[New Resource]: aws_restore_testing_plan for Automatic restore testing and validation #34699

Open jeroenhabets opened 9 months ago

jeroenhabets commented 9 months ago

Description

A new resource to support AWS Backup's new "Restore testing and validation" feature: https://aws.amazon.com/blogs/aws/automatic-restore-testing-and-validation-is-now-available-in-aws-backup/

Requested Resource(s) and/or Data Source(s)

(Originally thought of aws_backup_restore_plan but probably best to follow SDK precedent.)

Potential Terraform Configuration

aws_restore_testing_plan main {
  name = "tf_example_restore_plan"

  test_frequency     = "Daily"
  start_time         = "22:30"
  start_within_hours = 8 
}

aws_restore_testing_selection {
  vault           = null
  excluded_vaults = []
  eligble_recovery_points {
   from_last      = 8
   from_last_unit = "Days"
  }
  include_pitr    = false
}

aws_restore_testing_assignment {
  name               = "tf_example_restore_assignment"
  iam_role           = null
  retention_period   = null

  resource_type      = "EC2"
  included_resources = []
  included_tags      = []

  instance_type      = "t4g.large"
  optional_parameters = []
}

References

Would you like to implement a fix?

No

github-actions[bot] commented 9 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

ankon commented 3 months ago

There is a PR for this, do you need any help here to get this over the finish line?

Nirrleybo commented 2 months ago

Any update regarding this being merged? my team would really want to start using it....

LozanoMatheus commented 2 months ago

We're also looking forward to getting this one out, does anyone have an update?

austinlutesswenson-wk commented 3 weeks ago

Adding my +1 concerning an update, I'd like to deploy this for our team as well.