diff --git a/README.md b/README.md
index 4851009..d8be0df 100644
--- a/README.md
+++ b/README.md
@@ -279,7 +279,6 @@ module "castai-eks-cluster" {
}
```
-
# Examples
Usage examples are located in [terraform provider repo](https://github.com/castai/terraform-provider-castai/tree/master/examples/eks)
@@ -293,18 +292,18 @@ terraform-docs markdown table . --output-file README.md
## Requirements
-| Name | Version |
-|------|---------|
-| [terraform](#requirement\_terraform) | >= 0.13 |
-| [aws](#requirement\_aws) | >= 2.49 |
-| [castai](#requirement\_castai) | ~> 6.9.1 |
-| [helm](#requirement\_helm) | >= 2.0.0 |
+| Name | Version |
+|------|-----------|
+| [terraform](#requirement\_terraform) | >= 0.13 |
+| [aws](#requirement\_aws) | >= 2.49 |
+| [castai](#requirement\_castai) | ~> 6.11.0 |
+| [helm](#requirement\_helm) | >= 2.0.0 |
## Providers
| Name | Version |
|------|---------|
-| [castai](#provider\_castai) | ~> 6.9.1 |
+| [castai](#provider\_castai) | ~> 6.11.0 |
| [helm](#provider\_helm) | >= 2.0.0 |
| [null](#provider\_null) | n/a |
diff --git a/main.tf b/main.tf
index 5bcae54..74dcfb2 100644
--- a/main.tf
+++ b/main.tf
@@ -73,8 +73,8 @@ resource "castai_node_template" "this" {
dynamic "constraints" {
for_each = flatten([lookup(each.value, "constraints", [])])
content {
- compute_optimized = try(constraints.value.compute_optimized, false)
- storage_optimized = try(constraints.value.storage_optimized, false)
+ compute_optimized = try(constraints.value.compute_optimized, null)
+ storage_optimized = try(constraints.value.storage_optimized, null)
is_gpu_only = try(constraints.value.is_gpu_only, false)
spot = try(constraints.value.spot, false)
on_demand = try(constraints.value.on_demand, null)
diff --git a/versions.tf b/versions.tf
index 59be384..3507756 100644
--- a/versions.tf
+++ b/versions.tf
@@ -8,7 +8,7 @@ terraform {
}
castai = {
source = "castai/castai"
- version = "~> 6.9.1"
+ version = "~> 6.11.0"
}
helm = {
source = "hashicorp/helm"