terraform-provider-towerops/main.go

22 lines
440 B
Go

package main
import (
"context"
"log"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"git.mcintire.me/towerops/terraform-provider-towerops/internal/provider"
)
var version = "dev"
func main() {
opts := providerserver.ServeOpts{
Address: "registry.terraform.io/towerops/towerops",
}
err := providerserver.Serve(context.Background(), provider.New(version), opts)
if err != nil {
log.Fatal(err.Error())
}
}