You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add Output to retrieve database instance IP
- Add "ip_net" and "enable_ipam" in "private_network" as optional because we must use one and
not both
- Format documentation with tfdocs
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ module "my_cluster" {
47
47
| <aname="input_backup_schedule_frequency"></a> [backup_schedule_frequency](#input_backup_schedule_frequency)| Backup schedule frequency in hours. |`number`|`24`| no |
48
48
| <aname="input_backup_schedule_retention"></a> [backup_schedule_retention](#input_backup_schedule_retention)| Backup schedule retention in days. |`number`|`7`| no |
49
49
| <aname="input_ha_enabled"></a> [ha_enabled](#input_ha_enabled)| Enable or disable high availability for the database instance. |`bool`|`false`| no |
50
-
| <aname="input_private_network"></a> [private_network](#input_private_network)| Describes the private network you want to connect to your cluster. If not set, a public network will be provided. |```object({ pn_id = string ip_net = string })```|`null`| no |
50
+
| <aname="input_private_network"></a> [private_network](#input_private_network)| Describes the private network you want to connect to your cluster. If not set, a public network will be provided. |```object({ pn_id = string ip_net = optional(string) enable_ipam = optional(bool) })```|`null`| no |
51
51
| <aname="input_project_id"></a> [project_id](#input_project_id)| ID of the project the instance is associated with. Ressource will be created in the project set at the provider level if null. |`string`|`null`| no |
52
52
| <aname="input_region"></a> [region](#input_region)| Region in which the instance should be created. Ressource will be created in the region set at the provider level if null. |`string`|`null`| no |
53
53
| <aname="input_replica_enabled"></a> [replica_enabled](#input_replica_enabled)| Whether to create a read replica or not. |`bool`|`true`| no |
@@ -64,6 +64,7 @@ module "my_cluster" {
64
64
|------|-------------|
65
65
| <aname="output_cluster_certificate"></a> [cluster_certificate](#output_cluster_certificate)| PEM Certificate of the database instance. |
66
66
| <aname="output_instance_id"></a> [instance_id](#output_instance_id)| ID of the Database Instance. |
67
+
| <aname="output_instance_ip"></a> [instance_ip](#output_instance_ip)| Database instance IP |
67
68
| <aname="output_load_balancer"></a> [load_balancer](#output_load_balancer)| List of load balancer endpoints of the database instance. |
68
69
| <aname="output_replicate_pn"></a> [replicate_pn](#output_replicate_pn)| Private network attributes of the read replica. |
69
70
| <aname="output_user_password"></a> [user_password](#output_user_password)| Password generated if non were given. |
0 commit comments