Skip to content

Configure Cloud SQL in GA provider to use v1 API endpoint #22540

@nika-pr

Description

@nika-pr

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Issue

The GA Google Cloud SQL Terraform provider (hashicorp/google) was found using a beta API endpoint (v1beta4) instead of the expected GA v1 API. Unsure if this is intentional. It may be a breaking change to promote it to the v1 endpoint.

Terraform Version & Provider Version(s)

Terraform v1.10.5
on linux_amd64

  • provider registry.terraform.io/hashicorp/google v6.32.0
  • provider registry.terraform.io/hashicorp/google-beta v6.32.0

Affected Resource(s)

google_sql_*

Terraform Configuration

N/A

Debug Output

N/A

Expected Behavior

N/A

Actual Behavior

N/A

Steps to reproduce

N/A

Important Factoids

This isn't a classic bug report but I still feel this is the best category for this issue.

As I was debugging issues I was having with google_sql_ resources, I discovered that the provider is currently configured to use the v1beta4 Cloud SQL API, rather than the v1 API when using the main hashicorp/google provider.

Both APIs seem to have the same methods available to them, however without deeper knowledge of their implementations, I can't make an assessment as to whether this change would break something for existing users.

Could the Cloud SQL service team take a look?

References

https://github.com/GoogleCloudPlatform/magic-modules/pull/13782/files

b/414856433

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions