My solution:
├── main.tf
├── modules
│ ├── cluster1
│ │ ├── cluster1.tf
│ │ ├── main.tf
│ │ ├── output.tf
│ │ └── variables.tf
│ ├── cluster2
│ │ ├── cluster.tf
│ │ ├── main.tf
│ │ ├── output.tf
│ │ └── variables.tf
│ └── trafficmanager
│ ├── main.tf
│ ├── output.tf
│ ├── trafficmanager.tf
│ └── variables.tf
├── README.md
└── variables.tf
in order for me to create a Azure k8s clusters, each cluster requires service principal id and secret. i would be very interested to see some examples on how how to pass environment variables containing service principal and secret to each cluster.