providers/aws: add the main binary
This commit is contained in:
parent
612f335a74
commit
d6d5a97ec9
|
@ -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))
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
package main
|
|
@ -0,0 +1,8 @@
|
|||
package aws
|
||||
|
||||
type ResourceProvider struct {
|
||||
}
|
||||
|
||||
func (p *ResourceProvider) Configure(map[string]interface{}) ([]string, error) {
|
||||
return nil, nil
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package aws
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/terraform/terraform"
|
||||
)
|
||||
|
||||
func TestResourceProvider_impl(t *testing.T) {
|
||||
var _ terraform.ResourceProvider = new(ResourceProvider)
|
||||
}
|
Loading…
Reference in New Issue