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

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
  aws_rds_cluster_parameter_group
 
  aws_rds_cluster_parameter_group
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group
 +
 +
== Official example ==
 +
<pre>
 +
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"
 +
  }
 +
}
 +
</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: