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
-`cidr` (String) VPC CIDR block from the private IPv4 address ranges as specified in RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). At least /21 required. **[IMMUTABLE]**
316
+
317
+
Examples:
318
+
- "10.136.0.0/21"
319
+
- "172.20.0.0/21"
320
+
-`gcp_project_id` (String) ID of the GCP project ([docs](https://support.google.com/googleapi/answer/7014113?hl=en#:~:text=The%20project%20ID%20is%20a,ID%20or%20create%20your%20own.)) in which to provision GCP resources. **[IMMUTABLE]**
321
+
-`name` (String) A globally-unique environment identifier. **[IMMUTABLE]**
322
+
323
+
- All environment names must start with your account name as prefix.
324
+
- ⚠️ Changing environment name after creation will force a resource replacement.
325
+
326
+
Examples:
327
+
- "acme-staging" (where "acme" is your account name)
328
+
-`node_groups` (Attributes List) List of node groups. At least one required. (see [below for nested schema](#nestedatt--node_groups))
329
+
-`region` (String) GCP region ([docs](https://cloud.google.com/about/locations)). **[IMMUTABLE]**
330
+
331
+
Examples:
332
+
- "us-west1".
333
+
334
+
### Optional
335
+
336
+
-`allow_delete_while_disconnected` (Boolean) Set to `true` to allow deletion of the environment while it is disconnected from the cloud connect. If the the environment is not connected during the deletion process you will end up in a delete timeout (default `false`).
337
+
-`custom_domain` (String) Custom domain.
338
+
339
+
Examples:
340
+
- "example.com"
341
+
- "foo.bar.com"
342
+
343
+
Before specifying custom domain, please create the following DNS records:
-`force_destroy` (Boolean) Locks the environment for accidental deletion when running `terraform destroy` command. Your environment will be deleted, only when setting this parameter to `true`. Once this parameter is set to `true`, there must be a successful `terraform apply` run (before running the `terraform destroy`) to update this value in the state. Without a successful `terraform apply` after this parameter is set, this flag will have no effect. (default `false`)
352
+
-`force_destroy_clusters` (Boolean) By default, the destroy operation will not delete any provisioned clusters and the deletion will fail until the clusters get removed. Set to `true` to remove all provisioned clusters as part of the environment deletion process.
353
+
-`load_balancers` (Attributes) Load balancers configuration. (see [below for nested schema](#nestedatt--load_balancers))
354
+
-`load_balancing_strategy` (String) Load balancing strategy for the environment.
355
+
356
+
Possible Values:
357
+
- "ROUND_ROBIN": load balance traffic across all zones in round-robin fashion (default)
358
+
- "ZONE_BEST_EFFORT": keep traffic within same zone
359
+
-`maintenance_windows` (Attributes List) List of maintenance windows during which automatic maintenance is permitted. By default updates are applied as soon as they are available. (see [below for nested schema](#nestedatt--maintenance_windows))
360
+
-`peering_connections` (Attributes List) Network peering configuration. (see [below for nested schema](#nestedatt--peering_connections))
361
+
-`private_service_consumers` (List of String) List of project IDs representing the network's private service consumers.
362
+
-`skip_deprovision_on_destroy` (Boolean) Set to `true` will delete without waiting for environment deprovisioning. Use this with precaution, it may end up with dangling resources in your cloud provider (default `false`).
363
+
-`zones` (List of String) Explicit list of GCP zones. At least 2 required.
364
+
Examples:
365
+
- ["us-west1a", "us-west1b"]
366
+
367
+
### Read-Only
368
+
369
+
-`id` (String) ID of the environment (automatically generated based on the name)
370
+
-`spec_revision` (Number) Spec revision
371
+
372
+
<aid="nestedatt--node_groups"></a>
373
+
### Nested Schema for `node_groups`
374
+
375
+
Required:
376
+
377
+
-`capacity_per_zone` (Number) Maximum number of instances per availability zone.
378
+
-`node_type` (String) List of node groups. At least one required.
379
+
-`reservations` (Set of String) Types of workload that are allowed to be scheduled onto the nodes that belong to this group.
380
+
381
+
Possible values:
382
+
- "SYSTEM" (at least one node group must include a SYSTEM reservation)
383
+
- "CLICKHOUSE"
384
+
- "ZOOKEEPER"
385
+
386
+
Optional:
387
+
388
+
-`name` (String) Unique (among environment node groups) node group identifier.
389
+
-`zones` (List of String) Availability zones. Check possible available zones in your cloud provider documentation
390
+
391
+
392
+
<aid="nestedatt--load_balancers"></a>
393
+
### Nested Schema for `load_balancers`
394
+
395
+
Optional:
396
+
397
+
-`internal` (Attributes) Internal load balancer configuration. Accessible via `*.internal.$env_name.altinity.cloud`. (see [below for nested schema](#nestedatt--load_balancers--internal))
398
+
-`public` (Attributes) Public load balancer configuration. Accessible via `*.$env_name.altinity.cloud`. (see [below for nested schema](#nestedatt--load_balancers--public))
399
+
400
+
<aid="nestedatt--load_balancers--internal"></a>
401
+
### Nested Schema for `load_balancers.internal`
402
+
403
+
Optional:
404
+
405
+
-`enabled` (Boolean) Set to `true` if load balancer is enabled, `false` otherwise. (default `false`)
406
+
-`source_ip_ranges` (List of String) IP addresses/blocks to allow traffic from (default `"0.0.0.0/0"`).
407
+
408
+
409
+
<aid="nestedatt--load_balancers--public"></a>
410
+
### Nested Schema for `load_balancers.public`
411
+
412
+
Optional:
413
+
414
+
-`enabled` (Boolean) Set to `true` if load balancer is enabled, `false` otherwise. (default `false`)
415
+
-`source_ip_ranges` (List of String) IP addresses/blocks to allow traffic from (default `"0.0.0.0/0"`).
0 commit comments