This is an updated version of the previous [GCP terraform](https://github.com/fleetdm/fleet/tree/main/infrastructure/dogfood/terraform/gcp) with more options and updated usage of modules and Cloud Run (v1 -> v2) which means we were able to ditch the manged VPC connectors (extra cost) and go with the VPC direct access. I think now that I have cloud run jobs figured out we'll be able to add a proper migration addon or module.
17 lines
284 B
Terraform
17 lines
284 B
Terraform
terraform {
|
|
required_version = "~> 1.11"
|
|
required_providers {
|
|
google = {
|
|
source = "hashicorp/google"
|
|
version = "6.35.0"
|
|
}
|
|
|
|
terracurl = {
|
|
source = "devops-rob/terracurl"
|
|
version = "~> 1.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
data "google_client_config" "current" {}
|