This sample deploys an Azure Kubernetes Service (AKS) cluster and Azure OpenAI Service using Terraform modules with the Azure Provider Terraform Provider and a Python chatbot that authenticates against Azure OpenAI using Azure AD workload identity and calls the Chat Completion API of a ChatGPT model.