2026-01-16 15:44:26 -08:00
|
|
|
// Copyright IBM Corp. 2020, 2025
|
2023-01-03 17:19:20 -05:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
2020-05-14 17:06:23 -07:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
2020-09-15 19:56:43 -04:00
|
|
|
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
|
2020-08-12 09:35:02 -04:00
|
|
|
"github.com/hashicorp/terraform-provider-boundary/internal/provider"
|
2020-05-14 17:06:23 -07:00
|
|
|
)
|
|
|
|
|
|
2021-01-14 14:07:36 -08:00
|
|
|
// Run "go generate" to format example terraform files and generate the docs for the registry/website
|
|
|
|
|
|
|
|
|
|
// If you do not have terraform installed, you can remove the formatting command, but its suggested to
|
|
|
|
|
// ensure the documentation is formatted properly.
|
|
|
|
|
//go:generate terraform fmt -recursive ./examples/
|
|
|
|
|
|
|
|
|
|
// Run the docs generation tool, check its repository for more information on how it works and how docs
|
|
|
|
|
// can be customized.
|
|
|
|
|
//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
|
|
|
|
|
|
2020-05-14 17:06:23 -07:00
|
|
|
func main() {
|
|
|
|
|
plugin.Serve(&plugin.ServeOpts{ProviderFunc: provider.New})
|
|
|
|
|
}
|