diff --git a/main.tf b/main.tf index 320a92b..1ae6303 100644 --- a/main.tf +++ b/main.tf @@ -79,8 +79,8 @@ resource "castai_node_template" "this" { content { compute_optimized = try(constraints.value.compute_optimized, null) storage_optimized = try(constraints.value.storage_optimized, null) - compute_optimized_state = try(constraints.value.compute_optimized_state, "") - storage_optimized_state = try(constraints.value.storage_optimized_state, "") + compute_optimized_state = try(constraints.value.compute_optimized_state, "") + storage_optimized_state = try(constraints.value.storage_optimized_state, "") is_gpu_only = try(constraints.value.is_gpu_only, false) spot = try(constraints.value.spot, false) on_demand = try(constraints.value.on_demand, null) @@ -96,6 +96,7 @@ resource "castai_node_template" "this" { max_memory = try(constraints.value.max_memory, null) architectures = try(constraints.value.architectures, ["amd64"]) azs = try(constraints.value.azs, null) + burstable_instances = try(constraints.value.burstable_instances, null) dynamic "instance_families" { for_each = [for instance_families in flatten([lookup(constraints.value, "instance_families", [])]) : instance_families if instance_families != null]