Add Terraform configuration files for Cloud Run service deployment
This commit is contained in:
21
terraform/variables.tf
Normal file
21
terraform/variables.tf
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user