From 33a30d5e6f9e483c2345e55247e7dc09951583fe Mon Sep 17 00:00:00 2001 From: Sylvain Houdusse Date: Tue, 5 Dec 2023 17:38:00 +0100 Subject: [PATCH] feat (cce node pools): Add VM tags for CCE node pools --- main.tf | 1 + variables.tf | 1 + 2 files changed, 2 insertions(+) diff --git a/main.tf b/main.tf index 731c68f..b00c92f 100644 --- a/main.tf +++ b/main.tf @@ -87,6 +87,7 @@ resource "flexibleengine_cce_node_pool_v3" "cce_node_pool" { preinstall = each.value.preinstall_script labels = each.value.node_labels + tags = each.value.vm_tags root_volume { size = each.value.root_volume_size diff --git a/variables.tf b/variables.tf index 9d5b307..250ec15 100644 --- a/variables.tf +++ b/variables.tf @@ -125,6 +125,7 @@ variable "node_pool_list" { value = string effect = string })) + vm_tags = map(string) postinstall_script = string preinstall_script = string }))