Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Update content/source/docs/extend/writing-custom-providers.html.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng committed May 8, 2020
1 parent 4791fca commit 6f6b9b5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions content/source/docs/extend/writing-custom-providers.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,10 @@ This establishes the main function to produce a valid, executable Go binary. The
contents of the main function consume Terraform's `plugin` library. This library
deals with all the communication between Terraform core and the plugin.

The plugin will need to be created as a go module, so you should run the
command to initialize the go module.
We recommend using Go modules for dependency management, to define this directory as the root of a module, use the `go mod init` command:

```shell
go mod init terraform-provider-example
go mod init example.com/terraform-provider-example
```

Next, build the plugin using the Go toolchain:
Expand Down

0 comments on commit 6f6b9b5

Please sign in to comment.