Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bgpat/terraform-provider-travis
Terraform Provider for Travis CI
https://github.com/bgpat/terraform-provider-travis
terraform terraform-provider
Last synced: about 2 months ago
JSON representation
Terraform Provider for Travis CI
- Host: GitHub
- URL: https://github.com/bgpat/terraform-provider-travis
- Owner: bgpat
- License: mit
- Created: 2020-03-07T14:20:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T18:29:40.000Z (3 months ago)
- Last Synced: 2024-10-20T21:12:24.743Z (2 months ago)
- Topics: terraform, terraform-provider
- Language: Go
- Homepage: https://registry.terraform.io/providers/bgpat/travis/latest
- Size: 313 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Provider for Travis CI
[![release](https://github.com/bgpat/terraform-provider-travis/workflows/release/badge.svg)](https://registry.terraform.io/providers/bgpat/travis/latest)
## Example
```terraform
// require $TRAVIS_TOKEN
terraform {
required_providers {
travis = {
source = "bgpat/travis"
}
}
}// secret env var
resource "travis_env_var" "secret" {
repository_slug = "bgpat/test"
name = "SECRET_ENV"
value = "secret"
}// public env var
resource "travis_env_var" "public" {
repository_slug = "bgpat/test"
name = "PUBLIC_ENV"
public_value = "public"
}
```- `api_base_url` - API base URL for Travis CI. (default `https://api.travis-ci.com/`)
- `token` - API token [generated by the Travis CI client](https://developer.travis-ci.com/authentication).## Resources
- `travis_env_var` - https://docs.travis-ci.com/user/environment-variables/
Check details of schema with `terraform providers schema`.