openstack_db_instance_v1

Manages a V1 DB instance resource within OpenStack.

Example Usage

Instance

resource "openstack_db_instance_v1" "test" {
  region    = "region-test"
  name      = "test"
  flavor_id = "31792d21-c355-4587-9290-56c1ed0ca376"
  size      = 8

  network {
    uuid = "c0612505-caf2-4fb0-b7cb-56a0240a2b12"
  }

  datastore {
    version = "mysql-5.7"
    type    = "mysql"
  }
}

Argument Reference

The following arguments are supported:

The datastore block supports:

The network block supports:

The user block supports:

The database block supports:

Attributes Reference

The following attributes are exported: