mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
feat: sdk migration in progress
This commit is contained in:
25
terraform-provider-autoglue/main.go
Normal file
25
terraform-provider-autoglue/main.go
Normal file
@@ -0,0 +1,25 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"flag"
|
||||
|
||||
"github.com/glueops/terraform-provider-gsot/internal/provider"
|
||||
"github.com/hashicorp/terraform-plugin-framework/providerserver"
|
||||
)
|
||||
|
||||
var (
|
||||
version = "0.10.0"
|
||||
)
|
||||
|
||||
func main() {
|
||||
var debug bool
|
||||
|
||||
flag.BoolVar(&debug, "debug", false, "set to true to run the provider with support for debuggers like delve")
|
||||
flag.Parse()
|
||||
|
||||
providerserver.Serve(context.Background(), provider.New, providerserver.ServeOpts{
|
||||
Address: "terraform.gpkg.io/glueops/autoglue", //"registry.terraform.io/glueops/autoglue",
|
||||
Debug: debug,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user