Skip to content

Commit

Permalink
Remove cockroach_version from the dedicated example (#167)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fantapop authored Sep 19, 2023
1 parent 1e62020 commit 52200c7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions examples/workflows/cockroach_dedicated_cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 52200c7

Please sign in to comment.