Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
resource "google_sql_database_instance" "camunda-db" {
name = "camunda-db-postgres"
database_version = "POSTGRES_11"
region = local.config.region
settings {
# Very small instance for testing.
tier = "db-f1-micro"
ip_configuration {
ipv4_enabled = true
}
}
}
resource "google_sql_user" "user" {
name = "camunda"
instance = google_sql_database_instance.camunda-db.name
password = "futurice"
}
resource "google_sql_database" "database" {
name = "camunda"
instance = google_sql_database_instance.camunda-db.name
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment