Skip to content

Commit

Permalink
Deprecate storage compute optimized bool (#61)
Browse files Browse the repository at this point in the history
* impl

* update readme

* impl

* update version

* update
  • Loading branch information
linkas45 authored May 14, 2024
1 parent 05927ab commit 81e6e87
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,21 +127,21 @@ Usage examples are located in [terraform provider repo](https://github.com/casta
<!-- BEGIN_TF_DOCS -->
## Requirements

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
| Name | Version |
|------|-----------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
| <a name="requirement_azuread"></a> [azuread](#requirement\_azuread) | >= 2.22.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.7.0 |
| <a name="requirement_castai"></a> [castai](#requirement\_castai) | ~> 6.9.1 |
| <a name="requirement_helm"></a> [helm](#requirement\_helm) | >= 2.0.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.7.0 |
| <a name="requirement_castai"></a> [castai](#requirement\_castai) | ~> 6.11.0 |
| <a name="requirement_helm"></a> [helm](#requirement\_helm) | >= 2.0.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azuread"></a> [azuread](#provider\_azuread) | >= 2.22.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | >= 3.7.0 |
| <a name="provider_castai"></a> [castai](#provider\_castai) | ~> 6.9.1 |
| <a name="provider_castai"></a> [castai](#provider\_castai) | ~> 6.11.0 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | >= 2.0.0 |
| <a name="provider_null"></a> [null](#provider\_null) | n/a |

Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,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)
spot = try(constraints.value.spot, false)
on_demand = try(constraints.value.on_demand, null)
use_spot_fallbacks = try(constraints.value.use_spot_fallbacks, false)
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
}
castai = {
source = "castai/castai"
version = "~> 6.9.1"
version = "~> 6.11.0"
}
helm = {
source = "hashicorp/helm"
Expand Down

0 comments on commit 81e6e87

Please sign in to comment.