From fbbc855aac2aefd43131576357d69b1824d05a14 Mon Sep 17 00:00:00 2001 From: "BATAIS Stephane (O)" <92863898+SBatais@users.noreply.github.com> Date: Tue, 16 Apr 2024 16:49:41 +0200 Subject: [PATCH 1/5] fix annotations annotations missing in flexibleengine_cce_node_v3 --- main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tf b/main.tf index 123e00a..6fa346f 100644 --- a/main.tf +++ b/main.tf @@ -40,6 +40,8 @@ resource "flexibleengine_cce_node_v3" "cce_cluster_node" { labels = each.value.node_labels tags = each.value.vm_tags + annotations= each.value.annotations + root_volume { size = each.value.root_volume_size volumetype = each.value.root_volume_type From 76885a3bd187b909ac52d48cb8a90ed561119ec0 Mon Sep 17 00:00:00 2001 From: "BATAIS Stephane (O)" <92863898+SBatais@users.noreply.github.com> Date: Tue, 16 Apr 2024 16:54:09 +0200 Subject: [PATCH 2/5] fix annotations --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 6fa346f..c5a9c52 100644 --- a/main.tf +++ b/main.tf @@ -40,7 +40,7 @@ resource "flexibleengine_cce_node_v3" "cce_cluster_node" { labels = each.value.node_labels tags = each.value.vm_tags - annotations= each.value.annotations + annotations = each.value.annotations root_volume { size = each.value.root_volume_size From 74b82e46d9d0ae4c0e90fddc40387a941ee78d72 Mon Sep 17 00:00:00 2001 From: "BATAIS Stephane (O)" <92863898+SBatais@users.noreply.github.com> Date: Wed, 17 Apr 2024 16:31:47 +0200 Subject: [PATCH 3/5] annotations added nodes_list --- main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tf b/main.tf index c5a9c52..618cbe3 100644 --- a/main.tf +++ b/main.tf @@ -94,6 +94,8 @@ resource "flexibleengine_cce_node_pool_v3" "cce_node_pool" { labels = each.value.node_labels tags = each.value.vm_tags + annotations = each.value.annotations + root_volume { size = each.value.root_volume_size volumetype = each.value.root_volume_type From 444bf1c99e409a9a5b5f8f3aa38c686e5d990935 Mon Sep 17 00:00:00 2001 From: "BATAIS Stephane (O)" <92863898+SBatais@users.noreply.github.com> Date: Wed, 17 Apr 2024 16:36:22 +0200 Subject: [PATCH 4/5] remove annotations node_list --- main.tf | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.tf b/main.tf index 618cbe3..c5a9c52 100644 --- a/main.tf +++ b/main.tf @@ -94,8 +94,6 @@ resource "flexibleengine_cce_node_pool_v3" "cce_node_pool" { labels = each.value.node_labels tags = each.value.vm_tags - annotations = each.value.annotations - root_volume { size = each.value.root_volume_size volumetype = each.value.root_volume_type From b75ff726a15dd9b1ef0dfdb19017d4454a110da8 Mon Sep 17 00:00:00 2001 From: "BATAIS Stephane (O)" <92863898+SBatais@users.noreply.github.com> Date: Sat, 27 Apr 2024 15:42:13 +0200 Subject: [PATCH 5/5] add annotations to node_list --- variables.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/variables.tf b/variables.tf index 608e0b7..950615d 100644 --- a/variables.tf +++ b/variables.tf @@ -109,6 +109,7 @@ variable "nodes_list" { })) postinstall_script = string preinstall_script = string + annotations = map(string) })) }