/terraform_ibmcloud

Use Terraform IBM Cloud Provider to provision clusters such as ICP, DCOS; services such as Compose DBaaS, Container Service; workload such as YCSB, DBT2....

Primary LanguageJupyter Notebook

terraform_ibmcloud

Terraform IBM Provider

Notes on environment setup

Download Terraform binary and set onto PATH

Download Terraform IBM Provider release binary and enable it in ~/.terraformrc. Make sure the binary is executable.

providers {
	ibm = “/.../terraform-provider-ibm"
}

Generate a do-key keypair (with an empty passphrase):

ssh-keygen -t rsa -P '' -f ./do-key

Scenarios

Basic Scenario

Data Center Platform

Other Scenarios

Useful Terraform Command

terraform plan
terraform graph

terraform apply
terraform show

terraform plan --destroy
terraform destroy