github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/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      description = "Cache cluster default param group"
    18  
    19      parameter {
    20          name = "activerehashing"
    21          value = "yes"
    22      }
    23  
    24      parameter {
    25          name = "min-slaves-to-write"
    26          value = "2"
    27      }
    28  }
    29  ```
    30  
    31  ## Argument Reference
    32  
    33  The following arguments are supported:
    34  
    35  * `name` - (Required) The name of the ElastiCache parameter group.
    36  * `family` - (Required) The family of the ElastiCache parameter group.
    37  * `description` - (Required) The description of the ElastiCache parameter group.
    38  * `parameter` - (Optional) A list of ElastiCache parameters to apply.
    39  
    40  Parameter blocks support the following:
    41  
    42  * `name` - (Required) The name of the ElastiCache parameter.
    43  * `value` - (Required) The value of the ElastiCache parameter.
    44  
    45  ## Attributes Reference
    46  
    47  The following attributes are exported:
    48  
    49  * `id` - The ElastiCache parameter group name.