Skip to content

Commit

Permalink
Merge pull request #89 from EventStore/brockshelton/clo-435-update-te…
Browse files Browse the repository at this point in the history
…rraform-provider-to-support-236

add 23.6 support
  • Loading branch information
bshelton authored Sep 22, 2023
2 parents 0e216bc + d13a8dc commit 0fc79b2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/guides/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ resource "eventstorecloud_managed_cluster" "wings" {
disk_type = "gp3"
disk_iops = 3000
disk_throughput = 125
server_version = "22.10"
server_version = "23.6"
}
output "chicken_window_id" {
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ resource "eventstorecloud_managed_cluster" "wings" {
instance_type = "F1"
disk_size = 10
disk_type = "premium-ssd-lrs"
server_version = "22.10"
server_version = "23.6"
projection_level = "user"
}
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/gcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ resource "eventstorecloud_managed_cluster" "wings" {
instance_type = "F1"
disk_size = 16
disk_type = "ssd"
server_version = "22.10"
server_version = "23.6"
projection_level = "user"
}
Expand Down
1 change: 1 addition & 0 deletions docs/resources/managed_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ For `server_version`, use one of the available EventStoreDB product versions:
- `21.10`
- `22.6`
- `22.10`
- `23.6`

For `projection_level`, use one of the following values:
- `off` (the projections subsystem is disabled completely)
Expand Down
2 changes: 1 addition & 1 deletion esc/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ var slowResourceTimeout = &schema.ResourceTimeout{
}

var validProviders = []string{"aws", "gcp", "azure"}
var validServerVersions = []string{"20.6", "20.10", "21.6", "21.10", "22.6", "22.10"}
var validServerVersions = []string{"20.6", "20.10", "21.6", "21.10", "22.6", "22.10", "23.6"}
var validTopologies = []string{"single-node", "three-node-multi-zone"}
var validInstanceTypes = []string{"F1", "C4", "M8", "M16", "M32", "M64", "M128"}
var validDiskTypes = []string{"GP2", "GP3", "SSD", "PREMIUM-SSD-LRS"}
Expand Down
2 changes: 1 addition & 1 deletion examples/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ resource "eventstorecloud_managed_cluster" "wings" {
disk_type = "gp3"
disk_iops = 3000
disk_throughput = 125
server_version = "22.10"
server_version = "23.6"
}

output "chicken_window_id" {
Expand Down
2 changes: 1 addition & 1 deletion examples/azure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ resource "eventstorecloud_managed_cluster" "wings" {
instance_type = "F1"
disk_size = 10
disk_type = "premium-ssd-lrs"
server_version = "22.10"
server_version = "23.6"
projection_level = "user"
}

Expand Down
2 changes: 1 addition & 1 deletion examples/gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resource "eventstorecloud_managed_cluster" "wings" {
instance_type = "F1"
disk_size = 16
disk_type = "ssd"
server_version = "22.10"
server_version = "23.6"
projection_level = "user"
}

Expand Down
1 change: 1 addition & 0 deletions templates/resources/managed_cluster.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ For `server_version`, use one of the available EventStoreDB product versions:
- `21.10`
- `22.6`
- `22.10`
- `23.6`

For `projection_level`, use one of the following values:
- `off` (the projections subsystem is disabled completely)
Expand Down

0 comments on commit 0fc79b2

Please sign in to comment.