terraform rpc error: code = Unimplemented desc = unknown service proto.Provider












0















I've been working on my own provider for terraform using our own infrastructure that we have implemented. It works fine using the binary from github but when I tried to merge template provider into the .tf file it complained that client version was ahead of the api server.



I resolved this first problem downloading the Alpha2 build and using both the binary and template provider provided in the zip file.



Now I am running into this error and I have no clue where to look.



rpc error: code = Unimplemented desc = unknown service proto.Provider


The trace output of terraform apply



2018/11/29 07:48:59 [INFO] Terraform version: 0.12.0 alpha2 
2018/11/29 07:48:59 [INFO] Go runtime version: go1.11.1
2018/11/29 07:48:59 [INFO] CLI args: string{"/home/trent/go/bin/terraform", "apply"}
2018/11/29 07:48:59 [DEBUG] Attempting to open CLI config file: /home/trent/.terraformrc
2018/11/29 07:48:59 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/11/29 07:48:59 [INFO] CLI command args: string{"apply"}
2018/11/29 07:48:59 [INFO] command: no config, returning nil
2018/11/29 07:48:59 [DEBUG] command: no data state file found for backend config
2018/11/29 07:48:59 [DEBUG] New state was assigned lineage "fef78a22-83aa-6f9e-1e26-45747e4ca26b"
2018/11/29 07:48:59 [INFO] command: backend initialized: <nil>
2018/11/29 07:48:59 [DEBUG] checking for provider in "."
2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/go/bin"
2018/11/29 07:48:59 [WARN] found legacy provider "terraform-provider-template"
2018/11/29 07:48:59 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/.terraform.d/plugins"
2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/.terraform.d/plugins/linux_amd64"
2018/11/29 07:48:59 [WARN] found legacy provider "terraform-provider-test2"
2018/11/29 07:48:59 [DEBUG] found valid plugin: "template", "0.0.0", "/home/trent/go/bin/terraform-provider-template"
2018/11/29 07:48:59 [DEBUG] found valid plugin: "test2", "0.0.0", "/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2"
2018/11/29 07:48:59 [DEBUG] checking for provisioner in "."
2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/go/bin"
2018/11/29 07:48:59 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/.terraform.d/plugins"
2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/.terraform.d/plugins/linux_amd64"
2018/11/29 07:48:59 [INFO] command: backend <nil> is not enhanced, wrapping in local
2018/11/29 07:48:59 [INFO] backend/local: starting Apply operation
2018/11/29 07:48:59 [TRACE] backend/local: requesting state manager for workspace "default"
2018/11/29 07:48:59 [TRACE] backend/local: requesting state lock for workspace "default"
2018/11/29 07:48:59 [TRACE] backend/local: reading remote state for workspace "default"
2018/11/29 07:48:59 [TRACE] backend/local: retrieving the local state snapshot for workspace "default"
2018/11/29 07:48:59 [TRACE] backend/local: building context for current working directory
2018/11/29 07:48:59 [TRACE] terraform.NewContext: starting
2018/11/29 07:48:59 [TRACE] terraform.NewContext: resolving provider version selections
2018/11/29 07:48:59 [TRACE] terraform.NewContext: loading provider schemas
2018/11/29 07:48:59 [TRACE] LoadSchemas: retrieving schema for provider type "template"
2018-11-29T07:48:59.264+1000 [DEBUG] plugin: starting plugin: path=/home/trent/go/bin/terraform-provider-template args=[/home/trent/go/bin/terraform-provider-template]
2018-11-29T07:48:59.264+1000 [DEBUG] plugin: plugin started: path=/home/trent/go/bin/terraform-provider-template pid=20045
2018-11-29T07:48:59.264+1000 [DEBUG] plugin: waiting for RPC address: path=/home/trent/go/bin/terraform-provider-template
2018-11-29T07:48:59.268+1000 [DEBUG] plugin: using plugin: version=5
2018-11-29T07:48:59.268+1000 [DEBUG] plugin.terraform-provider-template: plugin address: address=/tmp/plugin059266420 network=unix timestamp=2018-11-29T07:48:59.268+1000
2018/11/29 07:48:59 [TRACE] GRPCProvider: GetSchema
2018/11/29 07:48:59 [TRACE] GRPCProvider: PlanResourceChange
2018-11-29T07:48:59.520+1000 [WARN] plugin: plugin failed to exit gracefully
2018-11-29T07:48:59.521+1000 [DEBUG] plugin: plugin process exited: path=/home/trent/go/bin/terraform-provider-template pid=20045 error="signal: killed"
2018/11/29 07:48:59 [TRACE] LoadSchemas: retrieving schema for provider type "test2"
2018-11-29T07:48:59.522+1000 [DEBUG] plugin: starting plugin: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 args=[/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2]
2018-11-29T07:48:59.522+1000 [DEBUG] plugin: plugin started: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 pid=20056
2018-11-29T07:48:59.522+1000 [DEBUG] plugin: waiting for RPC address: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2
2018-11-29T07:48:59.541+1000 [DEBUG] plugin: using plugin: version=5
2018-11-29T07:48:59.541+1000 [DEBUG] plugin.terraform-provider-test2: plugin address: address=/tmp/plugin108198902 network=unix timestamp=2018-11-29T07:48:59.541+1000
2018/11/29 07:48:59 [TRACE] GRPCProvider: GetSchema
2018/11/29 07:48:59 [TRACE] GRPCProvider: PlanResourceChange
2018-11-29T07:48:59.794+1000 [WARN] plugin: plugin failed to exit gracefully
2018-11-29T07:48:59.795+1000 [DEBUG] plugin: plugin process exited: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 pid=20056 error="signal: killed"

Error: Failed to retrieve schema from provider "test2": rpc error: code = Unimplemented desc = unknown service proto.Provider


To me, it seems like I have to initialize something else for my provider for it to run properly. Any ideas?










share|improve this question



























    0















    I've been working on my own provider for terraform using our own infrastructure that we have implemented. It works fine using the binary from github but when I tried to merge template provider into the .tf file it complained that client version was ahead of the api server.



    I resolved this first problem downloading the Alpha2 build and using both the binary and template provider provided in the zip file.



    Now I am running into this error and I have no clue where to look.



    rpc error: code = Unimplemented desc = unknown service proto.Provider


    The trace output of terraform apply



    2018/11/29 07:48:59 [INFO] Terraform version: 0.12.0 alpha2 
    2018/11/29 07:48:59 [INFO] Go runtime version: go1.11.1
    2018/11/29 07:48:59 [INFO] CLI args: string{"/home/trent/go/bin/terraform", "apply"}
    2018/11/29 07:48:59 [DEBUG] Attempting to open CLI config file: /home/trent/.terraformrc
    2018/11/29 07:48:59 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
    2018/11/29 07:48:59 [INFO] CLI command args: string{"apply"}
    2018/11/29 07:48:59 [INFO] command: no config, returning nil
    2018/11/29 07:48:59 [DEBUG] command: no data state file found for backend config
    2018/11/29 07:48:59 [DEBUG] New state was assigned lineage "fef78a22-83aa-6f9e-1e26-45747e4ca26b"
    2018/11/29 07:48:59 [INFO] command: backend initialized: <nil>
    2018/11/29 07:48:59 [DEBUG] checking for provider in "."
    2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/go/bin"
    2018/11/29 07:48:59 [WARN] found legacy provider "terraform-provider-template"
    2018/11/29 07:48:59 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
    2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/.terraform.d/plugins"
    2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/.terraform.d/plugins/linux_amd64"
    2018/11/29 07:48:59 [WARN] found legacy provider "terraform-provider-test2"
    2018/11/29 07:48:59 [DEBUG] found valid plugin: "template", "0.0.0", "/home/trent/go/bin/terraform-provider-template"
    2018/11/29 07:48:59 [DEBUG] found valid plugin: "test2", "0.0.0", "/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2"
    2018/11/29 07:48:59 [DEBUG] checking for provisioner in "."
    2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/go/bin"
    2018/11/29 07:48:59 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
    2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/.terraform.d/plugins"
    2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/.terraform.d/plugins/linux_amd64"
    2018/11/29 07:48:59 [INFO] command: backend <nil> is not enhanced, wrapping in local
    2018/11/29 07:48:59 [INFO] backend/local: starting Apply operation
    2018/11/29 07:48:59 [TRACE] backend/local: requesting state manager for workspace "default"
    2018/11/29 07:48:59 [TRACE] backend/local: requesting state lock for workspace "default"
    2018/11/29 07:48:59 [TRACE] backend/local: reading remote state for workspace "default"
    2018/11/29 07:48:59 [TRACE] backend/local: retrieving the local state snapshot for workspace "default"
    2018/11/29 07:48:59 [TRACE] backend/local: building context for current working directory
    2018/11/29 07:48:59 [TRACE] terraform.NewContext: starting
    2018/11/29 07:48:59 [TRACE] terraform.NewContext: resolving provider version selections
    2018/11/29 07:48:59 [TRACE] terraform.NewContext: loading provider schemas
    2018/11/29 07:48:59 [TRACE] LoadSchemas: retrieving schema for provider type "template"
    2018-11-29T07:48:59.264+1000 [DEBUG] plugin: starting plugin: path=/home/trent/go/bin/terraform-provider-template args=[/home/trent/go/bin/terraform-provider-template]
    2018-11-29T07:48:59.264+1000 [DEBUG] plugin: plugin started: path=/home/trent/go/bin/terraform-provider-template pid=20045
    2018-11-29T07:48:59.264+1000 [DEBUG] plugin: waiting for RPC address: path=/home/trent/go/bin/terraform-provider-template
    2018-11-29T07:48:59.268+1000 [DEBUG] plugin: using plugin: version=5
    2018-11-29T07:48:59.268+1000 [DEBUG] plugin.terraform-provider-template: plugin address: address=/tmp/plugin059266420 network=unix timestamp=2018-11-29T07:48:59.268+1000
    2018/11/29 07:48:59 [TRACE] GRPCProvider: GetSchema
    2018/11/29 07:48:59 [TRACE] GRPCProvider: PlanResourceChange
    2018-11-29T07:48:59.520+1000 [WARN] plugin: plugin failed to exit gracefully
    2018-11-29T07:48:59.521+1000 [DEBUG] plugin: plugin process exited: path=/home/trent/go/bin/terraform-provider-template pid=20045 error="signal: killed"
    2018/11/29 07:48:59 [TRACE] LoadSchemas: retrieving schema for provider type "test2"
    2018-11-29T07:48:59.522+1000 [DEBUG] plugin: starting plugin: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 args=[/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2]
    2018-11-29T07:48:59.522+1000 [DEBUG] plugin: plugin started: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 pid=20056
    2018-11-29T07:48:59.522+1000 [DEBUG] plugin: waiting for RPC address: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2
    2018-11-29T07:48:59.541+1000 [DEBUG] plugin: using plugin: version=5
    2018-11-29T07:48:59.541+1000 [DEBUG] plugin.terraform-provider-test2: plugin address: address=/tmp/plugin108198902 network=unix timestamp=2018-11-29T07:48:59.541+1000
    2018/11/29 07:48:59 [TRACE] GRPCProvider: GetSchema
    2018/11/29 07:48:59 [TRACE] GRPCProvider: PlanResourceChange
    2018-11-29T07:48:59.794+1000 [WARN] plugin: plugin failed to exit gracefully
    2018-11-29T07:48:59.795+1000 [DEBUG] plugin: plugin process exited: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 pid=20056 error="signal: killed"

    Error: Failed to retrieve schema from provider "test2": rpc error: code = Unimplemented desc = unknown service proto.Provider


    To me, it seems like I have to initialize something else for my provider for it to run properly. Any ideas?










    share|improve this question

























      0












      0








      0








      I've been working on my own provider for terraform using our own infrastructure that we have implemented. It works fine using the binary from github but when I tried to merge template provider into the .tf file it complained that client version was ahead of the api server.



      I resolved this first problem downloading the Alpha2 build and using both the binary and template provider provided in the zip file.



      Now I am running into this error and I have no clue where to look.



      rpc error: code = Unimplemented desc = unknown service proto.Provider


      The trace output of terraform apply



      2018/11/29 07:48:59 [INFO] Terraform version: 0.12.0 alpha2 
      2018/11/29 07:48:59 [INFO] Go runtime version: go1.11.1
      2018/11/29 07:48:59 [INFO] CLI args: string{"/home/trent/go/bin/terraform", "apply"}
      2018/11/29 07:48:59 [DEBUG] Attempting to open CLI config file: /home/trent/.terraformrc
      2018/11/29 07:48:59 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
      2018/11/29 07:48:59 [INFO] CLI command args: string{"apply"}
      2018/11/29 07:48:59 [INFO] command: no config, returning nil
      2018/11/29 07:48:59 [DEBUG] command: no data state file found for backend config
      2018/11/29 07:48:59 [DEBUG] New state was assigned lineage "fef78a22-83aa-6f9e-1e26-45747e4ca26b"
      2018/11/29 07:48:59 [INFO] command: backend initialized: <nil>
      2018/11/29 07:48:59 [DEBUG] checking for provider in "."
      2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/go/bin"
      2018/11/29 07:48:59 [WARN] found legacy provider "terraform-provider-template"
      2018/11/29 07:48:59 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
      2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/.terraform.d/plugins"
      2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/.terraform.d/plugins/linux_amd64"
      2018/11/29 07:48:59 [WARN] found legacy provider "terraform-provider-test2"
      2018/11/29 07:48:59 [DEBUG] found valid plugin: "template", "0.0.0", "/home/trent/go/bin/terraform-provider-template"
      2018/11/29 07:48:59 [DEBUG] found valid plugin: "test2", "0.0.0", "/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2"
      2018/11/29 07:48:59 [DEBUG] checking for provisioner in "."
      2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/go/bin"
      2018/11/29 07:48:59 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
      2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/.terraform.d/plugins"
      2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/.terraform.d/plugins/linux_amd64"
      2018/11/29 07:48:59 [INFO] command: backend <nil> is not enhanced, wrapping in local
      2018/11/29 07:48:59 [INFO] backend/local: starting Apply operation
      2018/11/29 07:48:59 [TRACE] backend/local: requesting state manager for workspace "default"
      2018/11/29 07:48:59 [TRACE] backend/local: requesting state lock for workspace "default"
      2018/11/29 07:48:59 [TRACE] backend/local: reading remote state for workspace "default"
      2018/11/29 07:48:59 [TRACE] backend/local: retrieving the local state snapshot for workspace "default"
      2018/11/29 07:48:59 [TRACE] backend/local: building context for current working directory
      2018/11/29 07:48:59 [TRACE] terraform.NewContext: starting
      2018/11/29 07:48:59 [TRACE] terraform.NewContext: resolving provider version selections
      2018/11/29 07:48:59 [TRACE] terraform.NewContext: loading provider schemas
      2018/11/29 07:48:59 [TRACE] LoadSchemas: retrieving schema for provider type "template"
      2018-11-29T07:48:59.264+1000 [DEBUG] plugin: starting plugin: path=/home/trent/go/bin/terraform-provider-template args=[/home/trent/go/bin/terraform-provider-template]
      2018-11-29T07:48:59.264+1000 [DEBUG] plugin: plugin started: path=/home/trent/go/bin/terraform-provider-template pid=20045
      2018-11-29T07:48:59.264+1000 [DEBUG] plugin: waiting for RPC address: path=/home/trent/go/bin/terraform-provider-template
      2018-11-29T07:48:59.268+1000 [DEBUG] plugin: using plugin: version=5
      2018-11-29T07:48:59.268+1000 [DEBUG] plugin.terraform-provider-template: plugin address: address=/tmp/plugin059266420 network=unix timestamp=2018-11-29T07:48:59.268+1000
      2018/11/29 07:48:59 [TRACE] GRPCProvider: GetSchema
      2018/11/29 07:48:59 [TRACE] GRPCProvider: PlanResourceChange
      2018-11-29T07:48:59.520+1000 [WARN] plugin: plugin failed to exit gracefully
      2018-11-29T07:48:59.521+1000 [DEBUG] plugin: plugin process exited: path=/home/trent/go/bin/terraform-provider-template pid=20045 error="signal: killed"
      2018/11/29 07:48:59 [TRACE] LoadSchemas: retrieving schema for provider type "test2"
      2018-11-29T07:48:59.522+1000 [DEBUG] plugin: starting plugin: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 args=[/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2]
      2018-11-29T07:48:59.522+1000 [DEBUG] plugin: plugin started: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 pid=20056
      2018-11-29T07:48:59.522+1000 [DEBUG] plugin: waiting for RPC address: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2
      2018-11-29T07:48:59.541+1000 [DEBUG] plugin: using plugin: version=5
      2018-11-29T07:48:59.541+1000 [DEBUG] plugin.terraform-provider-test2: plugin address: address=/tmp/plugin108198902 network=unix timestamp=2018-11-29T07:48:59.541+1000
      2018/11/29 07:48:59 [TRACE] GRPCProvider: GetSchema
      2018/11/29 07:48:59 [TRACE] GRPCProvider: PlanResourceChange
      2018-11-29T07:48:59.794+1000 [WARN] plugin: plugin failed to exit gracefully
      2018-11-29T07:48:59.795+1000 [DEBUG] plugin: plugin process exited: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 pid=20056 error="signal: killed"

      Error: Failed to retrieve schema from provider "test2": rpc error: code = Unimplemented desc = unknown service proto.Provider


      To me, it seems like I have to initialize something else for my provider for it to run properly. Any ideas?










      share|improve this question














      I've been working on my own provider for terraform using our own infrastructure that we have implemented. It works fine using the binary from github but when I tried to merge template provider into the .tf file it complained that client version was ahead of the api server.



      I resolved this first problem downloading the Alpha2 build and using both the binary and template provider provided in the zip file.



      Now I am running into this error and I have no clue where to look.



      rpc error: code = Unimplemented desc = unknown service proto.Provider


      The trace output of terraform apply



      2018/11/29 07:48:59 [INFO] Terraform version: 0.12.0 alpha2 
      2018/11/29 07:48:59 [INFO] Go runtime version: go1.11.1
      2018/11/29 07:48:59 [INFO] CLI args: string{"/home/trent/go/bin/terraform", "apply"}
      2018/11/29 07:48:59 [DEBUG] Attempting to open CLI config file: /home/trent/.terraformrc
      2018/11/29 07:48:59 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
      2018/11/29 07:48:59 [INFO] CLI command args: string{"apply"}
      2018/11/29 07:48:59 [INFO] command: no config, returning nil
      2018/11/29 07:48:59 [DEBUG] command: no data state file found for backend config
      2018/11/29 07:48:59 [DEBUG] New state was assigned lineage "fef78a22-83aa-6f9e-1e26-45747e4ca26b"
      2018/11/29 07:48:59 [INFO] command: backend initialized: <nil>
      2018/11/29 07:48:59 [DEBUG] checking for provider in "."
      2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/go/bin"
      2018/11/29 07:48:59 [WARN] found legacy provider "terraform-provider-template"
      2018/11/29 07:48:59 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
      2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/.terraform.d/plugins"
      2018/11/29 07:48:59 [DEBUG] checking for provider in "/home/trent/.terraform.d/plugins/linux_amd64"
      2018/11/29 07:48:59 [WARN] found legacy provider "terraform-provider-test2"
      2018/11/29 07:48:59 [DEBUG] found valid plugin: "template", "0.0.0", "/home/trent/go/bin/terraform-provider-template"
      2018/11/29 07:48:59 [DEBUG] found valid plugin: "test2", "0.0.0", "/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2"
      2018/11/29 07:48:59 [DEBUG] checking for provisioner in "."
      2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/go/bin"
      2018/11/29 07:48:59 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
      2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/.terraform.d/plugins"
      2018/11/29 07:48:59 [DEBUG] checking for provisioner in "/home/trent/.terraform.d/plugins/linux_amd64"
      2018/11/29 07:48:59 [INFO] command: backend <nil> is not enhanced, wrapping in local
      2018/11/29 07:48:59 [INFO] backend/local: starting Apply operation
      2018/11/29 07:48:59 [TRACE] backend/local: requesting state manager for workspace "default"
      2018/11/29 07:48:59 [TRACE] backend/local: requesting state lock for workspace "default"
      2018/11/29 07:48:59 [TRACE] backend/local: reading remote state for workspace "default"
      2018/11/29 07:48:59 [TRACE] backend/local: retrieving the local state snapshot for workspace "default"
      2018/11/29 07:48:59 [TRACE] backend/local: building context for current working directory
      2018/11/29 07:48:59 [TRACE] terraform.NewContext: starting
      2018/11/29 07:48:59 [TRACE] terraform.NewContext: resolving provider version selections
      2018/11/29 07:48:59 [TRACE] terraform.NewContext: loading provider schemas
      2018/11/29 07:48:59 [TRACE] LoadSchemas: retrieving schema for provider type "template"
      2018-11-29T07:48:59.264+1000 [DEBUG] plugin: starting plugin: path=/home/trent/go/bin/terraform-provider-template args=[/home/trent/go/bin/terraform-provider-template]
      2018-11-29T07:48:59.264+1000 [DEBUG] plugin: plugin started: path=/home/trent/go/bin/terraform-provider-template pid=20045
      2018-11-29T07:48:59.264+1000 [DEBUG] plugin: waiting for RPC address: path=/home/trent/go/bin/terraform-provider-template
      2018-11-29T07:48:59.268+1000 [DEBUG] plugin: using plugin: version=5
      2018-11-29T07:48:59.268+1000 [DEBUG] plugin.terraform-provider-template: plugin address: address=/tmp/plugin059266420 network=unix timestamp=2018-11-29T07:48:59.268+1000
      2018/11/29 07:48:59 [TRACE] GRPCProvider: GetSchema
      2018/11/29 07:48:59 [TRACE] GRPCProvider: PlanResourceChange
      2018-11-29T07:48:59.520+1000 [WARN] plugin: plugin failed to exit gracefully
      2018-11-29T07:48:59.521+1000 [DEBUG] plugin: plugin process exited: path=/home/trent/go/bin/terraform-provider-template pid=20045 error="signal: killed"
      2018/11/29 07:48:59 [TRACE] LoadSchemas: retrieving schema for provider type "test2"
      2018-11-29T07:48:59.522+1000 [DEBUG] plugin: starting plugin: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 args=[/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2]
      2018-11-29T07:48:59.522+1000 [DEBUG] plugin: plugin started: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 pid=20056
      2018-11-29T07:48:59.522+1000 [DEBUG] plugin: waiting for RPC address: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2
      2018-11-29T07:48:59.541+1000 [DEBUG] plugin: using plugin: version=5
      2018-11-29T07:48:59.541+1000 [DEBUG] plugin.terraform-provider-test2: plugin address: address=/tmp/plugin108198902 network=unix timestamp=2018-11-29T07:48:59.541+1000
      2018/11/29 07:48:59 [TRACE] GRPCProvider: GetSchema
      2018/11/29 07:48:59 [TRACE] GRPCProvider: PlanResourceChange
      2018-11-29T07:48:59.794+1000 [WARN] plugin: plugin failed to exit gracefully
      2018-11-29T07:48:59.795+1000 [DEBUG] plugin: plugin process exited: path=/home/trent/.terraform.d/plugins/linux_amd64/terraform-provider-test2 pid=20056 error="signal: killed"

      Error: Failed to retrieve schema from provider "test2": rpc error: code = Unimplemented desc = unknown service proto.Provider


      To me, it seems like I have to initialize something else for my provider for it to run properly. Any ideas?







      terraform






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 28 '18 at 22:24









      Trent HilliamTrent Hilliam

      236




      236
























          1 Answer
          1






          active

          oldest

          votes


















          0














          I managed to resolve it by checking out the alpha 2 branch on github. A more indepth response is provided here.



          https://github.com/hashicorp/terraform/issues/19501






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53529009%2fterraform-rpc-error-code-unimplemented-desc-unknown-service-proto-provider%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I managed to resolve it by checking out the alpha 2 branch on github. A more indepth response is provided here.



            https://github.com/hashicorp/terraform/issues/19501






            share|improve this answer




























              0














              I managed to resolve it by checking out the alpha 2 branch on github. A more indepth response is provided here.



              https://github.com/hashicorp/terraform/issues/19501






              share|improve this answer


























                0












                0








                0







                I managed to resolve it by checking out the alpha 2 branch on github. A more indepth response is provided here.



                https://github.com/hashicorp/terraform/issues/19501






                share|improve this answer













                I managed to resolve it by checking out the alpha 2 branch on github. A more indepth response is provided here.



                https://github.com/hashicorp/terraform/issues/19501







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 28 '18 at 23:27









                Trent HilliamTrent Hilliam

                236




                236
































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53529009%2fterraform-rpc-error-code-unimplemented-desc-unknown-service-proto-provider%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Lallio

                    Futebolista

                    Jornalista