forked from venkadeshwarank/terraform-provider-smtp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
27 lines (20 loc) · 834 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package main
import (
"context"
"terraform-provider-smtp/smtp"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
)
// Provider documentation generation.
//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate --provider-name smtp
func main() {
providerserver.Serve(context.Background(), smtp.New, providerserver.ServeOpts{
// NOTE: This is not a typical Terraform Registry provider address,
// such as registry.terraform.io/hashicorp/hashicups. This specific
// provider address is used in these tutorials in conjunction with a
// specific Terraform CLI configuration for manual development testing
// of this provider.
// for local development
// Address: "terraform.dev/venkadeshwarank/smtp",
Address: "registry.terraform.io/venkadeshwarank/smtp",
})
}