From 52200c780ade7e3f22c2de33f57ca408a27a539e Mon Sep 17 00:00:00 2001 From: Christopher Fitzner Date: Tue, 19 Sep 2023 11:34:50 -0700 Subject: [PATCH] Remove cockroach_version from the dedicated example (#167) cockroach_version requires a feature flag to be set even if the version is set to the latest version. Customers who use this example nearly always run into this issue. Removing this block since its not core to the example. --- examples/workflows/cockroach_dedicated_cluster/main.tf | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/workflows/cockroach_dedicated_cluster/main.tf b/examples/workflows/cockroach_dedicated_cluster/main.tf index c816edea..11b4656f 100644 --- a/examples/workflows/cockroach_dedicated_cluster/main.tf +++ b/examples/workflows/cockroach_dedicated_cluster/main.tf @@ -19,12 +19,6 @@ variable "sql_user_password" { sensitive = true } -variable "cockroach_version" { - type = string - nullable = true - default = "v22.2" -} - variable "cloud_provider" { type = string nullable = false @@ -99,7 +93,6 @@ provider "cockroach" { resource "cockroach_cluster" "example" { name = var.cluster_name cloud_provider = var.cloud_provider - cockroach_version = var.cockroach_version dedicated = { storage_gib = var.storage_gib num_virtual_cpus = var.num_virtual_cpus