-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AKS cluster creation fails when (optional) subnet_id is undefined #17937
Comments
Hi, The same is happening to me. I even created a Virtual network and tried to create the cluster and it didn't work either. |
+1 |
+1 It is blocker in our product. Please. Please. Please. |
This looks like a duplicate of hashicorp/terraform-provider-azurerm#1166 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Terraform Configuration Files
AKS configuration file
Debug Output
https://gist.github.com/vanappmi/d9f964aff8773ae9bca1b91ca3799926
Expected Behavior
Create an AKS cluster without the need to define an (optional) subnet_id
Actual Behavior
Only runs with pre-defined subnet_id config ( -- Original Error: Code="LinkedInvalidPropertyId" Message="Property id '' at path 'properties.agentPoolProfiles[0].vnetSubnetID' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.")
Steps to Reproduce
terraform init
terraform apply
Additional Context
Worked maybe a week ago. Also tried terraform 0.11.3.
Also tried different fqdn- and aks-names because of possible max-length issues.
Also, there is no sign of the problem in the Azure activity log (fails on api call)
The text was updated successfully, but these errors were encountered: