Terraform resource: aws rds cluster parameter group

From wikieduonline
Revision as of 12:28, 1 August 2024 by Welcome (talk | contribs) (→‎Official example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
aws_rds_cluster_parameter_group

Official example

resource "aws_rds_cluster_parameter_group" "default" {
  name        = "rds-cluster-pg"
  family      = "aurora5.6"
  description = "RDS default cluster parameter group"

  parameter {
    name  = "character_set_server"
    value = "utf8"
  }

  parameter {
    name  = "character_set_client"
    value = "utf8"
  }
}

Examples

 parameter {
   name  = "idle_in_transaction_session_timeout"
   value = "300000"
   apply_method = "pending-reboot"
 }
 parameter {
   name  = "statement_timeout"
   value = "600000"
   apply_method = "pending-reboot"
 }
 parameter {
   name  = "max_connections"
   value = "100"
   apply_method = "pending-reboot"
 }

See also

Advertising: