Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/kubernetes_cluster: Only setting the
VnetSubnetID
when it's != "" (…
…#1158) Fixes: ``` ------- Stdout: ------- === RUN TestAccAzureRMKubernetesCluster_basic --- FAIL: TestAccAzureRMKubernetesCluster_basic (55.13s) testing.go:513: Step 0 error: Error applying: 1 error(s) occurred: * azurerm_kubernetes_cluster.test: 1 error(s) occurred: * azurerm_kubernetes_cluster.test: containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- 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}/'." FAIL ``` Passing test: ``` $ acctests azurerm TestAccAzureRMKubernetesCluster_basic === RUN TestAccAzureRMKubernetesCluster_basic --- PASS: TestAccAzureRMKubernetesCluster_basic (1713.63s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 1713.661s ```
- Loading branch information