[AVM Module Issue]: Getting Error On Terraform Plan #64
Labels
Language: Terraform 🌐
This is related to the Terraform IaC language
Needs: Triage 🔍
Maintainers need to triage still
Type: Bug 🐛
Something isn't working
Check for previous/existing GitHub issues
Issue Type?
Bug
(Optional) Module Version
"0.1.0"
(Optional) Correlation Id
No response
Description
I have below code:
main.tf
Provider.tf
Variable.tf
Getting Below Error While Terraform Plan:
Error: the "name" must begin with a lowercase letter, contain only lowercase letters and numbers and be between 1 and 12 characters in length, got "npnpsystmnodp1"
│
│ with module.aks.azurerm_kubernetes_cluster_node_pool.this["npsystmnodp1"],
│ on .terraform\modules\aks\main.tf line 225, in resource "azurerm_kubernetes_cluster_node_pool" "this":
│ 225: name = "np${each.value.name}"
│
╵
╷
│ Error: the "name" must begin with a lowercase letter, contain only lowercase letters and numbers and be between 1 and 12 characters in length, got "npnpsystmnodp2"
│
│ with module.aks.azurerm_kubernetes_cluster_node_pool.this["npsystmnodp2"],
│ on .terraform\modules\aks\main.tf line 225, in resource "azurerm_kubernetes_cluster_node_pool" "this":
│ 225: name = "np${each.value.name}"
│
╵
╷
│ Error: the "name" must begin with a lowercase letter, contain only lowercase letters and numbers and be between 1 and 12 characters in length, got "npnpsystmnodp3"
│
│ with module.aks.azurerm_kubernetes_cluster_node_pool.this["npsystmnodp3"],
│ on .terraform\modules\aks\main.tf line 225, in resource "azurerm_kubernetes_cluster_node_pool" "this":
│ 225: name = "np${each.value.name}"
│
The text was updated successfully, but these errors were encountered: