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}"
}
Links
License
This project is licensed under the terms of the MIT license.