This commit is contained in:
2025-12-04 08:41:33 +01:00
parent b3c37dd503
commit 5b3defea82
2 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ variable "project_id" {
variable "instance_type" {
description = "type de l'instance"
type = string
default = "e2_small"
default = "e2-small"
}
variable "zone" {

View File

@@ -2,11 +2,11 @@
# 1. L'ID du VPC
# 2. Les IDs des sous-réseaux sous forme de map
output "vpc_terraform_output" {
output "vpc" {
value = google_compute_network.vpc_terraform.id
}
output "list_id" {
output "subnets" {
value = {
frontend = google_compute_subnetwork.subnet_frontend.id
bakcend = google_compute_subnetwork.subnet_backend.id