forked from pierront/but3-iac
36 lines
738 B
HCL
36 lines
738 B
HCL
# 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
|
|
}
|