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

Support source_db_instance_automated_backups_arn when restoring aws_db_instance to point in time #23649

Conversation

fcheung
Copy link
Contributor

@fcheung fcheung commented Mar 12, 2022

This is required when restoring a cross region automated backup: the source db instance does not in that region, so specifying source_db_instance_identifier or source_dbi_resource_id results in a DBInstanceNotFound error.

I have not added a test for this change, the main reason being that I wasn't sure how to get the input required (the arn of an automated backup), as it's not part of the attributes exported by an aws_db_instance, not is there currently a data source for getting these. Adding such a data source is probably beyond my skill at the moment unfortunately

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

…b_instance to point in time

This is required when restoring a cross region automated backup
@github-actions github-actions bot added documentation Introduces or discusses updates to documentation. service/rds Issues and PRs that pertain to the rds service. needs-triage Waiting for first response or review from a maintainer. size/XS Managed by automation to categorize the size of a PR. labels Mar 12, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @fcheung 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@fcheung fcheung marked this pull request as ready for review March 12, 2022 16:13
@fcheung
Copy link
Contributor Author

fcheung commented Mar 12, 2022

My bad - this is a duplicate of #23086

@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Mar 15, 2022
@ewbankkit
Copy link
Contributor

@fcheung Thanks for the contribution 🎉 👏.
I'm going to close this as a duplicate of #23086 (and get that PR merged).

@ewbankkit ewbankkit closed this Mar 15, 2022
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. service/rds Issues and PRs that pertain to the rds service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants