» openstack_db_configuration_v1

Manages a V1 DB configuration resource within OpenStack.

» Example Usage

» Configuration

resource "openstack_db_configuration_v1" "test" {
  name        = "test"
  description = "description"

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

  configuration {
    name  = "max_connections"
    value = 200
  }
}

» Argument Reference

The following arguments are supported:

  • region - (Required) The region in which to create the db instance. Changing this creates a new instance.

  • name - (Required) A unique name for the resource.

  • description - (Optional) Description of the resource.

  • datastore - (Required) An array of database engine type and version. The datastore object structure is documented below. Changing this creates resource.

  • configuration - (Optional) An array of configuration parameter name and value. Can be specified multiple times. The configuration object structure is documented below.

The datastore block supports:

  • type - (Required) Database engine type to be used with this configuration. Changing this creates a new resource.
  • version - (Required) Version of database engine type to be used with this configuration. Changing this creates a new resource.

The configuration block supports:

  • name - (Optional) Configuration parameter name. Changing this creates a new resource.
  • value - (Optional) Configuration parameter value. Changing this creates a new resource.

» Attributes Reference

The following attributes are exported: