Read now works, and terraform directory contains example code
This commit is contained in:
1 parent
ef498e4a72
commit
a6f1019175
43 files changed
+4341
-38
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"log"
|
||||
|
||||
"github.com/hashicorp/terraform-plugin-framework/providerserver"
|
||||
|
||||
"terraform-provider-hpe1810/internal/provider"
|
||||
)
|
||||
|
||||
// version is overridden at build time via -ldflags, e.g.:
|
||||
//
|
||||
// go build -ldflags "-X main.version=0.1.0"
|
||||
var version = "dev"
|
||||
|
||||
func main() {
|
||||
err := providerserver.Serve(context.Background(), provider.New(version), providerserver.ServeOpts{
|
||||
// Only meaningful once/if this is ever published; for local
|
||||
// development with dev_overrides (~/.tofurc) this address just
|
||||
// needs to match what's referenced there.
|
||||
Address: "local/joachimfriberg/hpe1810",
|
||||
})
|
||||
if err != nil {
|
||||
log.Fatal(err.Error())
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user