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

Added cloud sql restore module that uses database import #343

Merged
merged 2 commits into from
Oct 7, 2022
Merged

Conversation

ravi-dalal
Copy link
Contributor

The restore module is using Cloud SQL Import API call through a Workflow. This module is an extension of backup module's export function.

@comment-bot-dev
Copy link

@ravi-dalal
Thanks for the PR! 🚀
✅ Lint checks have passed.

4. Fetch the SQL export file(s) from GCS and import those into the import database instance
5. The import API call is asynchronous, so the workflow checks the status of the import at regular interval and wait until it finishes

## How to run
Copy link
Member

Choose a reason for hiding this comment

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

Might be useful in a follow up to add some CUJs around when to use this vs gcloud.

@bharathkkb bharathkkb merged commit da4033b into terraform-google-modules:master Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants