github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/providers/aws/r/db_parameter_group.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_db_parameter_group"
     4  sidebar_current: "docs-aws-resource-db-parameter-group"
     5  ---
     6  
     7  # aws\_db\_parameter\_group
     8  
     9  Provides an RDS DB parameter group resource.
    10  
    11  ## Example Usage
    12  
    13  ```
    14  resource "aws_db_parameter_group" "default" {
    15      name = "rds-pg"
    16      family = "mysql5.6"
    17      description = "RDS default parameter group"
    18  
    19    	parameter {
    20     	  name = "character_set_server"
    21     	  value = "utf8"
    22     	}
    23  
    24     	parameter {
    25        name = "character_set_client"
    26        value = "utf8"
    27      }
    28  }
    29  ```
    30  
    31  ## Argument Reference
    32  
    33  The following arguments are supported:
    34  
    35  * `name` - (Required) The name of the DB parameter group.
    36  * `family` - (Required) The family of the DB parameter group.
    37  * `description` - (Required) The description of the DB parameter group.
    38  * `parameter` - (Optional) A list of DB parameters to apply.
    39  
    40  Parameter blocks support the following:
    41  
    42  * `name` - (Required) The name of the DB parameter.
    43  * `value` - (Required) The value of the DB parameter.
    44  * `apply_method` - (Optional) "immediate" (default), or "pending-reboot". Some
    45      engines can't apply some parameters without a reboot, and you will need to
    46      specify "pending-reboot" here.
    47  
    48  ## Attributes Reference
    49  
    50  The following attributes are exported:
    51  
    52  * `id` - The db parameter group name.