terraform-provider-circleci

command module
v0.0.0-...-e10b5f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2019 License: MIT Imports: 2 Imported by: 0

README

CircleCI Terraform provider

Build Status Go Report Card

Requirements

  • Terraform 0.10.x
  • Go 1.11 (to build the provider plugin)

Using the provider

Download a release

Download the latest release for your OS from the release page and follow the instructions to install third party plugins.

Build from sources

To build the project you can use make all which will:

  • run the tests (make test)
  • build the binary (make build)
  • copy the binary to the Terraform plugin directory (make install_plugin_locally)

After placing it into your plugins directory, run terraform init to initialize it.

Example:

provider "circleci" {
  api_token    = "${file("circleci_token")}"
  vcs_type     = "github"
  organization = "my_org"
}

resource "circleci_environment_variable" "from_terraform" {
  project = "mySuperProject"
  name    = "from_terraform"
  value   = "the secret"
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL