github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/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 ```hcl 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. 49 50 51 ## Import 52 53 ElastiCache Parameter Groups can be imported using the `name`, e.g. 54 55 ``` 56 $ terraform import aws_elasticache_parameter_group.default redis-params 57 ```