update dev&compute
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
resource "google_compute_instance" "tp07-frontend" {
|
||||
name = "tp07-frontend"
|
||||
machine_type = "e2-small"
|
||||
machine_type = var.instance_type
|
||||
zone = var.region
|
||||
|
||||
boot_disk {
|
||||
|
@@ -13,7 +13,12 @@ variable "tp07-database"{
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "region"{
|
||||
variable "zone"{
|
||||
description = "region du projet"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "instance_type"{
|
||||
description = "type d'instance"
|
||||
type = string
|
||||
}
|
Reference in New Issue
Block a user