Files
terraform-google-sql/modules/cloud-sql/outputs.tf
2019-02-01 12:09:36 +02:00

20 lines
681 B
HCL

output instance_name {
description = "The name of the database instance"
value = "${google_sql_database_instance.default.name}"
}
output instance_address {
description = "The IPv4 address of the master database instance"
value = "${google_sql_database_instance.default.ip_address.0.ip_address}"
}
output instance_address_time_to_retire {
description = "The time the master instance IP address will be reitred. RFC 3339 format."
value = "${google_sql_database_instance.default.ip_address.0.time_to_retire}"
}
output self_link {
description = "Self link to the master instance"
value = "${google_sql_database_instance.default.self_link}"
}