Resource: aws_redshift_parameter_group

Provides a Redshift Cluster parameter group resource.

Example Usage

resource "aws_redshift_parameter_group" "bar" {
  name   = "parameter-group-test-terraform"
  family = "redshift-1.0"

  parameter {
    name  = "require_ssl"
    value = "true"
  }

  parameter {
    name  = "query_group"
    value = "example"
  }

  parameter {
    name  = "enable_user_activity_logging"
    value = "true"
  }
}

Argument Reference

This resource supports the following arguments:

Parameter blocks support the following:

You can read more about the parameters that Redshift supports in the documentation

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 Redshift Parameter Groups using the name. For example:

import {
  to = aws_redshift_parameter_group.paramgroup1
  id = "parameter-group-test-terraform"
}

Using terraform import, import Redshift Parameter Groups using the name. For example:

% terraform import aws_redshift_parameter_group.paramgroup1 parameter-group-test-terraform