Skip to content
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

RDS Aurora: Add feature to Restore Aurora Cluster from S3 #2440

Closed
hashibot opened this issue Nov 27, 2017 · 5 comments
Closed

RDS Aurora: Add feature to Restore Aurora Cluster from S3 #2440

hashibot opened this issue Nov 27, 2017 · 5 comments
Labels
new-resource Introduces a new resource. service/rds Issues and PRs that pertain to the rds service.
Milestone

Comments

@hashibot
Copy link

This issue was originally opened by @khannavin as hashicorp/terraform#16736. It was migrated here as a result of the provider split. The original body of the issue is below.


Terraform Version

Terraform v0.10.2

Terraform Configuration Files

NA

Debug Output

Crash Output

Expected Behavior

Actual Behavior

Steps to Reproduce

Important Factoids

References

I can restore Aurora cluster using aws command:

aws rds restore-db-cluster-from-s3 \
--source-engine mysql  \
--source-engine-version 5.6.26 \
--s3-bucket-name s3-restore-testing \
--s3-ingestion-role-arn arn:aws:iam::xxxxxxxxx:role/service-role/s3_rds_restore \
--s3-prefix DB_Snapshot \
--engine aurora  \
--master-username restore \
--master-user-password restore! \
--vpc-security-group-ids sg-xxxxxxxx \
--db-subnet-group-name s3-restore-subnetgrp \
--db-cluster-identifier s3-restore

However restore from s3 options are not supported by Terraform aws_rds_cluster

@jasonmcintosh
Copy link
Contributor

Duplicate of #2410

@jasonmcintosh
Copy link
Contributor

Hrmm, not QUITE a duplicate. This is db cluster vs. RDS. BUT should be very very very similar.

@jasonmcintosh
Copy link
Contributor

API for this:
https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_RestoreDBClusterFromS3.html
Compared to RDS:
https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_RestoreDBInstanceFromS3.html

Similar to request #2728 just need to do the Cluster piece. Definitely different than RDS on API call though

@radeksimko radeksimko added the service/rds Issues and PRs that pertain to the rds service. label Jan 28, 2018
@bflad bflad added this to the v1.17.0 milestone Apr 27, 2018
@bflad
Copy link
Member

bflad commented Apr 27, 2018

Support for s3_import has been added to the aws_rds_cluster resource as part of #4366 and will release with v1.17.0 of the AWS provider, likely middle of next week.

@bflad bflad closed this as completed Apr 27, 2018
@ghost
Copy link

ghost commented Apr 6, 2020

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!

@ghost ghost locked and limited conversation to collaborators Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-resource Introduces a new resource. service/rds Issues and PRs that pertain to the rds service.
Projects
None yet
Development

No branches or pull requests

4 participants