-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
point in time restore support for aws rds instances #5286
Comments
Aurora point-in-time restore: #7031. |
Is there any way to bump this up in priority to get the PR reviewed and merged? Is there anything I can do to help. Thanks! |
Since this is open from 2018, I assume there would be a work around. Can anyone suggest what would be the workaround let Terraform to mange the point-in-time recovery or let terraform to manage both instances when we restore from a snapshot? Thanks, |
@chadmyers This issue is prioritized as part of our roadmap work for August-October. We haven't yet started work for it, but will reach out to the contributing PR author as well as on this issue as we work through the items in our roadmap and begin work on point in time restore. Once this feature is scheduled for release, it will move from the roadmap milestone into a release milestone (e.g. v3.3.0). Hope this clears things up, and please reach out if you have any questions! |
Checking in... haven't seen it in 3.10 or 3.11... how's it looking? |
@maryelizbeth Any update on this enhancement. Being able to do PITR via TF is a very needed feature as it has been in the AWS apis for some time |
Support for |
This has been released in version 3.15.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Description
Today terraform aws provider support managing rds instances through aws_db_instace resource.
https://github.com/terraform-providers/terraform-provider-aws/blob/master/aws/resource_aws_db_instance.go
This resource also supports restoring from a snapshot if snapshot_identifier is passed and also supports restore db instance from s3.
We don't seem to have support for restoring to a specific point in time. This maps to below AWS API
https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_RestoreDBInstanceToPointInTime.html
We are trying to reduce the restore times when an incident occurs that requires db instance restore so that we can meet our RTO (and RPO) and quickly bring the production back to business.
Having an automated restore procedure in place is very critical. In our case we are using aws rds postgres and also have plans to move to aurora in future.
Since we would like Terraform to manage the existing and newly created resources (from restore), we are looking forward for the restore to a point in time support in terraform (for rds instances as of now).
Is this in the road map? Can some one share details on timeline or what is needed to get this feature support? I am new to the go programming but am myself looking at the aws provider code base to see what can be done. Any help is appreciated.
New or Affected Resource(s)
References
I see some discussion in google group here https://groups.google.com/d/topic/terraform-tool/vDUw9YmqtN4/discussion and a suggestion from Paul Hinze.
AWS API
https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_RestoreDBInstanceToPointInTime.html
The text was updated successfully, but these errors were encountered: