This example provisions the following Resources:
- A Resource Group
- A Virtual Network
- A Subnet
- A Linux Virtual Machine
- An Arc Kubernetes Cluster
- A Kind Cluster in Linux Virtual Machine by remote-exec Provisioner
- Azure Arc agents in Kind Cluster by remote-exec Provisioner
~> NOTE: To connect an existing Kubernetes cluster to Azure Arc, the following conditions must be met:
- An Arc Kubernetes Cluster must be created in Azure
- Azure Arc agents must be installed in the Kubernetes cluster which is connected to Azure
- Provide values to all variables
- Create with
terraform apply
- Destroy all with
terraform destroy