Skip to content

Commit ac6f2cd

Browse files
committed
Convert main to terraform-plugin-sdk use
1 parent 8ed9ac5 commit ac6f2cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ package main
22

33
import (
44
"github.com/Mastercard/terraform-provider-restapi/restapi"
5+
6+
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
57
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
6-
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
78
)
89

910
func main() {
1011
plugin.Serve(&plugin.ServeOpts{
11-
ProviderFunc: func() terraform.ResourceProvider {
12+
ProviderFunc: func() *schema.Provider {
1213
return restapi.Provider()
1314
},
1415
})

0 commit comments

Comments
 (0)