Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrasell/terraform-provider-sherpa
A Terraform provider for Sherpa
https://github.com/jrasell/terraform-provider-sherpa
go golang hashicorp terraform terraform-provider
Last synced: 10 days ago
JSON representation
A Terraform provider for Sherpa
- Host: GitHub
- URL: https://github.com/jrasell/terraform-provider-sherpa
- Owner: jrasell
- Created: 2019-10-06T13:21:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-11T14:28:21.000Z (about 5 years ago)
- Last Synced: 2023-03-21T20:17:12.115Z (over 1 year ago)
- Topics: go, golang, hashicorp, terraform, terraform-provider
- Language: Go
- Homepage:
- Size: 4.67 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Support: .github/SUPPORT.md
Awesome Lists containing this project
README
# Sherpa Terraform Provider
The Terraform Sherpa provider is used to interact with Sherpa scaling policy documents.
## Download & Install
* The provider binary can be downloaded from the [GitHub releases page](https://github.com/jrasell/terraform-provider-sherpa/releases) using `curl -L https://github.com/jrasell/terraform-provider-sherpa/releases/download/v0.0.1/terraform-provider-sherpa_0.0.1_linux_amd64 -o terraform-provider-sherpa`
* Follow the HashiCorp instructions on [installing plugins](https://www.terraform.io/docs/plugins/basics.html#installing-plugins)## Provider Usage
```hcl
provider "sherpa" {
addr = "http://sherpa.mycompany.io:8000"
}
```#### Provider Argument Reference
* `addr` (Optional) The HTTP(S) address of the sherpa server. Defaults to `http://localhost:8000`.
* `ca_file` (Optional) The PEM encoded CA cert file to use to verify the Sherpa server SSL certificate.
* `cert_file` (Optional) The PEM encoded client certificate for TLS authentication to the Sherpa server.
* `key_file` (Optional) The unencrypted PEM encoded private key matching the client certificate.## Policy Resource Usage
```hcl
resource "sherpa_policy" "job_example" {
job_id = "example"
policy_document = <