mirror of
https://github.com/coder/terraform-provider-envbuilder.git
synced 2025-11-21 02:20:45 +00:00
Envbuilder
This commit is contained in:
parent
76d8aa974e
commit
1a49822fc9
25 changed files with 350 additions and 691 deletions
32
README.md
32
README.md
|
|
@ -1,23 +1,11 @@
|
|||
# Terraform Provider Scaffolding (Terraform Plugin Framework)
|
||||
# terraform-provider-envbuilder
|
||||
|
||||
_This template repository is built on the [Terraform Plugin Framework](https://github.com/hashicorp/terraform-plugin-framework). The template repository built on the [Terraform Plugin SDK](https://github.com/hashicorp/terraform-plugin-sdk) can be found at [terraform-provider-scaffolding](https://github.com/hashicorp/terraform-provider-scaffolding). See [Which SDK Should I Use?](https://developer.hashicorp.com/terraform/plugin/framework-benefits) in the Terraform documentation for additional information._
|
||||
|
||||
This repository is a *template* for a [Terraform](https://www.terraform.io) provider. It is intended as a starting point for creating Terraform providers, containing:
|
||||
|
||||
- A resource and a data source (`internal/provider/`),
|
||||
- Examples (`examples/`) and generated documentation (`docs/`),
|
||||
- Miscellaneous meta files.
|
||||
|
||||
These files contain boilerplate code that you will need to edit to create your own Terraform provider. Tutorials for creating Terraform providers can be found on the [HashiCorp Developer](https://developer.hashicorp.com/terraform/tutorials/providers-plugin-framework) platform. _Terraform Plugin Framework specific guides are titled accordingly._
|
||||
|
||||
Please see the [GitHub template repository documentation](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template) for how to create a new repository from this template on GitHub.
|
||||
|
||||
Once you've written your provider, you'll want to [publish it on the Terraform Registry](https://developer.hashicorp.com/terraform/registry/providers/publishing) so that others can use it.
|
||||
The `terraform-provider-envbuilder` is a Terraform provider that acts as a helper for setting up [`envbuilder`](https://envbuilder.sh) environments.
|
||||
|
||||
## Requirements
|
||||
|
||||
- [Terraform](https://developer.hashicorp.com/terraform/downloads) >= 1.0
|
||||
- [Go](https://golang.org/doc/install) >= 1.21
|
||||
- [Go](https://golang.org/doc/install) >= 1.22
|
||||
|
||||
## Building The Provider
|
||||
|
||||
|
|
@ -29,20 +17,6 @@ Once you've written your provider, you'll want to [publish it on the Terraform R
|
|||
go install
|
||||
```
|
||||
|
||||
## Adding Dependencies
|
||||
|
||||
This provider uses [Go modules](https://github.com/golang/go/wiki/Modules).
|
||||
Please see the Go documentation for the most up to date information about using Go modules.
|
||||
|
||||
To add a new dependency `github.com/author/dependency` to your Terraform provider:
|
||||
|
||||
```shell
|
||||
go get github.com/author/dependency
|
||||
go mod tidy
|
||||
```
|
||||
|
||||
Then commit the changes to `go.mod` and `go.sum`.
|
||||
|
||||
## Using the provider
|
||||
|
||||
Fill this in for each provider
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue