terraform-provider-cloudca

command module
v0.5.0-rc1 Latest Latest
Warning

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

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

README

terraform-provider-cloudca

Terraform provider for cloud.ca

Tested with Terraform version : 0.7.12

Installation

Download the provider:

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

Compile the provider:

$ cd $GOPATH/src/github.com/cloud-ca/terraform-cloudca
$ go build -o terraform-provider-cloudca

Copy it to the directory where terraform is located:

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

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}"
}

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