Skip to content

Increase range of CloudSQL Query Insights string length & plans per minute to match Enterprise Plus limits #9539

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

Conversation

modular-magician
Copy link
Collaborator

After following the docs to increase the CloudSQL Query Insights string length and plan per minute limits we found that the Terraform provider's validation function hasn't been increased to match the new-ish Enterprise Plus limits. This PR modifies the validation function to account for the Enterprise Plus limits.

I see in the Google docs that this is marked as a preview feature. I'm not sure if that means these increased limits should be a beta-only change, or if it's okay to have it in both. I also wonder if changing the validation function based on the edition of the instance is a better idea?

Anyways, let me know what you think and I'm happy to update this PR to match

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

sql: Increased `settings.insights_config.query_string_length` and `settings.insights_config.query_string_length` limits for Enterprise Plus edition `sql_database_instance` resource.

Derived from GoogleCloudPlatform/magic-modules#13299

…inute to match Enterprise Plus limits (#13299)

[upstream:c17cc7712139fff3a068535276b0b649ffb7c61a]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner March 12, 2025 22:45
@modular-magician modular-magician merged commit 92430db into hashicorp:main Mar 12, 2025
4 checks passed
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.

1 participant