This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
/
outputs.tf
59 lines (46 loc) · 1.7 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
output "ops_manager_public_ip" {
value = "${google_compute_address.ops-manager-ip.address}"
}
output "ops_manager_ip" {
value = "${google_compute_address.ops-manager-ip.address}"
}
output "ops_manager_private_ip" {
value = "${element(concat(google_compute_instance.ops-manager.*.network_interface.0.address, list("")), 0)}"
}
output "optional_ops_manager_public_ip" {
value = "${element(concat(google_compute_address.optional-ops-manager-ip.*.address, list("")), 0)}"
}
output "ops_manager_ssh_private_key" {
sensitive = true
value = "${tls_private_key.ops-manager.private_key_pem}"
}
output "ops_manager_ssh_public_key" {
sensitive = true
value = "${format("ubuntu:%s", tls_private_key.ops-manager.public_key_openssh)}"
}
output "director_blobstore_bucket" {
value = "${element(concat(google_storage_bucket.director.*.name, list("")), 0)}"
}
output "ops_manager_dns" {
value = "${replace(google_dns_record_set.ops-manager-dns.name, "/\\.$/", "")}"
}
output "optional_ops_manager_dns" {
value = "${replace(element(concat(google_dns_record_set.optional-ops-manager-dns.*.name, list("")), 0), "/\\.$/", "")}"
}
output "service_account_email" {
value = "${google_service_account.opsman_service_account.email}"
}
output "service_account_key" {
sensitive = true
value = "${base64decode(google_service_account_key.opsman_service_account_key.private_key)}"
}
output "sql_db_name" {
value = "${element(concat(google_sql_database.opsman.*.name, list("")), 0)}"
}
output "sql_username" {
value = "${element(concat(random_id.opsman_db_username.*.b64, list("")), 0)}"
}
output "sql_password" {
sensitive = true
value = "${element(concat(random_id.opsman_db_password.*.b64, list("")), 0)}"
}