Difference between revisions of "Terraform resource: aws rds cluster parameter group"

From wikieduonline
Jump to navigation Jump to search
 
Line 20: Line 20:
 
}
 
}
 
</pre>
 
</pre>
 +
 +
== 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 ==
 
== See also ==

Latest revision as of 12:28, 1 August 2024

aws_rds_cluster_parameter_group

Official example[edit]

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[edit]

 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[edit]

Advertising: