Skip to content

Commit 10bbc2d

Browse files
authored
Merge pull request #83 from omazin/rename-output
Rename output 'instance_address' to 'instance_ip_address' in all submodules
2 parents 417fc61 + 98b9249 commit 10bbc2d

File tree

7 files changed

+18
-22
lines changed

7 files changed

+18
-22
lines changed

CHANGELOG.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,22 @@ project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10-
### Added
11-
12-
- The `public_ip_address`, `private_ip_address`, and `instance_address` outputs to the `mysql` submodule, the `postgresql`
13-
submodule, and the `safer_mysql` submodule. [#76]
14-
15-
## [3.0.0] - 2019-12-13
10+
## [3.0.0] - 2019-12-16
1611

1712
### Removed
1813

1914
- Removed variable `peering_completed`. [#78]
2015

2116
### Added
2217

18+
- The `public_ip_address`, `private_ip_address`, and `instance_address` outputs to the `mysql` submodule, the `postgresql`
19+
submodule, and the `safer_mysql` submodule. [#76]
2320
- Added variable `module_depends_on`. [#78]
2421

22+
### Changed
23+
24+
- Renamed output `instance_address` to `instance_ip_address` in `mysql`, `postgresql` and `safer_mysql` submodules. [#83]
25+
2526
## [2.0.0] - 2019-09-26
2627

2728
2.0.0 is a backward incompatible release. Review the
@@ -64,9 +65,10 @@ project adheres to [Semantic Versioning](http://semver.org/).
6465
[1.0.1]: https://github.com/terraform-google-modules/terraform-google-sql-db/compare/1.0.0...1.0.1
6566
[1.0.0]: https://github.com/terraform-google-modules/terraform-google-sql-db/releases/tag/1.0.0
6667

68+
[#83]: https://github.com/terraform-google-modules/terraform-google-sql-db/pull/83
69+
[#78]: https://github.com/terraform-google-modules/terraform-google-sql-db/pull/78
6770
[#76]: https://github.com/terraform-google-modules/terraform-google-sql-db/pull/76
6871
[#61]: https://github.com/terraform-google-modules/terraform-google-sql-db/pull/61
6972
[#56]: https://github.com/terraform-google-modules/terraform-google-sql-db/pull/56
7073
[#53]: https://github.com/terraform-google-modules/terraform-google-sql-db/pull/53
7174
[#43]: https://github.com/terraform-google-modules/terraform-google-sql-db/pull/43
72-
[#78]: https://github.com/terraform-google-modules/terraform-google-sql-db/pull/78

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
@@ -61,9 +61,9 @@
6161
| Name | Description |
6262
|------|-------------|
6363
| generated\_user\_password | The auto generated default user password if not input password was provided |
64-
| instance\_address | The IPv4 addesses assigned for the master instance |
6564
| instance\_connection\_name | The connection name of the master instance to be used in connection strings |
6665
| instance\_first\_ip\_address | The first IPv4 address of the addresses assigned. |
66+
| instance\_ip\_address | The IPv4 address 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ output "private_ip_address" {
3030
value = google_sql_database_instance.default.private_ip_address
3131
}
3232

33-
output "instance_address" {
33+
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 address 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)