Skip to content

Commit

Permalink
feat: add CPU manufacturers to node template constraints (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenorgate authored Aug 22, 2024
1 parent d718c04 commit 9afa511
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ resource "castai_node_template" "this" {
azs = try(constraints.value.azs, null)
burstable_instances = try(constraints.value.burstable_instances, null)
customer_specific = try(constraints.value.customer_specific, null)
cpu_manufacturers = try(constraints.value.cpu_manufacturers, null)

dynamic "instance_families" {
for_each = [for instance_families in flatten([lookup(constraints.value, "instance_families", [])]) : instance_families if instance_families != null]
Expand Down

0 comments on commit 9afa511

Please sign in to comment.