It would be good for Azure to help implement RBAC support into Terraform. As it stands, new clusters created via Terraform, have RBAC disabled by default.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@alexvicegrab Thanks for the feedback. I've forwarded your idea to the product group.
There is an active issue for this in the providers repo:
https://github.com/terraform-providers/terraform-provider-azurerm/issues/1429
How the heck do you enable RBAC for an AKS you already created in Terraform? It seems '--enable-rbac' is only available for 'az create', but I've already created my AKS. What do I do?
@paulmackinnon-adv365 you can't. https://github.com/MicrosoftDocs/azure-docs/issues/11426 It's not possible to enable RBAC after creation in AKS.
Any update on when enabling rbac is possible with terraform?
@SaurabhSharma-MSFT This is an issue for the provider and a GitHub Issue has been opened for them. As this is not a doc issue, @please-close
@alexvicegrab We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.
Most helpful comment
How the heck do you enable RBAC for an AKS you already created in Terraform? It seems '--enable-rbac' is only available for 'az create', but I've already created my AKS. What do I do?