An open API service indexing awesome lists of open source software.

https://github.com/speakeasy-api/terraform-provider-speakeasy


https://github.com/speakeasy-api/terraform-provider-speakeasy

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Speakeasy Terraform Provider

## Notice of Alpha Status

This is a Alpha release of the speakeasy Terraform Provider.

It is under active development and you may experience breaking changes. Please pin to a version if trialing in production.

## SDK Installation

To install this provider, copy and paste this code into your Terraform configuration. Then, run `terraform init`.

```hcl
terraform {
required_providers {
speakeasy = {
source = "speakeasy-api/speakeasy"
version = "0.0.4"
}
}
}

provider "speakeasy" {
# Configuration options
}
```

## Testing the provider locally

Should you want to validate a change locally, the `--debug` flag allows you to execute the provider against a terraform instance locally.

This also allows for debuggers (e.g. delve) to be attached to the provider.

```sh
go run main.go --debug
# Copy the TF_REATTACH_PROVIDERS env var
# In a new terminal
cd examples/your-example
TF_REATTACH_PROVIDERS=... terraform init
TF_REATTACH_PROVIDERS=... terraform apply
```

### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)