Skip to content

Commit

Permalink
Merge pull request #396 from hashicorp/f-consul-schema
Browse files Browse the repository at this point in the history
Port Consul provider to new helper.Schema, add Token support
  • Loading branch information
mitchellh committed Oct 14, 2014
2 parents e59e4a6 + 1cc95b7 commit 6fea336
Show file tree
Hide file tree
Showing 7 changed files with 221 additions and 229 deletions.
5 changes: 1 addition & 4 deletions builtin/bins/provider-consul/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ package main
import (
"github.com/hashicorp/terraform/builtin/providers/consul"
"github.com/hashicorp/terraform/plugin"
"github.com/hashicorp/terraform/terraform"
)

func main() {
plugin.Serve(&plugin.ServeOpts{
ProviderFunc: func() terraform.ResourceProvider {
return new(consul.ResourceProvider)
},
ProviderFunc: consul.Provider,
})
}
Loading

0 comments on commit 6fea336

Please sign in to comment.