Skip to content

Instantly share code, notes, and snippets.

@yasn77
Created February 20, 2018 09:46
Show Gist options
  • Save yasn77/3dfa6505846f9388303543d7ae3811cf to your computer and use it in GitHub Desktop.
Save yasn77/3dfa6505846f9388303543d7ae3811cf to your computer and use it in GitHub Desktop.
2018/02/20 13:41:29 [INFO] Terraform version: 0.11.3 3802b14260603f90c7a1faf55994dcc8933e2069
2018/02/20 13:41:29 [INFO] Go runtime version: go1.9.1
2018/02/20 13:41:29 [INFO] CLI args: []string{"/home/yasser/WORK/drie/GIT/azure-demo/terraform", "validate", "."}
2018/02/20 13:41:29 [DEBUG] Attempting to open CLI config file: /home/yasser/.terraformrc
2018/02/20 13:41:29 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/02/20 13:41:29 [INFO] CLI command args: []string{"validate", "."}
2018/02/20 13:41:29 [DEBUG] checking for provider in "."
2018/02/20 13:41:29 [DEBUG] checking for provider in "/home/yasser/WORK/drie/GIT/azure-demo"
2018/02/20 13:41:29 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2018/02/20 13:41:29 [DEBUG] found provider "terraform-provider-azurerm_v1.1.2_x4"
2018/02/20 13:41:29 [DEBUG] found valid plugin: "azurerm", "1.1.2", "/home/yasser/WORK/drie/GIT/azure-demo/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.1.2_x4"
2018/02/20 13:41:29 [DEBUG] checking for provisioner in "."
2018/02/20 13:41:29 [DEBUG] checking for provisioner in "/home/yasser/WORK/drie/GIT/azure-demo"
2018/02/20 13:41:29 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2018/02/20 13:41:29 [DEBUG] New state was assigned lineage "57a57999-068f-4344-ad1a-48d707053a58"
2018/02/20 13:41:30 [INFO] terraform: building graph: GraphTypeValidate
2018/02/20 13:41:30 [DEBUG] Resource state not found for "azurerm_kubernetes_cluster.demo": azurerm_kubernetes_cluster.demo
2018/02/20 13:41:30 [DEBUG] Resource state not found for "azurerm_resource_group.demo": azurerm_resource_group.demo
2018/02/20 13:41:30 [DEBUG] resource azurerm_kubernetes_cluster.demo using provider provider.azurerm
2018/02/20 13:41:30 [DEBUG] resource azurerm_resource_group.demo using provider provider.azurerm
2018/02/20 13:41:30 [DEBUG] ReferenceTransformer: "azurerm_kubernetes_cluster.demo" references: [azurerm_resource_group.demo var.aks_sp_client_id var.aks_sp_client_secret]
2018/02/20 13:41:30 [DEBUG] ReferenceTransformer: "azurerm_resource_group.demo" references: []
2018/02/20 13:41:30 [DEBUG] ReferenceTransformer: "var.aks_sp_client_id" references: []
2018/02/20 13:41:30 [DEBUG] ReferenceTransformer: "var.aks_sp_client_secret" references: []
2018/02/20 13:41:30 [DEBUG] ReferenceTransformer: "provider.azurerm" references: []
2018/02/20 13:41:30 [DEBUG] Starting graph walk: walkValidate
2018-02-20T13:41:30.042+0400 [DEBUG] plugin: starting plugin: path=/home/yasser/WORK/drie/GIT/azure-demo/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.1.2_x4 args=[/home/yasser/WORK/drie/GIT/azure-demo/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.1.2_x4]
2018-02-20T13:41:30.042+0400 [DEBUG] plugin: waiting for RPC address: path=/home/yasser/WORK/drie/GIT/azure-demo/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.1.2_x4
2018-02-20T13:41:30.047+0400 [DEBUG] plugin.terraform-provider-azurerm_v1.1.2_x4: plugin address: timestamp=2018-02-20T13:41:30.047+0400 address=/tmp/plugin491845477 network=unix
2018/02/20 13:41:30 [DEBUG] Resource state not found for "azurerm_resource_group.demo": azurerm_resource_group.demo
2018/02/20 13:41:30 [DEBUG] ReferenceTransformer: "azurerm_resource_group.demo" references: []
2018/02/20 13:41:30 [DEBUG] Resource state not found for "azurerm_kubernetes_cluster.demo": azurerm_kubernetes_cluster.demo
2018/02/20 13:41:30 [DEBUG] ReferenceTransformer: "azurerm_kubernetes_cluster.demo" references: []
2018/02/20 13:41:30 [ERROR] root: eval: *terraform.EvalValidateResource, err: Warnings: []. Errors: ["agent_pool_profile.0.dns_prefix": this field cannot be set agent_pool_profile.0: invalid or unknown key: storage_profile]
2018/02/20 13:41:30 [ERROR] root: eval: *terraform.EvalSequence, err: Warnings: []. Errors: ["agent_pool_profile.0.dns_prefix": this field cannot be set agent_pool_profile.0: invalid or unknown key: storage_profile]
2018/02/20 13:41:30 [TRACE] [walkValidate] Exiting eval tree: azurerm_kubernetes_cluster.demo

2018/02/20 13:41:30 [DEBUG] plugin: waiting for all plugin processes to complete...
Error: azurerm_kubernetes_cluster.demo: "agent_pool_profile.0.dns_prefix": this field cannot be set


Error: azurerm_kubernetes_cluster.demo: agent_pool_profile.0: invalid or unknown key: storage_profile

2018-02-20T13:41:30.063+0400 [DEBUG] plugin: plugin process exited: path=/home/yasser/WORK/drie/GIT/azure-demo/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.1.2_x4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment