@@ -57,63 +57,63 @@ output "instance_service_account_email_address" {
5757
5858// Replicas
5959output "replicas_instance_first_ip_addresses" {
60- value = [ google_sql_database_instance . replicas . * . ip_address ]
60+ value = google_sql_database_instance. replicas [ * ] . ip_address
6161 description = " The first IPv4 addresses of the addresses assigned for the replica instances"
6262}
6363
6464output "replicas_instance_connection_names" {
65- value = [ google_sql_database_instance . replicas . * . connection_name ]
65+ value = google_sql_database_instance. replicas [ * ] . connection_name
6666 description = " The connection names of the replica instances to be used in connection strings"
6767}
6868
6969output "replicas_instance_self_links" {
70- value = [ google_sql_database_instance . replicas . * . self_link ]
70+ value = google_sql_database_instance. replicas [ * ] . self_link
7171 description = " The URIs of the replica instances"
7272}
7373
7474output "replicas_instance_server_ca_certs" {
75- value = [ google_sql_database_instance . replicas . * . server_ca_cert ]
75+ value = google_sql_database_instance. replicas [ * ] . server_ca_cert
7676 description = " The CA certificates information used to connect to the replica instances via SSL"
7777}
7878
7979output "replicas_instance_service_account_email_addresses" {
80- value = [ google_sql_database_instance . replicas . * . service_account_email_address ]
80+ value = google_sql_database_instance. replicas [ * ] . service_account_email_address
8181 description = " The service account email addresses assigned to the replica instances"
8282}
8383
8484output "read_replica_instance_names" {
85- value = google_sql_database_instance. replicas . * . name
85+ value = google_sql_database_instance. replicas [ * ] . name
8686 description = " The instance names for the read replica instances"
8787}
8888
8989// Failover Replicas
9090output "failover-replica_instance_first_ip_address" {
91- value = google_sql_database_instance. failover-replica . * . ip_address
91+ value = google_sql_database_instance. failover-replica [ * ] . ip_address
9292 description = " The first IPv4 address of the addesses assigned for the failover-replica instance"
9393}
9494
9595output "failover-replica_instance_connection_name" {
96- value = google_sql_database_instance. failover-replica . * . connection_name
96+ value = google_sql_database_instance. failover-replica [ * ] . connection_name
9797 description = " The connection name of the failover-replica instance to be used in connection strings"
9898}
9999
100100output "failover-replica_instance_self_link" {
101- value = google_sql_database_instance. failover-replica . * . self_link
101+ value = google_sql_database_instance. failover-replica [ * ] . self_link
102102 description = " The URI of the failover-replica instance"
103103}
104104
105105output "failover-replica_instance_server_ca_cert" {
106- value = google_sql_database_instance. failover-replica . * . server_ca_cert
106+ value = google_sql_database_instance. failover-replica [ * ] . server_ca_cert
107107 description = " The CA certificate information used to connect to the failover-replica instance via SSL"
108108}
109109
110110output "failover-replica_instance_service_account_email_address" {
111- value = google_sql_database_instance. failover-replica . * . service_account_email_address
111+ value = google_sql_database_instance. failover-replica [ * ] . service_account_email_address
112112 description = " The service account email addresses assigned to the failover-replica instance"
113113}
114114
115115output "failover-replica_instance_name" {
116- value = google_sql_database_instance. failover-replica . * . name
116+ value = google_sql_database_instance. failover-replica [ * ] . name
117117 description = " The instance name for the failover replica instance"
118118}
119119
0 commit comments