github.com/pmcatominey/terraform@v0.7.0-rc2.0.20160708105029-1401a52a5cc5/website/source/docs/providers/aws/r/elasticache_parameter_group.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_elasticache_parameter_group"
     4  sidebar_current: "docs-aws-resource-elasticache-parameter-group"
     5  ---
     6  
     7  # aws\_elasticache\_parameter\_group
     8  
     9  Provides an ElastiCache parameter group resource.
    10  
    11  ## Example Usage
    12  
    13  ```
    14  resource "aws_elasticache_parameter_group" "default" {
    15      name = "cache-params"
    16      family = "redis2.8"
    17  
    18      parameter {
    19          name = "activerehashing"
    20          value = "yes"
    21      }
    22  
    23      parameter {
    24          name = "min-slaves-to-write"
    25          value = "2"
    26      }
    27  }
    28  ```
    29  
    30  ## Argument Reference
    31  
    32  The following arguments are supported:
    33  
    34  * `name` - (Required) The name of the ElastiCache parameter group.
    35  * `family` - (Required) The family of the ElastiCache parameter group.
    36  * `description` - (Optional) The description of the ElastiCache parameter group. Defaults to "Managed by Terraform".
    37  * `parameter` - (Optional) A list of ElastiCache parameters to apply.
    38  
    39  Parameter blocks support the following:
    40  
    41  * `name` - (Required) The name of the ElastiCache parameter.
    42  * `value` - (Required) The value of the ElastiCache parameter.
    43  
    44  ## Attributes Reference
    45  
    46  The following attributes are exported:
    47  
    48  * `id` - The ElastiCache parameter group name.