Skip to content

Commit ad88cd3

Browse files
committed
Rename output 'instance_address' to 'instance_ip_address' in mysql and safer_mysql submodules. Fix typo.
1 parent 869e196 commit ad88cd3

File tree

7 files changed

+9
-15
lines changed

7 files changed

+9
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
2121

2222
### Changed
2323

24-
- Renamed output `instance_address` to `instance_ip_address` in postgresql module. [#83]
24+
- Renamed output `instance_address` to `instance_ip_address` in `mysql`, `postgresql` and `safer_mysql` submodules. [#83]
2525

2626
## [2.0.0] - 2019-09-26
2727

modules/mysql/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,12 @@
7878
| Name | Description |
7979
|------|-------------|
8080
| failover-replica\_instance\_connection\_name | The connection name of the failover-replica instance to be used in connection strings |
81-
| failover-replica\_instance\_first\_ip\_address | The first IPv4 address of the addesses assigned for the failover-replica instance |
81+
| failover-replica\_instance\_first\_ip\_address | The first IPv4 address of the addresses assigned for the failover-replica instance |
8282
| failover-replica\_instance\_name | The instance name for the failover replica instance |
8383
| failover-replica\_instance\_self\_link | The URI of the failover-replica instance |
8484
| failover-replica\_instance\_server\_ca\_cert | The CA certificate information used to connect to the failover-replica instance via SSL |
8585
| failover-replica\_instance\_service\_account\_email\_address | The service account email addresses assigned to the failover-replica instance |
8686
| generated\_user\_password | The auto generated default user password if not input password was provided |
87-
| instance\_address | The IPv4 addesses assigned for the master instance |
8887
| instance\_connection\_name | The connection name of the master instance to be used in connection strings |
8988
| instance\_first\_ip\_address | The first IPv4 address of the addresses assigned for the master instance. |
9089
| instance\_ip\_address | The IPv4 address assigned for the master instance |

modules/mysql/outputs.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ output "read_replica_instance_names" {
8989
// Failover Replicas
9090
output "failover-replica_instance_first_ip_address" {
9191
value = google_sql_database_instance.failover-replica[*].ip_address
92-
description = "The first IPv4 address of the addesses assigned for the failover-replica instance"
92+
description = "The first IPv4 address of the addresses assigned for the failover-replica instance"
9393
}
9494

9595
output "failover-replica_instance_connection_name" {
@@ -132,8 +132,3 @@ output "private_ip_address" {
132132
description = "The first private (PRIVATE) IPv4 address assigned for the master instance"
133133
value = google_sql_database_instance.default.private_ip_address
134134
}
135-
136-
output "instance_address" {
137-
value = google_sql_database_instance.default.ip_address
138-
description = "The IPv4 addesses assigned for the master instance"
139-
}

modules/postgresql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
| generated\_user\_password | The auto generated default user password if not input password was provided |
6464
| instance\_connection\_name | The connection name of the master instance to be used in connection strings |
6565
| instance\_first\_ip\_address | The first IPv4 address of the addresses assigned. |
66-
| instance\_ip\_address | The IPv4 addesses assigned for the master instance |
66+
| instance\_ip\_address | The IPv4 addresses assigned for the master instance |
6767
| instance\_name | The instance name for the master instance |
6868
| instance\_self\_link | The URI of the master instance |
6969
| instance\_server\_ca\_cert | The CA certificate information used to connect to the SQL instance via SSL |

modules/postgresql/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ output "private_ip_address" {
3232

3333
output "instance_ip_address" {
3434
value = google_sql_database_instance.default.ip_address
35-
description = "The IPv4 addesses assigned for the master instance"
35+
description = "The IPv4 addresses assigned for the master instance"
3636
}
3737

3838
output "instance_first_ip_address" {

modules/safer_mysql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ mysql -S $HOME/mysql_sockets/myproject:region:instance -u user -p
239239
| failover-replica\_instance\_self\_link | The URI of the failover-replica instance |
240240
| failover-replica\_instance\_service\_account\_email\_address | The service account email addresses assigned to the failover-replica instance |
241241
| generated\_user\_password | The auto generated default user password if not input password was provided |
242-
| instance\_address | The IPv4 addesses assigned for the master instance |
243242
| instance\_connection\_name | The connection name of the master instance to be used in connection strings |
243+
| instance\_ip\_address | The IPv4 address assigned for the master instance |
244244
| instance\_name | The instance name for the master instance |
245245
| instance\_self\_link | The URI of the master instance |
246246
| instance\_service\_account\_email\_address | The service account email address assigned to the master instance |

modules/safer_mysql/outputs.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ output "private_ip_address" {
9494
value = module.safer_mysql.private_ip_address
9595
}
9696

97-
output "instance_address" {
98-
value = module.safer_mysql.instance_address
99-
description = "The IPv4 addesses assigned for the master instance"
97+
output "instance_ip_address" {
98+
value = module.safer_mysql.instance_ip_address
99+
description = "The IPv4 address assigned for the master instance"
100100
}

0 commit comments

Comments
 (0)