Vigiar
1
0
Derivar
Você já tinha feito uma derivação do repositório terraform-provider-mozoutmz, anteriormente
0
terraform-provider-mozoutmz/main.go
2026-11-28 15:28:10 +02:00

29 linhas
724 B
Go

// Command terraform-provider-mozoutmz is the Terraform provider of the MozOut Mozambique API.
package main
import (
"context"
"flag"
"log"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/mozout-mz/terraform-provider-mozoutmz/internal/provider"
)
// version is set by the release build (goreleaser).
var version = "dev"
func main() {
var debug bool
flag.BoolVar(&debug, "debug", false, "run the provider with support for debuggers like delve")
flag.Parse()
err := providerserver.Serve(context.Background(), provider.New(version), providerserver.ServeOpts{
Address: "registry.terraform.io/mozout-mz/mozoutmz",
Debug: debug,
})
if err != nil {
log.Fatal(err.Error())
}
}