Skip to content

Instantly share code, notes, and snippets.

View vmorris's full-sized avatar

Vance Morris vmorris

View GitHub Profile
provider "openstack" {
user_name = "${var.user_name}"
tenant_name = "${var.tenant_name}"
password = "${var.password}"
auth_url = "${var.auth_url}"
}
resource "openstack_compute_instance_v2" "vm1" {
name = "${var.name}"
region = "${var.region}"
Errors:
* openstack_compute_instance_v2.vm1: 1 error(s) decoding:
* '' has invalid keys: custom_install
@vmorris
vmorris / terraform_run.log
Created May 4, 2016 14:59
terraform plan, apply, destroy - instance volume not removed
(openstack) volume list
+--------------------------------------+--------------+-----------+------+-----------------------------------------------+
| ID | Display Name | Status | Size | Attached to |
+--------------------------------------+--------------+-----------+------+-----------------------------------------------+
| 718e3e3e-f577-4f69-8530-f423b65e5bb3 | None | in-use | 10 | Attached to vem-terraform-ubuntu on /dev/vda |
| 4fcc3064-2129-4042-9880-dde32ca5ef3a | None | in-use | 10 | Attached to vem-terraform-sles on /dev/vda |
+--------------------------------------+--------------+-----------+------+-----------------------------------------------+
vance@zs95k5:~/terraform/ubu-sle$ terraform plan
Refreshing Terraform state prior to plan...