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

fix multiple planetscale_database param handling bugs #108

Merged
merged 3 commits into from
Feb 17, 2025

Conversation

joemiller
Copy link
Member

@joemiller joemiller commented Feb 12, 2025

  • mark cluster_size as required
  • mark cluster_size as requiring recreate (destroy+create), pending: change planetscale_database cluster_size without replace #107
  • fix issues_count marked as a changeable param, it is readonly
  • fix multiple_admins_required_for_deletion marked as a changeable param, it is readonly
  • fix plan marked as a changeable param, it is readonly
  • when automatic_migrations is true, migration_framework and migration_table_name must be set
  • refactor planetscale_database tests to include coverage of all changeable params

Also:

  • Update goreleaser.yml to address deprecations

- mark `cluster_size` as required
- mark `cluster_size` as requiring recreate (destroy+create), pending: #107
- fix `issues_count` marked as a changeable param, it is readonly
- fix `multiple_admins_required_for_deletion` marked as a changeable param, it is readonly
- fix `plan` marked as a changeable param, it is readonly
- refactor `planetscale_database` tests to include coverage of all changeable params

Also:
- Update goreleaser.yml to address deprecations
@joemiller joemiller requested review from a team as code owners February 12, 2025 15:23
@joemiller joemiller marked this pull request as draft February 12, 2025 15:24
@joemiller joemiller marked this pull request as ready for review February 17, 2025 00:22
@joemiller joemiller changed the title update planetscale_database resource required and optional params fix multiple planetscale_database param handling bugs Feb 17, 2025
When `automatic_migration` is set to `true` the `migration_table_name`
and `migration_framework` values also need to be set.
@joemiller joemiller force-pushed the joem/database-fix-updateable-settings branch from a80e87e to 8cbd103 Compare February 17, 2025 00:37
@joemiller joemiller merged commit a0fefb5 into main Feb 17, 2025
15 checks passed
@joemiller joemiller deleted the joem/database-fix-updateable-settings branch February 17, 2025 15:30
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.

2 participants