Skip to content

Commit

Permalink
impl
Browse files Browse the repository at this point in the history
  • Loading branch information
linkas45 committed May 8, 2024
1 parent 7375e12 commit 88f0d00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ 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)
compute_optimized_status = try(constraints.value.compute_optimized_status, "")
storage_optimized_status = try(constraints.value.storage_optimized_status, "")
is_gpu_only = try(constraints.value.is_gpu_only, false)
spot = try(constraints.value.spot, false)
on_demand = try(constraints.value.on_demand, null)
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ terraform {
}
castai = {
source = "castai/castai"
version = "~> 6.6.0"
version = "~> 7.0.0"
}
helm = {
source = "hashicorp/helm"
Expand Down

0 comments on commit 88f0d00

Please sign in to comment.