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: 10 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T18:29:40.000Z (about 1 month ago)
- Last Synced: 2024-10-20T21:12:24.743Z (18 days 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`.