github.com/adrian-bl/terraform@v0.7.0-rc2.0.20160705220747-de0a34fc3517/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  
    18    	parameter {
    19     	  name = "character_set_server"
    20     	  value = "utf8"
    21     	}
    22  
    23     	parameter {
    24        name = "character_set_client"
    25        value = "utf8"
    26      }
    27  }
    28  ```
    29  
    30  ## Argument Reference
    31  
    32  The following arguments are supported:
    33  
    34  * `name` - (Required) The name of the DB parameter group.
    35  * `family` - (Required) The family of the DB parameter group.
    36  * `description` - (Optional) The description of the DB parameter group. Defaults to "Managed by Terraform".
    37  * `parameter` - (Optional) A list of DB parameters to apply.
    38  * `tags` - (Optional) A mapping of tags to assign to the resource.
    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.
    53  * `arn` - The ARN of the db parameter group.