Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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`.