Skip to content

Commit

Permalink
fix: (IAC-632) tfvars PREFIX not applied to host nodes for k8s/Viya (#…
Browse files Browse the repository at this point in the history
…152)

* fix: (IAC-632) tfvars PREFIX not applied to host nodes for k8s/Viya
  • Loading branch information
riragh authored Sep 29, 2022
1 parent c56add0 commit ecc2672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ locals {
# Mapping node_pools to node_groups
default_node_pool = {
default = {
name = "default"
name = "${local.cluster_name}-default"
instance_types = [var.default_nodepool_vm_type]
block_device_mappings = {
xvda = {
Expand Down Expand Up @@ -74,7 +74,7 @@ locals {
user_node_pool = {
for key, np_value in var.node_pools :
key => {
name = key
name = "${local.cluster_name}-${key}"
instance_types = [np_value.vm_type]
ami_type = np_value.cpu_type
disk_size = np_value.os_disk_size
Expand Down

0 comments on commit ecc2672

Please sign in to comment.