Created
April 9, 2020 19:48
-
-
Save tomlarkworthy/b839d4d93cebe59c718572939f12ca10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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