github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/aws/r/redshift_parameter_group.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_redshift_parameter_group"
     4  sidebar_current: "docs-aws-resource-redshift-parameter-group"
     5  ---
     6  
     7  # aws\_redshift\_parameter\_group
     8  
     9  Provides a Redshift Cluster parameter group resource.
    10  
    11  ## Example Usage
    12  
    13  ```hcl
    14  resource "aws_redshift_parameter_group" "bar" {
    15    name   = "parameter-group-test-terraform"
    16    family = "redshift-1.0"
    17  
    18    parameter {
    19      name  = "require_ssl"
    20      value = "true"
    21    }
    22  
    23    parameter {
    24      name  = "query_group"
    25      value = "example"
    26    }
    27  
    28    parameter {
    29      name  = "enable_user_activity_logging"
    30      value = "true"
    31    }
    32  }
    33  ```
    34  
    35  ## Argument Reference
    36  
    37  The following arguments are supported:
    38  
    39  * `name` - (Required) The name of the Redshift parameter group.
    40  * `family` - (Required) The family of the Redshift parameter group.
    41  * `description` - (Optional) The description of the Redshift parameter group. Defaults to "Managed by Terraform".
    42  * `parameter` - (Optional) A list of Redshift parameters to apply.
    43  
    44  Parameter blocks support the following:
    45  
    46  * `name` - (Required) The name of the Redshift parameter.
    47  * `value` - (Required) The value of the Redshift parameter.
    48  
    49  You can read more about the parameters that Redshift supports in the [documentation](http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html)
    50  
    51  ## Attributes Reference
    52  
    53  The following attributes are exported:
    54  
    55  * `id` - The Redshift parameter group name.
    56  
    57  ## Import
    58  
    59  Redshift Parameter Groups can be imported using the `name`, e.g.
    60  
    61  ```
    62  $ terraform import aws_redshift_parameter_group.paramgroup1 parameter-group-test-terraform
    63  ```