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

Add support for GCP CloudSQL Native Connection #48

Merged
merged 4 commits into from
Nov 28, 2022
Merged

Add support for GCP CloudSQL Native Connection #48

merged 4 commits into from
Nov 28, 2022

Conversation

eugenepaniot
Copy link

This PR addes support for native connection to Google CloudSQL Mysql Instances (without any extra auth proxy). See #40

Usage example:

provider "mysql" {
  endpoint = "cloudsql://my-project:us-central1:my-mysql-instance"
  username = "root"
  password = "password"
}

my-project:us-central1:my-mysql-instance is sql_database_instance.connection_name

@petoju petoju merged commit 8336246 into petoju:master Nov 28, 2022
@petoju
Copy link
Owner

petoju commented Nov 28, 2022

Thanks!

@eugenepaniot eugenepaniot deleted the gcp_native_cloudsql_support branch November 28, 2022 20:32
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