output dev

This commit is contained in:
2025-12-04 10:33:00 +01:00
parent 52ce668a2f
commit cdeb7a5aeb

View File

@@ -1,21 +1,17 @@
output "service_account_email" { output "service_account_email" {
description = "Email du compte de service Terraform"
value = module.iam.terraform_sa_email value = module.iam.terraform_sa_email
} }
output "service_account_key" { output "service_account_key" {
description = "Clé privée du compte de service Terraform"
value = module.iam.terraform_sa_key value = module.iam.terraform_sa_key
sensitive = true sensitive = true
} }
output "vpc_id" { output "vpc_id" {
description = "ID du VPC créé"
value = module.network.vpc_id value = module.network.vpc_id
} }
output "subnets" { output "subnets" {
description = "IDs des subnets du VPC"
value = { value = {
frontend = module.network.subnet_frontend_id frontend = module.network.subnet_frontend_id
backend = module.network.subnet_backend_id backend = module.network.subnet_backend_id
@@ -24,7 +20,6 @@ output "subnets" {
} }
output "instance_names" { output "instance_names" {
description = "Noms des instances compute"
value = [ value = [
module.compute.frontend_name, module.compute.frontend_name,
module.compute.backend_name, module.compute.backend_name,
@@ -33,7 +28,6 @@ output "instance_names" {
} }
output "private_ips" { output "private_ips" {
description = "IP internes du frontend, backend et database"
value = { value = {
frontend = module.compute.frontend_private_ip frontend = module.compute.frontend_private_ip
backend = module.compute.backend_private_ip backend = module.compute.backend_private_ip
@@ -42,6 +36,5 @@ output "private_ips" {
} }
output "frontend_public_ip" { output "frontend_public_ip" {
description = "IP publique du frontend"
value = module.compute.frontend_public_ip value = module.compute.frontend_public_ip
} }