-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ww-tag-assign-pgd-project-region' into ww-tag-assign-pr…
…oject # Conflicts: # pkg/provider/resource_cluster.go
- Loading branch information
Showing
100 changed files
with
4,430 additions
and
4,260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
name: Run GoReleaser | ||
uses: goreleaser/[email protected] | ||
with: | ||
version: latest | ||
version: v1.26.2 | ||
args: release --rm-dist | ||
env: | ||
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "biganimal_analytics_cluster Data Source - terraform-provider-biganimal" | ||
subcategory: "" | ||
description: |- | ||
The analytics cluster resource is used to manage BigAnimal analytics clusters. | ||
--- | ||
|
||
# biganimal_analytics_cluster (Data Source) | ||
|
||
The analytics cluster resource is used to manage BigAnimal analytics clusters. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
variable "cluster_id" { | ||
type = string | ||
description = "The id of the cluster" | ||
} | ||
variable "project_id" { | ||
type = string | ||
description = "BigAnimal Project ID" | ||
} | ||
data "biganimal_analytics_cluster" "this" { | ||
cluster_id = var.cluster_id | ||
project_id = var.project_id | ||
} | ||
output "backup_retention_period" { | ||
value = data.biganimal_analytics_cluster.this.backup_retention_period | ||
} | ||
output "cluster_name" { | ||
value = data.biganimal_analytics_cluster.this.cluster_name | ||
} | ||
output "created_at" { | ||
value = data.biganimal_analytics_cluster.this.created_at | ||
} | ||
output "csp_auth" { | ||
value = coalesce(data.biganimal_analytics_cluster.this.csp_auth, false) | ||
} | ||
output "instance_type" { | ||
value = data.biganimal_analytics_cluster.this.instance_type | ||
} | ||
output "metrics_url" { | ||
value = data.biganimal_analytics_cluster.this.metrics_url | ||
} | ||
output "logs_url" { | ||
value = data.biganimal_analytics_cluster.this.logs_url | ||
} | ||
output "pg_type" { | ||
value = data.biganimal_analytics_cluster.this.pg_type | ||
} | ||
output "pg_version" { | ||
value = data.biganimal_analytics_cluster.this.pg_version | ||
} | ||
output "phase" { | ||
value = data.biganimal_analytics_cluster.this.phase | ||
} | ||
output "private_networking" { | ||
value = coalesce(data.biganimal_analytics_cluster.this.private_networking, false) | ||
} | ||
output "cloud_provider" { | ||
value = data.biganimal_analytics_cluster.this.cloud_provider | ||
} | ||
output "region" { | ||
value = data.biganimal_analytics_cluster.this.region | ||
} | ||
output "resizing_pvc" { | ||
value = data.biganimal_analytics_cluster.this.resizing_pvc | ||
} | ||
output "pe_allowed_principal_ids" { | ||
value = data.biganimal_analytics_cluster.this.pe_allowed_principal_ids | ||
} | ||
output "service_account_ids" { | ||
value = data.biganimal_analytics_cluster.this.service_account_ids | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cluster_id` (String) Cluster ID. | ||
- `project_id` (String) BigAnimal Project ID. | ||
|
||
### Optional | ||
|
||
- `allowed_ip_ranges` (Attributes Set) Allowed IP ranges. (see [below for nested schema](#nestedatt--allowed_ip_ranges)) | ||
- `backup_retention_period` (String) Backup retention period. For example, "7d", "2w", or "3m". | ||
- `csp_auth` (Boolean) Is authentication handled by the cloud service provider. | ||
- `maintenance_window` (Attributes) Custom maintenance window. (see [below for nested schema](#nestedatt--maintenance_window)) | ||
- `pause` (Boolean) Pause cluster. If true it will put the cluster on pause and set the phase as paused, if false it will resume the cluster and set the phase as healthy. Pausing a cluster allows you to save on compute costs without losing data or cluster configuration settings. While paused, clusters aren't upgraded or patched, but changes are applied when the cluster resumes. Pausing a high availability cluster shuts down all cluster nodes | ||
- `pe_allowed_principal_ids` (Set of String) Cloud provider subscription/account ID, need to be specified when cluster is deployed on BigAnimal's cloud account. | ||
- `service_account_ids` (Set of String) A Google Cloud Service Account is used for logs. If you leave this blank, then you will be unable to access log details for this cluster. Required when cluster is deployed on BigAnimal's cloud account. | ||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) | ||
|
||
### Read-Only | ||
|
||
- `cloud_provider` (String) Cloud provider. For example, "aws" or "bah:aws". | ||
- `cluster_name` (String) Name of the cluster. | ||
- `connection_uri` (String) Cluster connection URI. | ||
- `created_at` (String) Cluster creation time. | ||
- `first_recoverability_point_at` (String) Earliest backup recover time. | ||
- `id` (String) Resource ID of the cluster. | ||
- `instance_type` (String) Instance type. For example, "azure:Standard_D2s_v3", "aws:c5.large" or "gcp:e2-highcpu-4". | ||
- `logs_url` (String) The URL to find the logs of this cluster. | ||
- `metrics_url` (String) The URL to find the metrics of this cluster. | ||
- `password` (String) Password for the user edb_admin. It must be 12 characters or more. | ||
- `pg_type` (String) Postgres type. For example, "epas" or "pgextended". | ||
- `pg_version` (String) Postgres version. For example 16 | ||
- `phase` (String) Current phase of the cluster. | ||
- `private_networking` (Boolean) Is private networking enabled. | ||
- `region` (String) Region to deploy the cluster. See [Supported regions](https://www.enterprisedb.com/docs/biganimal/latest/overview/03a_region_support/) for supported regions. | ||
- `resizing_pvc` (List of String) Resizing PVC. | ||
|
||
<a id="nestedatt--allowed_ip_ranges"></a> | ||
### Nested Schema for `allowed_ip_ranges` | ||
|
||
Required: | ||
|
||
- `cidr_block` (String) CIDR block | ||
|
||
Optional: | ||
|
||
- `description` (String) Description of CIDR block | ||
|
||
|
||
<a id="nestedatt--maintenance_window"></a> | ||
### Nested Schema for `maintenance_window` | ||
|
||
Required: | ||
|
||
- `is_enabled` (Boolean) Is maintenance window enabled. | ||
|
||
Optional: | ||
|
||
- `start_day` (Number) The day of week, 0 represents Sunday, 1 is Monday, and so on. | ||
- `start_time` (String) Start time. "hh:mm", for example: "23:59". | ||
|
||
|
||
<a id="nestedblock--timeouts"></a> | ||
### Nested Schema for `timeouts` | ||
|
||
Optional: | ||
|
||
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). | ||
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. | ||
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). |
Oops, something went wrong.