-
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
Support for AWS Backup #7166
Comments
I can take shot at this if no one has started on it yet. |
It looks like we'll want: resources. |
Something like this will likely need to be merged first before we add these resources to the provider: #7164 |
Seeing as that the aws-go-sdk docs have been updated to include this service now, I'll get started today. It makes most sense to start with |
Any update on this one? |
@peimanja I have these resources written but I need to expand on the acceptance tests. Once that's done, all three PRs will need to be reviewed by the maintainers. |
The new |
The new |
Any updates on this? We're actively looking to deploy this to our existing Terraform setup. |
The new |
Just to confirm - it appears aws_backup_selection is the only resource not currently included in terraform? |
Hi folks! 👋 The For any other feature requests or bug reports with the Backup service, please create new GitHub issues. Thanks! |
The |
Really appreciate the speed at which this has been implemented! Quick question: According to the lifecycle documentation here https://www.terraform.io/docs/providers/aws/r/backup_plan.html , it states: "(Required) Specifies the number of days after creation that a recovery point is moved to cold storage." But there is an option to specify "Never". Does assigning the value "0" equate to "Never"? I ask as they are required values for the lifecycle block. Thanks in advance :) |
@Geartrixy this issue has been noted and is being handled in #8236 (which I believe will be reviewed and merged soon -- just not sure when). |
Also the following doesn't inform of a configuration error, but causes terraform to either crash or feedback multiple state refresh errors "Error: Error refreshing state":
|
So, I noticed an issue which may require assistance with the aws_backup_vault resource
It looks like a force option may be needed on the vault resource to allow destroy to work properly. |
@Spenser309 this is also valid if you try to do it from AWS Console manually and it does not even give you an option to bulk delete and you have to get rid of recovery points one by one.... Bottom line is I think is unrelated to Terraform at all and force option will not be possible |
We encountered this as well but had 1000+ recovery points; manually deleting was not feasible, especially with radio buttons on the console. We whipped up a little script to clean up previous recovery points - here's the source: https://gist.github.com/missioncloud/4dc21c48eb2c07ab7db93e11ebb08cc6
Hope it helps someone! |
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
AWS just launched a new service called AWS Backup, which replaces and significantly extends the AWS Data Lifecycle Manager; by providing finer-grained policies (e.g. cron schedule), cold storage, adding the ability to backup not only EBS volumes but various other services (e.g. RDS databases, DynamoDB tables, EFS file systems, and Storage Gateway volumes).
The community could greatly profit from a Terraform implementation of this resource.
The text was updated successfully, but these errors were encountered: