-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CDPCP-13591 Cloudera Data Warehouse - Data Visualisation Support
Resource implementation added. Docs added.
- Loading branch information
Viktor Csomor
committed
Dec 18, 2024
1 parent
e9bad92
commit 6d434c2
Showing
9 changed files
with
331 additions
and
111 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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
page_title: "cdp_dw_data_visualization Resource - terraform-provider-cdp" | ||
subcategory: "Data Warehouse" | ||
description: |- | ||
Cloudera Data Warehouse (CDW) integrates Data Visualization https://docs.cloudera.com/data-warehouse/cloud/managing-warehouses/topics/dw-use-data-visualization.html for building graphic representations of data, dashboards, and visual applications based on CDW data. | ||
--- | ||
|
||
# cdp_dw_data_visualization (Resource) | ||
|
||
Cloudera Data Warehouse (CDW) integrates [Data Visualization](https://docs.cloudera.com/data-warehouse/cloud/managing-warehouses/topics/dw-use-data-visualization.html) for building graphic representations of data, dashboards, and visual applications based on CDW data. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
## Copyright 2024 Cloudera. All Rights Reserved. | ||
# | ||
# This file is licensed under the Apache License Version 2.0 (the "License"). | ||
# You may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | ||
# OF ANY KIND, either express or implied. Refer to the License for the specific | ||
# permissions and limitations governing your use of the file. | ||
terraform { | ||
required_providers { | ||
cdp = { | ||
source = "cloudera/cdp" | ||
} | ||
} | ||
} | ||
resource "cdp_dw_data_visualization" "example" { | ||
cluster_id = "env-id" | ||
name = "data-visualization" | ||
image_version = "2024.0.18.4-5" | ||
resource_template = "default" | ||
user_groups = ["ugrp0", "ugrp1"] | ||
admin_groups = ["admgrp0", "admgrp1"] | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `admin_groups` (String) List of the LDAP groups which can administer this Data Visualization instance. At least one valid group is required. | ||
- `cluster_id` (String) The id of the CDW Cluster which the Data Visualization is attached to. | ||
- `name` (String) The name of the Data Visualization. | ||
|
||
### Optional | ||
|
||
- `image_version` (String) The version of the Data Visualization. | ||
- `polling_options` (Attributes) Polling related configuration options that could specify various values that will be used during CDP resource creation. (see [below for nested schema](#nestedatt--polling_options)) | ||
- `resource_template` (String) The name of the resource template being used. Available options: reduced, medium, large. Empty means the default resources template will be assigned. | ||
- `user_groups` (String) List of the LDAP groups which have access to this Data Visualization instance. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
- `last_updated` (String) Timestamp of the last Terraform update of the order. | ||
- `status` (String) The status of the Data Visualization. | ||
|
||
<a id="nestedatt--polling_options"></a> | ||
### Nested Schema for `polling_options` | ||
|
||
Optional: | ||
|
||
- `async` (Boolean) Boolean value that specifies if Terraform should wait for resource creation/deletion. | ||
- `call_failure_threshold` (Number) Threshold value that specifies how many times should a single call failure happen before giving up the polling. | ||
- `polling_timeout` (Number) Timeout value in minutes that specifies for how long should the polling go for resource creation/deletion. |
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,28 @@ | ||
## Copyright 2024 Cloudera. All Rights Reserved. | ||
# | ||
# This file is licensed under the Apache License Version 2.0 (the "License"). | ||
# You may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | ||
# OF ANY KIND, either express or implied. Refer to the License for the specific | ||
# permissions and limitations governing your use of the file. | ||
|
||
terraform { | ||
required_providers { | ||
cdp = { | ||
source = "cloudera/cdp" | ||
} | ||
} | ||
} | ||
|
||
resource "cdp_dw_data_visualization" "example" { | ||
cluster_id = "env-id" | ||
name = "data-visualization" | ||
image_version = "2024.0.18.4-5" | ||
|
||
resource_template = "default" | ||
|
||
user_groups = ["ugrp0", "ugrp1"] | ||
admin_groups = ["admgrp0", "admgrp1"] | ||
} |
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
Oops, something went wrong.