forked from pierront/but3-iac
on espere ca va marcher
This commit is contained in:
35
terraform/environements/dev/outputs.tf
Normal file
35
terraform/environements/dev/outputs.tf
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user