alicloud_rds_parameter_group

Provides a RDS Parameter Group resource.

For information about RDS Parameter Group and how to use it, see What is Parameter Group.

Example Usage

Basic Usage

variable "name" {
  default = "tf_example"
}

resource "alicloud_rds_parameter_group" "default" {
  engine         = "mysql"
  engine_version = "5.7"
  param_detail {
    param_name  = "back_log"
    param_value = "4000"
  }
  param_detail {
    param_name  = "wait_timeout"
    param_value = "86460"
  }
  parameter_group_desc = var.name
  parameter_group_name = var.name
}

Argument Reference

The following arguments are supported:

param_detail

The param_detail supports the following:

Attributes Reference

The following attributes are exported:

Import

RDS Parameter Group can be imported using the id, e.g.

$ terraform import alicloud_rds_parameter_group.example <id>