graphql-engine/server/test-manual/alloydb/provider.tf
Samir Talwar a0dc296ede Document and automate spinning up AlloyDB for testing.
We sometimes need to test against cloud databases. Here, we add a Terraform module to start a new AlloyDB cluster and instance, which we can then use for testing purposes.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7002
GitOrigin-RevId: 2d661b5cc6d60e47485ea68b781e13426ed4f097
2022-11-24 14:16:21 +00:00

17 lines
271 B
HCL

locals {
region = "us-central1"
}
provider "google" {
region = local.region
}
# Your name, which will prefix all resources so we know who left instances lying around.
variable "name" {
type = string
}
data "google_project" "project" {
provider = google-beta
}