terraform-provider-compose

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

README

terraform-provider-compose

CircleCI

A Terraform plugin for managing IBM Compose.

Dependencies

This provider uses gocomposeapi which is a wrapper around the Compose REST API.

Building

A Makefile is provided for building the plugin. make build will generate the provider binary. The plugin can be installed for use by Terraform by following the instructions here

Provider Configuration

provider "compose" {
  api_token = <COMPOSE_API_TOKEN>
}
Property Description
api_token The API token generated from the Compose UI console

Resources

deployment

A resource for managing Compose deployments.

Example
resource "compose_deployment" "new-deployment" {
  name = "deployment_v1"
  account_id = <COMPOSE_ACCOUNT_ID>
  datacenter = "aws:us-west-2"
  type = "rabbitmq"
  version = "3.7.9"
  units = 2
}
Properties
Property Description
name The name of the deployment
account_id The ID of the account in which the deployment will be created
datacenter Datacenter to deploy to
type Type of deployment
version Version of software
units Number of resource units to allocate to the deployment
License

Apache 2.0

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