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

Safe migrations support #98

Closed
movinfinex opened this issue Jan 13, 2025 · 4 comments
Closed

Safe migrations support #98

movinfinex opened this issue Jan 13, 2025 · 4 comments

Comments

@movinfinex
Copy link

Hi, we're PlanetScale DB users keeping an eye on this provider project. The two things that would make using the provider a net win for us would be support for 1) backup schedules and/or 2) safe migration configuration. It looks like only safe migrations are configurable through the API right now, though: https://api-docs.planetscale.com/reference/enable_safe_migrations

It'd be ideal to have a block inside the planetscale_branch resource for configuring safe migrations, but that might not work well with the code generation. A separate resource is another option.

@mscoutermarsh
Copy link
Member

Great feedback, thank you, we'll look into this.

@movinfinex
Copy link
Author

Thanks, @mscoutermarsh! I'm open to contributing PRs if there's something I can do to help make the provider more useful for us.

@joemiller
Copy link
Member

@movinfinex planetscale_branch_safe_migrations in #101

@joemiller
Copy link
Member

joemiller commented Jan 22, 2025

@movinfinex Apologies for the delay! v0.2.0 has been released with safe_migrations support: https://registry.terraform.io/providers/planetscale/planetscale/latest/docs/resources/branch_safe_migrations

I'm going to close this issue and move the request for managing backup_schedules into a new issue

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

No branches or pull requests

3 participants