Skip to content

Commit

Permalink
Merge pull request #20 from shoudusse/add-tags-for-node-pools
Browse files Browse the repository at this point in the history
feat (cce node pools): Add VM tags for CCE node pools
  • Loading branch information
shoudusse authored Dec 5, 2023
2 parents 157a988 + 33a30d5 commit d13aca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ variable "node_pool_list" {
value = string
effect = string
}))
vm_tags = map(string)
postinstall_script = string
preinstall_script = string
}))
Expand Down

0 comments on commit d13aca7

Please sign in to comment.