Add KMS on CloudSQL module

This commit is contained in:
Lorenzo Caggioni
2022-04-12 19:01:34 +02:00
parent cde0b5d051
commit c7c77541fb
5 changed files with 92 additions and 11 deletions

View File

@@ -66,6 +66,19 @@ output "ips" {
}
}
output "name" {
description = "Name of the primary instance."
value = google_sql_database_instance.primary.name
}
output "names" {
description = "Names of all instances."
value = {
for id, instance in local._all_intances :
id => instance.name
}
}
output "self_link" {
description = "Self link of the primary instance."
value = google_sql_database_instance.primary.self_link