Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDPCP-13591 Cloudera Data Warehouse - Data Visualization Support #192

Merged
merged 12 commits into from
Jan 9, 2025

Conversation

vcsomor
Copy link
Contributor

@vcsomor vcsomor commented Dec 17, 2024

Running terraform apply -auto-apply:

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # cdp_dw_data_visualization.viq-terraform-example will be created
  + resource "cdp_dw_data_visualization" "viq-terraform-example" {
      + admin_groups      = [
          + "dwx-viz",
        ]
      + cluster_id        = "env-v5sxzr"
      + id                = (known after apply)
      + image_version     = (known after apply)
      + last_updated      = (known after apply)
      + name              = "viq-terraform-test"
      + resource_template = "viz-low"
      + status            = (known after apply)
      + user_groups       = [
          + "dwx-viz",
        ]
    }

Plan: 1 to add, 0 to change, 0 to destroy.
cdp_dw_data_visualization.viq-terraform-example: Creating...
cdp_dw_data_visualization.viq-terraform-example: Still creating... [10s elapsed]
....
cdp_dw_data_visualization.viq-terraform-example: Still creating... [1m30s elapsed]
cdp_dw_data_visualization.viq-terraform-example: Creation complete after 1m35s [id=viz-1734702099-rc6s]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Running terraform apply -auto-apply -destroy:

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # cdp_dw_data_visualization.viq-terraform-example will be destroyed
  - resource "cdp_dw_data_visualization" "viq-terraform-example" {
      - admin_groups      = [
          - "dwx-viz",
        ] -> null
      - cluster_id        = "env-v5sxzr" -> null
      - id                = "viz-1734702099-rc6s" -> null
      - image_version     = "7.2.7-b48" -> null
      - last_updated      = "Friday, 20-Dec-24 14:43:14 CET" -> null
      - name              = "viq-terraform-test" -> null
      - resource_template = "viz-low" -> null
      - status            = "Running" -> null
      - user_groups       = [
          - "dwx-viz",
        ] -> null
    }

Plan: 0 to add, 0 to change, 1 to destroy.
cdp_dw_data_visualization.viq-terraform-example: Destroying... [id=viz-1734702099-rc6s]
cdp_dw_data_visualization.viq-terraform-example: Still destroying... [id=viz-1734702099-rc6s, 10s elapsed]
cdp_dw_data_visualization.viq-terraform-example: Still destroying... [id=viz-1734702099-rc6s, 21s elapsed]
cdp_dw_data_visualization.viq-terraform-example: Still destroying... [id=viz-1734702099-rc6s, 31s elapsed]
cdp_dw_data_visualization.viq-terraform-example: Destruction complete after 33s

Apply complete! Resources: 0 added, 0 changed, 1 destroyed.

@vcsomor vcsomor self-assigned this Dec 17, 2024
@vcsomor vcsomor force-pushed the CDPCP-13591_dataviz branch from b293413 to 6d434c2 Compare December 18, 2024 13:45
Copy link

github-actions bot commented Dec 18, 2024

Go test coverage: 35.5% for commit 5945577
⚠️ 2 of 16 packages have zero coverage.
  • github.com/cloudera/terraform-provider-cdp/resources/de
  • github.com/cloudera/terraform-provider-cdp/resources/ml
View coverage for all packages
# Package Name                                                                    | Coverage
+ github.com/cloudera/terraform-provider-cdp/cdpacctest                           |    14.3%
+ github.com/cloudera/terraform-provider-cdp/provider                             |    78.7%
+ github.com/cloudera/terraform-provider-cdp/resources/datahub                    |    35.8%
+ github.com/cloudera/terraform-provider-cdp/resources/datalake                   |     8.4%
- github.com/cloudera/terraform-provider-cdp/resources/de                         |     0.0%
+ github.com/cloudera/terraform-provider-cdp/resources/dw/cluster/aws             |    71.9%
+ github.com/cloudera/terraform-provider-cdp/resources/dw/databasecatalog         |    65.8%
+ github.com/cloudera/terraform-provider-cdp/resources/dw/dataviz                 |    78.0%
+ github.com/cloudera/terraform-provider-cdp/resources/dw/virtualwarehouse/hive   |    77.7%
+ github.com/cloudera/terraform-provider-cdp/resources/dw/virtualwarehouse/impala |    70.2%
+ github.com/cloudera/terraform-provider-cdp/resources/environments               |    42.6%
+ github.com/cloudera/terraform-provider-cdp/resources/iam                        |     2.7%
- github.com/cloudera/terraform-provider-cdp/resources/ml                         |     0.0%
+ github.com/cloudera/terraform-provider-cdp/resources/opdb                       |    25.4%
+ github.com/cloudera/terraform-provider-cdp/utils                                |    59.1%
+ github.com/cloudera/terraform-provider-cdp/utils/test                           |    75.0%

resources/dw/dataviz/resource_dataviz.go Outdated Show resolved Hide resolved
resources/dw/dataviz/resource_dataviz.go Show resolved Hide resolved
resources/dw/dataviz/resource_dataviz.go Show resolved Hide resolved
resources/dw/dataviz/resource_dataviz.go Outdated Show resolved Hide resolved
resources/dw/dataviz/schema_dataviz.go Outdated Show resolved Hide resolved
@vcsomor vcsomor force-pushed the CDPCP-13591_dataviz branch from 363c0c4 to 39d21ac Compare December 20, 2024 10:27
@vcsomor vcsomor force-pushed the CDPCP-13591_dataviz branch from 2d156bc to e5c2cef Compare December 20, 2024 13:48
@vcsomor vcsomor force-pushed the CDPCP-13591_dataviz branch from ebe5a7d to 3544a94 Compare January 6, 2025 10:54
Fix DataViz resource template documentation.
@vcsomor vcsomor marked this pull request as ready for review January 6, 2025 14:14
@vcsomor vcsomor requested a review from a team as a code owner January 6, 2025 14:14
@vcsomor vcsomor requested review from tevesz and prateek1192 January 6, 2025 14:14
@vcsomor vcsomor changed the title CDPCP-13591 Cloudera Data Warehouse - Data Visualisation Support CDPCP-13591 Cloudera Data Warehouse - Data Visualization Support Jan 6, 2025
@vcsomor vcsomor force-pushed the CDPCP-13591_dataviz branch from bf45450 to e7e71c7 Compare January 7, 2025 07:23
@vcsomor vcsomor force-pushed the CDPCP-13591_dataviz branch from e7e71c7 to 014966b Compare January 7, 2025 07:35
@vcsomor vcsomor requested a review from tevesz January 9, 2025 12:26
@vcsomor vcsomor enabled auto-merge (squash) January 9, 2025 12:48
@prateek1192 prateek1192 self-requested a review January 9, 2025 17:06
@vcsomor vcsomor merged commit 6fd273a into main Jan 9, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants