forked from pierront/but3-iac
ajout outputs
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
# À vous d'exposer :
|
||||
# 1. L'email du compte de service
|
||||
# 2. La clé du compte de service (sensitive = true)
|
||||
# output "instance_ip" {
|
||||
# value = google_compute_instance.main.network_interface[0].access_config[0].nat_ip
|
||||
# }
|
||||
|
||||
output "email" {
|
||||
description = "Service account email."
|
||||
value = google_service_account.service_account.email
|
||||
}
|
||||
|
||||
# output "vpc_id" {
|
||||
# description = "ID of project VPC"
|
||||
# value = module.vpc.vpc_id
|
||||
# }
|
||||
|
||||
output "key" {
|
||||
description = "Service account private key."
|
||||
sensitive = true
|
||||
|
||||
Reference in New Issue
Block a user