Resource
dcloud_db_parameters
The PostgreSQL parameter overrides of a database: this resource owns all of them, so an override set elsewhere is reset on the next apply. A parameter left out runs at its default (sized from the machine). Destroying it resets every override. Parameters marked restart take effect at the next restart.
Example Usage
resource "dcloud_db_parameters" "main" {
db_instance_id = dcloud_db_instance.main.id
parameters = {
statement_timeout = "30s"
log_min_duration_statement = "500ms"
log_statement = "ddl"
}
}Schema
Required
db_instance_id(String) The id of the parent resource ({id}in the path). Changing it replaces the resource.parameters(Map of String) Parameter name → value, e.g.{ statement_timeout = "30s", log_statement = "ddl" }.
Read-Only
id(String) The resource's id.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
terraform import dcloud_db_parameters.main <db-instance-id>Generated from the provider's schema.
Related