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:
-
region
- See Argument Reference above. -
name
- See Argument Reference above. -
description
- See Argument Reference above. -
datastore/type
- See Argument Reference above. -
datastore/version
- See Argument Reference above. -
configuration/name
- See Argument Reference above. -
configuration/value
- See Argument Reference above.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/openstack/r/db_configuration_v1.html