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:

The datastore block supports:

The configuration block supports:

Attributes Reference

The following attributes are exported:

Types of configuration parameter values

Openstack API requires to store some database configuration parameter's values as strings, even if they contain numbers. To force store their values as strings set string_type to true. Otherwise Terraform will try to store them as number what can cause error from Openstack API like below:

"The value provided for the configuration parameter log_min_duration_statement is not of type string."