This repository has been archived by the owner on Jan 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
outputs.tf
42 lines (35 loc) · 1.56 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
###############################
## INSTANCE ##
###############################
output "instance_sql_ipv4" {
value = "${google_sql_database_instance.new_instance_sql.ip_address.0.ip_address}"
description = "The IPv4 address assigned"
}
output "instance_sql_ipv4_time_to_retire" {
value = "${google_sql_database_instance.new_instance_sql.ip_address.0.time_to_retire}"
description = "The time this IP address will be retired, in RFC 3339 format"
}
output "users_self_link" {
value = "${google_sql_database_instance.new_instance_sql.self_link}"
description = "The URL of the created resource"
}
output "server_ca_cert" {
value = "${google_sql_database_instance.new_instance_sql.server_ca_cert.0.cert}"
description = "The CA Certificate used to connect to the SQL Instance via SSL"
}
output "server_ca_cert_common_name" {
value = "${google_sql_database_instance.new_instance_sql.server_ca_cert.0.common_name}"
description = "The CN valid for the CA Cert"
}
output "server_ca_cert_create_time" {
value = "${google_sql_database_instance.new_instance_sql.server_ca_cert.0.create_time}"
description = "Creation time of the CA Cert"
}
output "server_ca_cert_expiration_time" {
value = "${google_sql_database_instance.new_instance_sql.server_ca_cert.0.expiration_time}"
description = "Expiration time of the CA Cert"
}
output "server_ca_cert_sha1_fingerprint" {
value = "${google_sql_database_instance.new_instance_sql.server_ca_cert.0.sha1_fingerprint}"
description = "SHA Fingerprint of the CA Cert"
}