Skip to content

Commit

Permalink
Node template is enabled by default (#53)
Browse files Browse the repository at this point in the history
* Bump version

* impl

* impl
  • Loading branch information
linkas45 authored Mar 5, 2024
1 parent e30f6b5 commit f4dbbe0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "castai_node_template" "this" {

name = try(each.value.name, each.key)
is_default = try(each.value.is_default, false)
is_enabled = try(each.value.is_enabled, null)
is_enabled = try(each.value.is_enabled, true)
configuration_id = can(each.value.configuration_id) ? length(regexall(local.configuration_id_regex_pattern, each.value.configuration_id)) > 0 ? each.value.configuration_id : castai_node_configuration.this[each.value.configuration_id].id : null
should_taint = try(each.value.should_taint, true)
rebalancing_config_min_nodes = try(each.value.rebalancing_config_min_nodes, 0)
Expand Down
1 change: 0 additions & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ terraform {
}
}
}

0 comments on commit f4dbbe0

Please sign in to comment.