Resource: aws_memorydb_parameter_group

Provides a MemoryDB Parameter Group.

More information about parameter groups can be found in the MemoryDB User Guide.

Example Usage

resource "aws_memorydb_parameter_group" "example" {
  name   = "my-parameter-group"
  family = "memorydb_redis6"

  parameter {
    name  = "activedefrag"
    value = "yes"
  }
}

Argument Reference

The following arguments are required:

The following arguments are optional:

parameter Configuration Block

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import a parameter group using the name. For example:

import {
  to = aws_memorydb_parameter_group.example
  id = "my-parameter-group"
}

Using terraform import, import a parameter group using the name. For example:

% terraform import aws_memorydb_parameter_group.example my-parameter-group