-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tags node pool list won't work #1123
Comments
Hello, |
I managed to add the tags and it seems that the pipeline shows me that it will create them, but while running the pipeline I'm getting this error: module.cce2_cluster.flexibleengine_cce_node_pool_v3.cce_node_pool["nodepool1"]: Modifying... [id=29af4ace-0ebf-11ef-9055-0255ac100038] module.cce2_cluster.flexibleengine_cce_node_pool_v3.cce_node_pool["nodepool0"]: Still modifying... [id=55ff12cd-1843-11ef-8139-0255ac10004f, 10s elapsed] What's strange is that, in CCE GUI, tags are not visibile, but on the tf state file they exist. |
Hello,
I'm trying to add some tag(s) at the node_pool_list that will assign tags based on what is declared in TMS to each node created, but in my case it doesn't work.
Reason for doing is, is do see the tags on my bill by using the TMS.
Based on the documentation here, it seems that is possible to do it as it is optional, but, my pipeline is failing due to this error:
│ The given value is not suitable for module.cce2_cluster.var.node_pool_list │ declared at module/cce-runtime/variables.tf:115,1-26: element 1: │ attribute "tags" is required.
I can confirm that is declared but I'm not sure what am I doing wrong.
Note that we are not using the node_list, but the node_pool_list that each argument has a count index. Looks like this
node_pool_list = [
{
node_pool_index = "node0"
node_pool_name = var.nodepool_config[0].name
node_flavor = var.nodepool_config[0].flavor
availability_zone = var.nodepool_config[0].availability_zone
initial_node_count = var.nodepool_config[0].initial_node_count
scale_enable = var.nodepool_config[0].scale_enable
min_node_count = var.nodepool_config[0].min_node_count
max_node_count = var.nodepool_config[0].max_node_count
.
.
.
What am I doing wrong?
Let me know if I can provide more details about it.
Thanks
The text was updated successfully, but these errors were encountered: