Hi team,
I'm moving this from here: https://github.com/MicrosoftDocs/azure-docs.ja-jp/issues/2588
@misterturtleneck commented 4 hours ago
Define the Kubernetes cluster
Program mistakes.
tags {
Environment = "Development"
}
not,
tags = {
Environment = "Development"
}
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for the feedback! We are currently investigating and will update you shortly.
@misterturtleneck I see it correctly in the doc

I will close this out but if you are seeing something different just let me know and we can always reopen and continue.
Acquiring state lock. This may take a few moments...
Error: Unsupported block type
on k8s.tf line 60, in resource "azurerm_kubernetes_cluster" "k8s":
60: tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
I had the same issue
I will assign to the author to confirm and update as needed.
Error: Unsupported block type
on k8s.tf line 60, in resource "azurerm_kubernetes_cluster" "k8s":
60: tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Same error here :)
Solved by changing to
tags = {
Environment = "Development"
}
Most helpful comment
Solved by changing to
tags = {
Environment = "Development"
}