Add Terraform configuration files for Cloud Run service deployment

This commit is contained in:
2026-02-02 22:39:58 +01:00
parent 0818f634dc
commit 2358b9fe43
5 changed files with 87 additions and 0 deletions

21
terraform/variables.tf Normal file
View File

@@ -0,0 +1,21 @@
variable "project_id" {
description = "Google project id"
type = string
}
variable "default_region" {
description = "Default Google Cloud region"
type = string
default = "europe-west1" # Belgium
}
variable "image_version" {
description = "Version of the Docker image"
type = string
}
variable "deletion_protection" {
type = bool
description = "Protect resources from deletion using terraform destroy and apply."
default = true
}