Files
2026-10-27 17:02:15 -06:00

27 lines
590 B
Go

// Command terraform-provider-hammerhead is the Terraform provider for Hammerhead.
package main
import (
"context"
"flag"
"log"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"git.veillax.com/Veillax/hhctl/internal/provider"
)
var version = "dev"
func main() {
debug := flag.Bool("debug", false, "run with support for debuggers")
flag.Parse()
err := providerserver.Serve(context.Background(), provider.New(version), providerserver.ServeOpts{
Address: "registry.terraform.io/veillax/hammerhead",
Debug: *debug,
})
if err != nil {
log.Fatal(err)
}
}