on espere ca va marcher

This commit is contained in:
2025-12-03 15:22:51 +01:00
parent e67b5bf03c
commit 370e3e3aa2
12 changed files with 419 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# Outputs du module Compute
output "frontend_internal_ip" {
value = module.compute.frontend_internal_ip
}
output "backend_internal_ip" {
value = module.compute.backend_internal_ip
}
output "database_internal_ip" {
value = module.compute.database_internal_ip
}
output "frontend_public_ip" {
value = module.compute.frontend_public_ip
}
output "instance_names" {
value = module.compute.instance_names
}
# Outputs du module IAM
output "service_account_email" {
value = module.iam.service_account_email
}
output "service_account_key" {
value = module.iam.service_account_key
sensitive = true
}
# Output du fichier Ansible généré
output "ansible_inventory_file" {
value = local_file.ansible_inventory.filename
}