providers/aws: add the main binary

This commit is contained in:
Mitchell Hashimoto 2014-05-29 17:28:38 -07:00
parent 612f335a74
commit d6d5a97ec9
4 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,10 @@
package main
import (
"github.com/hashicorp/terraform/plugin"
"github.com/hashicorp/terraform/builtin/providers/aws"
)
func main() {
plugin.Serve(new(aws.ResourceProvider))
}

View File

@ -0,0 +1 @@
package main

View File

@ -0,0 +1,8 @@
package aws
type ResourceProvider struct {
}
func (p *ResourceProvider) Configure(map[string]interface{}) ([]string, error) {
return nil, nil
}

View File

@ -0,0 +1,11 @@
package aws
import (
"testing"
"github.com/hashicorp/terraform/terraform"
)
func TestResourceProvider_impl(t *testing.T) {
var _ terraform.ResourceProvider = new(ResourceProvider)
}