AKS cluster failing to create for long environment names
Terraform fails to create AKS cluster if the environment name is long
The error thrown by terraform is related to https://docs.microsoft.com/en-us/azure/aks/troubleshooting#what-naming-restrictions-are-enforced-for-aks-resources-and-parameters
Steps to reproduce
- Set environment variable UNIQUE=ingestiontestenv
- Terraform workspace name = sr-ingestiontestenv
- Run service resources terraform pipeline