terraform-provider-cloudca

command module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2017 License: MIT Imports: 7 Imported by: 0

README

terraform-provider-cloudca

Terraform provider for cloud.ca

Tested with Terraform version : 0.8.4

Installation

  1. Download the cloud.ca Terraform provider binary for your OS from the releases page.
  2. Copy the provider to the directory where Terraform is located.

Alternate installation: Terraform documentation

How to use

In your configuration file, define a variable that will hold your API key. This variable will have the value of the environment variable "TF_VAR_my_api_key". Create a new "cloudca" provider with the api_key. Optionally, you can override the api_url field of the provider.

variable "my_api_key" {}

provider "cloudca" {
	api_key = "${var.my_api_key}"
}

Build from source

Download the provider source:

$ go get github.com/cloud-ca/terraform-provider-cloudca

Compile the provider:

$ cd $GOPATH/src/github.com/cloud-ca/terraform-provider-cloudca
$ make init
$ make build

Copy the provider to the directory where terraform is located:

$ sudo cp terraform-provider-cloudca $(dirname `which terraform`)

Build for all OS/architectures

To build zip files containing the executables for each OS/architecture combination, use

$ make build-all

License

This project is licensed under the terms of the MIT license.

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