Skip to content

change planetscale_database cluster_size without replaceΒ #107

@joemiller

Description

@joemiller

The API does not expose the endpoint to change a planetscale_database's cluster_size so we currently need to do a replace (destroy + create) in the TF provider.

Ideal would be to add cluster_size to the PATCH database endpoint - https://api-docs.planetscale.com/reference/update_database_settings - to simplify the client code, but exposing the existing resizes endpoint should be manageable as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions