{"action":"closed","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1160","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1160/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1160/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1160/events","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/issues/1160","id":317368394,"number":1160,"title":"Failure when deploying new azure_kubernetes_cluster resource into centralus","user":{"login":"g0atcheez","id":8755975,"avatar_url":"https://avatars3.githubusercontent.com/u/8755975?v=4","gravatar_id":"","url":"https://api.github.com/users/g0atcheez","html_url":"https://github.com/g0atcheez","followers_url":"https://api.github.com/users/g0atcheez/followers","following_url":"https://api.github.com/users/g0atcheez/following{/other_user}","gists_url":"https://api.github.com/users/g0atcheez/gists{/gist_id}","starred_url":"https://api.github.com/users/g0atcheez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g0atcheez/subscriptions","organizations_url":"https://api.github.com/users/g0atcheez/orgs","repos_url":"https://api.github.com/users/g0atcheez/repos","events_url":"https://api.github.com/users/g0atcheez/events{/privacy}","received_events_url":"https://api.github.com/users/g0atcheez/received_events","type":"User","site_admin":false},"labels":[{"id":620326271,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/bug","name":"bug","color":"f7c6c7","default":true},{"id":850504810,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/service/kubernetes-cluster","name":"service/kubernetes-cluster","color":"6ad8cd","default":false}],"state":"closed","locked":false,"assignee":{"login":"tombuildsstuff","id":666005,"avatar_url":"https://avatars1.githubusercontent.com/u/666005?v=4","gravatar_id":"","url":"https://api.github.com/users/tombuildsstuff","html_url":"https://github.com/tombuildsstuff","followers_url":"https://api.github.com/users/tombuildsstuff/followers","following_url":"https://api.github.com/users/tombuildsstuff/following{/other_user}","gists_url":"https://api.github.com/users/tombuildsstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/tombuildsstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombuildsstuff/subscriptions","organizations_url":"https://api.github.com/users/tombuildsstuff/orgs","repos_url":"https://api.github.com/users/tombuildsstuff/repos","events_url":"https://api.github.com/users/tombuildsstuff/events{/privacy}","received_events_url":"https://api.github.com/users/tombuildsstuff/received_events","type":"User","site_admin":false},"assignees":[{"login":"tombuildsstuff","id":666005,"avatar_url":"https://avatars1.githubusercontent.com/u/666005?v=4","gravatar_id":"","url":"https://api.github.com/users/tombuildsstuff","html_url":"https://github.com/tombuildsstuff","followers_url":"https://api.github.com/users/tombuildsstuff/followers","following_url":"https://api.github.com/users/tombuildsstuff/following{/other_user}","gists_url":"https://api.github.com/users/tombuildsstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/tombuildsstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombuildsstuff/subscriptions","organizations_url":"https://api.github.com/users/tombuildsstuff/orgs","repos_url":"https://api.github.com/users/tombuildsstuff/repos","events_url":"https://api.github.com/users/tombuildsstuff/events{/privacy}","received_events_url":"https://api.github.com/users/tombuildsstuff/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/milestones/9","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/milestone/9","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/milestones/9/labels","id":3157236,"number":9,"title":"1.4.0","description":"","creator":{"login":"tombuildsstuff","id":666005,"avatar_url":"https://avatars1.githubusercontent.com/u/666005?v=4","gravatar_id":"","url":"https://api.github.com/users/tombuildsstuff","html_url":"https://github.com/tombuildsstuff","followers_url":"https://api.github.com/users/tombuildsstuff/followers","following_url":"https://api.github.com/users/tombuildsstuff/following{/other_user}","gists_url":"https://api.github.com/users/tombuildsstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/tombuildsstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombuildsstuff/subscriptions","organizations_url":"https://api.github.com/users/tombuildsstuff/orgs","repos_url":"https://api.github.com/users/tombuildsstuff/repos","events_url":"https://api.github.com/users/tombuildsstuff/events{/privacy}","received_events_url":"https://api.github.com/users/tombuildsstuff/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":18,"state":"open","created_at":"2018-03-02T20:03:24Z","updated_at":"2018-04-24T19:52:32Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-04-24T19:44:00Z","updated_at":"2018-04-24T19:52:32Z","closed_at":"2018-04-24T19:52:32Z","author_association":"NONE","body":"Starting yesterday, our automation has broken with the following error.\r\n\r\n* 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}/'.\"\r\n\r\nAs a test, I took the sample from the resource documentation and tried deploying it to multiple regions with the same result.\r\n\r\n### Terraform Version\r\nTerraform v0.11.7\r\n+ provider.azurerm v1.3.3\r\n\r\n### Affected Resource(s)\r\nPlease list the resources as a list, for example:\r\n- azure_kubernetes_cluster\r\n\r\n### Terraform Configuration Files\r\n```hcl\r\nprovider \"azurerm\" {}\r\n\r\nresource \"azurerm_resource_group\" \"test\" {\r\n  name     = \"acctestRG1\"\r\n  location = \"centralus\"\r\n}\r\n\r\nresource \"azurerm_kubernetes_cluster\" \"test\" {\r\n  name                = \"acctestaks1\"\r\n  location            = \"${azurerm_resource_group.test.location}\"\r\n  resource_group_name = \"${azurerm_resource_group.test.name}\"\r\n  dns_prefix          = \"acctestagent1\"\r\n\r\n  linux_profile {\r\n    admin_username = \"azureuser\"\r\n\r\n    ssh_key {\r\n      key_data = \"${file(\"modules/azure/terraform.pub\")}\"\r\n    }\r\n  }\r\n\r\n  agent_pool_profile {\r\n    name            = \"default\"\r\n    count           = 1\r\n    vm_size         = \"Standard_A0\"\r\n    os_type         = \"Linux\"\r\n    os_disk_size_gb = 30\r\n  }\r\n\r\n  service_principal {\r\n    client_id     = \"00000000-0000-0000-0000-000000000000\"\r\n    client_secret = \"00000000000000000000000000000000\"\r\n  }\r\n}\r\n```\r\n\r\n### Debug Output\r\nhttps://gist.github.com/g0atcheez/4cbdcb9b26b067239c5808eac9140dce\r\n\r\n### Expected Behavior\r\nTerraform provisions the AKS cluster.\r\n\r\n### Actual Behavior\r\nThe apply errors out stating that the subnet ID is blank.\r\n\r\n### Steps to Reproduce\r\nPlease list the steps required to reproduce the issue, for example:\r\n1. `terraform init`\r\n2. `terraform apply`"}}
{"actor":{"display_login":"tombuildsstuff"}}