Skip to content

CloudSQL support and url overrides in resource #47

@trevex

Description

@trevex

Hi @paultyng ,

I recently stumbled upon this provider and when I was looking into provisioning database instance users with terraform.
On GCP there is an API to create users on CloudSQL instances, however they will be created as "superusers".
For readonly-users or similar, you have to drop down to SQL. By default CloudSQL instances are not directly reachable, but can be reached through a proxy. Luckily the proxy can be embedded directly in Go and even be used as SQL driver.

I went ahead and implemented a minimal provider myself earlier: https://github.com/trevex/terraform-provider-cloudsql

But if you are open to it I can see if I can draft up a PR implementing CloudSQL-support in this provider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions