Skip to content

Terraform provider for IBM Cloud (formerly Bluemix) based Compose databases

License

Notifications You must be signed in to change notification settings

ustream/terraform-provider-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-provider-compose

Terraform provider for IBM Cloud (formerly Bluemix) based Compose databases

Based on:

Usage:

provider "compose" {
  bluemix_api_key = "${var.ibm_bmx_api_key}" # if not set, the BM_API_KEY environment variable is read
  region          = "${var.ibm_bmx_region}"  # if not set, the BM_REGION environment variable is read (default: us-south)
}

resource "compose_whitelist" "test_ip" {
  ip            = "1.2.3.4/32"
  description   = "whitelist test"
  deployment_id = "bmix-dal-yp-d02b2b39-f7a2-4c99-97f5-3f34d56db2b7"
}

Import:

terraform import compose_whitelist.test_ip [email protected]/32

Installation:

go get github.com/ustream/terraform-provider-compose

# In ~/.terraformrc

providers {
    compose = "${GOPATH}/bin/terraform-provider-compose"
}