Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidji99/terraform-provider-herokux
Terraform HerokuX provider
https://github.com/davidji99/terraform-provider-herokux
heroku herokux-provider terraform terraform-provider-herokux
Last synced: 2 months ago
JSON representation
Terraform HerokuX provider
- Host: GitHub
- URL: https://github.com/davidji99/terraform-provider-herokux
- Owner: davidji99
- License: mpl-2.0
- Created: 2020-08-29T01:30:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-05T06:05:40.000Z (5 months ago)
- Last Synced: 2024-10-12T04:45:40.543Z (3 months ago)
- Topics: heroku, herokux-provider, terraform, terraform-provider-herokux
- Language: Go
- Homepage: https://registry.terraform.io/providers/davidji99/herokux/latest
- Size: 12.6 MB
- Stars: 11
- Watchers: 1
- Forks: 10
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![tests](https://github.com/davidji99/terraform-provider-herokux/actions/workflows/tests.yml/badge.svg)](https://github.com/davidji99/terraform-provider-herokux/actions/workflows/tests.yml)
# Terraform Provider HerokuX
The HerokuX provider interacts with Heroku's undocumented APIs and Platform API variants to provide additional resources
not available in the official [Heroku Terraform provider](https://github.com/heroku/terraform-provider-heroku).## Requirements
- [Terraform](https://www.terraform.io/downloads.html) `v0.15+`
- [Go](https://golang.org/doc/install) `v1.20+` (to build the provider plugin)## Usage
```hcl
provider "herokux" {
version = "~> 1.0.0"
}
```This provider is not compatible with terraform `v0.11.x`.
## Contributing
When contributing new resources, please make sure the new resource adheres to one of the following criteria:
* Uses an undocumented API.
* Uses a Platform API variant.
* Significantly alters the design and logic of an existing `heroku` provider resource.Regardless of the aforementioned guideline, please feel free to submit contributions. The provider's maintainer(s)
will initiate a discussion regarding resource placement if deemed necessary.Please also view the `CONTRIBUTING.md` file for the general contribution policy.
## Development
If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.14+ is *required*).
### Build the Provider
To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.
```shell script
$ make build
...
$ $GOPATH/bin/terraform-provider-herokux
...
```### Using the Provider
To use the dev provider with local Terraform, copy the freshly built plugin into Terraform's local plugins directory:
```sh
cp $GOPATH/bin/terraform-provider-herokux-dev ~/.terraform.d/plugins/
```Set the HerokuX provider without a version constraint:
```hcl
provider "herokux" {}
```Then, initialize Terraform:
```shell script
terraform init
```### Testing
Please see the [TESTING](TESTING.md) guide for detailed instructions on running tests.
### Updating or adding dependencies
This project uses [Go Modules](https://github.com/golang/go/wiki/Modules) for dependency management.
This example will fetch a module at the release tag and record it in your project's `go.mod` and `go.sum` files.
If a module does not have release tags, then `module@SHA` can be used instead.