|
1 | 1 | --- |
2 | | -# WARNING: this file was fetched from https://djoiyj6oj2oxz.cloudfront.net/docs/registry.opentofu.org/timescale/timescale/2.4.0/index.md |
| 2 | +# WARNING: this file was fetched from https://djoiyj6oj2oxz.cloudfront.net/docs/registry.opentofu.org/timescale/timescale/2.5.0/index.md |
3 | 3 | # Do not edit by hand unless you're certain you know what you are doing! |
4 | 4 | # *** WARNING: This file was auto-generated. Do not edit by hand unless you're certain you know what you are doing! *** |
5 | 5 | title: Timescale Provider |
@@ -73,7 +73,8 @@ const tf_test = new timescale.Service("tf-test", { |
73 | 73 | memoryGb: 2, |
74 | 74 | regionCode: "us-west-2", |
75 | 75 | connectionPoolerEnabled: true, |
76 | | - enableHaReplica: true, |
| 76 | + haReplicas: 1, |
| 77 | + syncReplicas: 0, |
77 | 78 | }); |
78 | 79 | export const hostAddr = tf_test.hostname; |
79 | 80 | export const hostPort = tf_test.port; |
@@ -111,7 +112,8 @@ tf_test = timescale.Service("tf-test", |
111 | 112 | memory_gb=2, |
112 | 113 | region_code="us-west-2", |
113 | 114 | connection_pooler_enabled=True, |
114 | | - enable_ha_replica=True) |
| 115 | + ha_replicas=1, |
| 116 | + sync_replicas=0) |
115 | 117 | pulumi.export("hostAddr", tf_test.hostname) |
116 | 118 | pulumi.export("hostPort", tf_test.port) |
117 | 119 | pulumi.export("replicaAddr", tf_test.replica_hostname) |
@@ -153,7 +155,8 @@ return await Deployment.RunAsync(() => |
153 | 155 | MemoryGb = 2, |
154 | 156 | RegionCode = "us-west-2", |
155 | 157 | ConnectionPoolerEnabled = true, |
156 | | - EnableHaReplica = true, |
| 158 | + HaReplicas = 1, |
| 159 | + SyncReplicas = 0, |
157 | 160 | }); |
158 | 161 |
|
159 | 162 | return new Dictionary<string, object?> |
@@ -204,7 +207,8 @@ func main() { |
204 | 207 | MemoryGb: pulumi.Float64(2), |
205 | 208 | RegionCode: pulumi.String("us-west-2"), |
206 | 209 | ConnectionPoolerEnabled: pulumi.Bool(true), |
207 | | - EnableHaReplica: pulumi.Bool(true), |
| 210 | + HaReplicas: pulumi.Float64(1), |
| 211 | + SyncReplicas: pulumi.Float64(0), |
208 | 212 | }) |
209 | 213 | if err != nil { |
210 | 214 | return err |
@@ -251,7 +255,8 @@ resources: |
251 | 255 | memoryGb: 2 |
252 | 256 | regionCode: us-west-2 |
253 | 257 | connectionPoolerEnabled: true |
254 | | - enableHaReplica: true |
| 258 | + haReplicas: 1 |
| 259 | + syncReplicas: 0 |
255 | 260 | outputs: |
256 | 261 | ## host connection info |
257 | 262 | hostAddr: ${["tf-test"].hostname} |
@@ -309,7 +314,8 @@ public class App { |
309 | 314 | .memoryGb(2) |
310 | 315 | .regionCode("us-west-2") |
311 | 316 | .connectionPoolerEnabled(true) |
312 | | - .enableHaReplica(true) |
| 317 | + .haReplicas(1) |
| 318 | + .syncReplicas(0) |
313 | 319 | .build()); |
314 | 320 |
|
315 | 321 | ctx.export("hostAddr", tf_test.hostname()); |
@@ -735,7 +741,7 @@ Please reference the [docs](https://docs.timescale.com/use-timescale/latest/regi |
735 | 741 | ✅ Pause/resume service <br /> |
736 | 742 | ✅ Delete service <br /> |
737 | 743 | ✅ Import service <br /> |
738 | | -✅ Enable High Availability replicas <br /> |
| 744 | +✅ Enable High Availability replicas (all modes supported) <br /> |
739 | 745 | ✅ Enable read replicas <br /> |
740 | 746 | ✅ VPC peering <br /> |
741 | 747 | ✅ AWS Transit Gateway peering <br /> |
|
0 commit comments