Skip to content

Instantly share code, notes, and snippets.

@avishnyakov
Created October 27, 2019 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avishnyakov/69179f26c2fc870f03c4dd39f88d4730 to your computer and use it in GitHub Desktop.
Save avishnyakov/69179f26c2fc870f03c4dd39f88d4730 to your computer and use it in GitHub Desktop.
Elastic/Kibana 7.4.0 support
2019/10/26 22:45:36 [INFO] Terraform version: 0.10.8 44110772d9ffd0ec3589943c6d4c93c24a5fff06
2019/10/26 22:45:36 [INFO] Go runtime version: go1.9
2019/10/26 22:45:36 [INFO] CLI args: []string{"/bin/terraform", "plan"}
2019/10/26 22:45:36 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2019/10/26 22:45:36 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/10/26 22:45:36 [DEBUG] CLI config is &main.Config{Providers:map[string]string{}, Provisioners:map[string]string{}, DisableCheckpoint:false, DisableCheckpointSignature:false, PluginCacheDir:"", Credentials:map[string]map[string]interface {}(nil), CredentialsHelpers:map[string]*main.ConfigCredentialsHelper(nil)}
2019/10/26 22:45:36 [INFO] CLI command args: []string{"plan"}
2019/10/26 22:45:36 [INFO] command: empty terraform config, returning nil
2019/10/26 22:45:36 [DEBUG] command: no data state file found for backend config
2019/10/26 22:45:36 [DEBUG] New state was assigned lineage "6a37a819-f52e-4729-b8fb-db9004ac96c8"
2019/10/26 22:45:36 [INFO] command: backend initialized: <nil>
2019/10/26 22:45:36 [DEBUG] checking for provider in "."
2019/10/26 22:45:36 [DEBUG] checking for provider in "/bin"
2019/10/26 22:45:36 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2019/10/26 22:45:36 [DEBUG] checking for provider in "/root/.terraform.d/plugins"
2019/10/26 22:45:36 [WARNING] found legacy provider "terraform-provider-kibana"
2019/10/26 22:45:36 [DEBUG] found valid plugin: "kibana"
2019/10/26 22:45:36 [DEBUG] checking for provisioner in "."
2019/10/26 22:45:36 [DEBUG] checking for provisioner in "/bin"
2019/10/26 22:45:36 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2019/10/26 22:45:36 [DEBUG] checking for provisioner in "/root/.terraform.d/plugins"
2019/10/26 22:45:36 [INFO] command: backend <nil> is not enhanced, wrapping in local
2019/10/26 22:45:36 [INFO] backend/local: starting Plan operation
2019/10/26 22:45:36 [DEBUG] New state was assigned lineage "36ce4aa0-2f61-46eb-bfb0-d5067060f73a"
2019/10/26 22:45:36 [INFO] terraform: building graph: GraphTypeInput
2019/10/26 22:45:36 [DEBUG] Resource state not found for "data.kibana_index.filebeat": data.kibana_index.filebeat
2019/10/26 22:45:36 [DEBUG] Resource state not found for "kibana_search.china": kibana_search.china
2019/10/26 22:45:36 [DEBUG] ReferenceTransformer: "data.kibana_index.filebeat" references: []
2019/10/26 22:45:36 [DEBUG] ReferenceTransformer: "kibana_search.china" references: [data.kibana_index.filebeat]
2019/10/26 22:45:36 [DEBUG] ReferenceTransformer: "provider.kibana" references: []
2019-10-26T22:45:36.293Z [DEBUG] plugin: waiting for RPC address: path=/root/.terraform.d/plugins/terraform-provider-kibana
2019-10-26T22:45:36.309Z [DEBUG] plugin.terraform-provider-kibana: plugin address: timestamp=2019-10-26T22:45:36.309Z address=/tmp/plugin251014476 network=unix
2019/10/26 22:45:36 [INFO] terraform: building graph: GraphTypeValidate
2019/10/26 22:45:36 [TRACE] ConfigTransformer: Starting for path: []
2019/10/26 22:45:36 [DEBUG] Resource state not found for "data.kibana_index.filebeat": data.kibana_index.filebeat
2019/10/26 22:45:36 [DEBUG] Resource state not found for "kibana_search.china": kibana_search.china
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.AttachStateTransformer:
data.kibana_index.filebeat - *terraform.NodeValidatableResource
kibana_search.china - *terraform.NodeValidatableResource
2019/10/26 22:45:36 [DEBUG] ReferenceTransformer: "kibana_search.china" references: [data.kibana_index.filebeat]
2019/10/26 22:45:36 [DEBUG] ReferenceTransformer: "provider.kibana" references: []
2019/10/26 22:45:36 [DEBUG] Resource state not found for "kibana_search.china": kibana_search.china
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.AttachStateTransformer:
kibana_search.china - *terraform.NodeValidatableResourceInstance
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.TargetsTransformer:
kibana_search.china - *terraform.NodeValidatableResourceInstance
2019/10/26 22:45:36 [DEBUG] ReferenceTransformer: "kibana_search.china" references: []
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.ReferenceTransformer:
kibana_search.china - *terraform.NodeValidatableResourceInstance
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.RootTransformer:
kibana_search.china - *terraform.NodeValidatableResourceInstance
2019/10/26 22:45:36 [TRACE] dag/walk: added new vertex: "kibana_search.china"
2019/10/26 22:45:36 [INFO] backend/local: plan calling Refresh
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
2019/10/26 22:45:36 [INFO] terraform: building graph: GraphTypeRefresh
2019/10/26 22:45:36 [TRACE] No managed resources in state during refresh, skipping managed resource transformer
2019/10/26 22:45:36 [TRACE] ConfigTransformer: Starting for path: []
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.ConfigTransformer:
data.kibana_index.filebeat - *terraform.NodeRefreshableDataResource
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.OrphanResourceTransformer:
data.kibana_index.filebeat - *terraform.NodeRefreshableDataResource
2019/10/26 22:45:36 [DEBUG] Resource state not found for "data.kibana_index.filebeat": data.kibana_index.filebeat
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.AttachStateTransformer:
data.kibana_index.filebeat - *terraform.NodeRefreshableDataResource
2019/10/26 22:45:36 [TRACE] AttachResourceConfigTransformer: Beginning...
2019/10/26 22:45:36 [TRACE] AttachResourceConfigTransformer: Attach resource config request: data.kibana_index.filebeat
2019/10/26 22:45:36 [TRACE] Attaching resource config: &config.Resource{Mode:1, Name:"filebeat", Type:"kibana_index", RawCount:(*config.RawConfig)(0xc420329b90), RawConfig:(*config.RawConfig)(0xc420329b20), Provisioners:[]*config.Provisioner{}, Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:
data.kibana_index.filebeat - *terraform.NodeRefreshableDataResource
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.RootVariableTransformer:
data.kibana_index.filebeat - *terraform.NodeRefreshableDataResource
persisted to local or remote state storage.
2019/10/26 22:45:36 [DEBUG] ReferenceTransformer: "data.kibana_index.filebeat" references: []
2019/10/26 22:45:36 [DEBUG] ReferenceTransformer: "provider.kibana" references: []
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.ReferenceTransformer:
data.kibana_index.filebeat - *terraform.NodeRefreshableDataResource
provider.kibana - *terraform.NodeApplyableProvider
provider.kibana - *terraform.NodeApplyableProvider
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.TargetsTransformer:
data.kibana_index.filebeat - *terraform.NodeRefreshableDataResource
provider.kibana - *terraform.NodeApplyableProvider
provider.kibana - *terraform.NodeApplyableProvider
2019/10/26 22:45:36 [DEBUG] Resource state not found for "data.kibana_index.filebeat": data.kibana_index.filebeat
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.AttachStateTransformer:
data.kibana_index.filebeat - *terraform.NodeRefreshableDataResourceInstance
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.TargetsTransformer:
data.kibana_index.filebeat - *terraform.NodeRefreshableDataResourceInstance
2019/10/26 22:45:36 [DEBUG] ReferenceTransformer: "data.kibana_index.filebeat" references: []
2019/10/26 22:45:36 [TRACE] Graph after step *terraform.ReferenceTransformer:
data.kibana_index.filebeat - *terraform.NodeRefreshableDataResourceInstance
data.kibana_index.filebeat: Refreshing state...
2019-10-26T22:45:36.357Z [DEBUG] plugin.terraform-provider-kibana: 2019/10/26 22:45:36 [INFO] Reading kibana indexes
2019/10/26 22:45:36 [ERROR] root: eval: *terraform.EvalReadDataApply, err: data.kibana_index.filebeat: Status: 404, {"statusCode":404,"error":"Not Found","message":"Not Found"}
2019/10/26 22:45:36 [ERROR] root: eval: *terraform.EvalSequence, err: data.kibana_index.filebeat: Status: 404, {"statusCode":404,"error":"Not Found","message":"Not Found"}
2019/10/26 22:45:36 [TRACE] [walkRefresh] Exiting eval tree: data.kibana_index.filebeat
2019/10/26 22:45:36 [DEBUG] plugin: waiting for all plugin processes to complete...
Error: Error refreshing state: 1 error(s) occurred:
* data.kibana_index.filebeat: 1 error(s) occurred:
* data.kibana_index.filebeat: data.kibana_index.filebeat: Status: 404, {"statusCode":404,"error":"Not Found","message":"Not Found"}
2019-10-26T22:45:36.430Z [DEBUG] plugin.terraform-provider-kibana: 2019/10/26 22:45:36 [ERR] plugin: plugin server: accept unix /tmp/plugin251014476: use of closed network connection
2019-10-26T22:45:36.432Z [DEBUG] plugin: plugin process exited: path=/root/.terraform.d/plugins/terraform-provider-kibana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment