forked from pierront/but3-iac
Update
This commit is contained in:
@@ -19,25 +19,25 @@ variable "zone" {
|
||||
variable "frontend_subnet_id" {
|
||||
type = string
|
||||
description = "self_link du subnet frontend"
|
||||
default = "projects/my-gcp-project/regions/europe-west1/subnetworks/frontend-subnet"
|
||||
default = "projects/${var.project_id}/regions/${var.region}/subnetworks/frontend-subnet"
|
||||
}
|
||||
|
||||
variable "backend_subnet_id" {
|
||||
type = string
|
||||
description = "self_link du subnet backend"
|
||||
default = "projects/my-gcp-project/regions/europe-west1/subnetworks/backend-subnet"
|
||||
default = "projects/${var.project_id}/regions/${var.region}/subnetworks/backend-subnet"
|
||||
}
|
||||
|
||||
variable "database_subnet_id" {
|
||||
type = string
|
||||
description = "self_link du subnet database"
|
||||
default = "projects/my-gcp-project/regions/europe-west1/subnetworks/database-subnet"
|
||||
default = "projects/${var.project_id}/regions/${var.region}/subnetworks/database-subnet"
|
||||
}
|
||||
|
||||
variable "network" {
|
||||
type = string
|
||||
description = "VPC network self_link or name"
|
||||
default = "projects/my-gcp-project/global/networks/my-vpc"
|
||||
default = "projects/${var.project_id}/global/networks/${var.project_name}-vpc"
|
||||
}
|
||||
|
||||
variable "ssh_pub_key" {
|
||||
|
||||
Reference in New Issue
Block a user