AWS Amazon Redshift Parameter Group
This page shows how to write Terraform and CloudFormation for Amazon Redshift Parameter Group and write them securely.
aws_redshift_parameter_group (Terraform)
The Parameter Group in Amazon Redshift can be configured in Terraform with the resource name aws_redshift_parameter_group
. The following sections describe 5 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_redshift_parameter_group" "bar" {
name = "parameter-group-test-terraform"
family = "redshift-1.0"
parameter {
name = "require_ssl"
value = "false"
resource "aws_redshift_parameter_group" "failasfalse" {
name = var.param_group_name
family = "redshift-1.0"
parameter {
name = "require_ssl"
resource "aws_redshift_parameter_group" "failasfalse" {
name = var.param_group_name
family = "redshift-1.0"
parameter {
name = "require_ssl"
resource "aws_redshift_parameter_group" "bar" {
name = "parameter-group-test-terraform"
family = "redshift-1.0"
parameter {
name = "require_ssl"
value = "false"
resource "aws_redshift_parameter_group" "bar" {
name = "parameter-group-test-terraform"
family = "redshift-1.0"
parameter {
name = "require_ssl"
value = "false"
Parameters
-
arn
optional computed - string -
description
optional - string -
family
required - string -
id
optional computed - string -
name
required - string -
tags
optional - map from string to string -
parameter
set block
Explanation in Terraform Registry
Provides a Redshift Cluster parameter group resource.
AWS::Redshift::ClusterParameterGroup (CloudFormation)
The ClusterParameterGroup in Redshift can be configured in CloudFormation with the resource name AWS::Redshift::ClusterParameterGroup
. The following sections describe 10 examples of how to use the resource and its parameters.
Example Usage from GitHub
Type: AWS::Redshift::ClusterParameterGroup
Properties:
Description: Parameter group for redshift cluster
ParameterGroupFamily: redshift-1.0
Parameters:
- ParameterName: max_concurrency_scaling_cluster
Type: AWS::Redshift::ClusterParameterGroup
Properties:
Description: redshift cluster param group
ParameterGroupFamily: redshift-1.0
Parameters:
- ParameterName: require_ssl
Type: AWS::Redshift::ClusterParameterGroup
Properties:
Description: Parameter group for redshift cluster
ParameterGroupFamily: redshift-1.0
Parameters:
- ParameterName: max_concurrency_scaling_clusters
Type: AWS::Redshift::ClusterParameterGroup
Properties:
Description: Parameter group for redshift cluster
ParameterGroupFamily: redshift-1.0
Parameters:
- ParameterName: max_concurrency_scaling_clusters
Type: AWS::Redshift::ClusterParameterGroup
Properties:
Description: Parameter group for redshift cluster
ParameterGroupFamily: redshift-1.0
Parameters:
- ParameterName: max_concurrency_scaling_clusters
"Type" : "AWS::Redshift::ClusterParameterGroup",
"Properties" : {
"Description" : "{{settings["description"]}}",
"ParameterGroupFamily" : "{{settings["groupfamily"]}}",
"Parameters" : [
{% for k, v in settings["parameters"].iteritems() %}
"Type": "AWS::Redshift::ClusterParameterGroup",
"Properties": {
"Description": "String",
"ParameterGroupFamily": "String",
"Parameters": [{
"ParameterName": "require_ssl",
"AWS::Redshift::ClusterParameterGroup.Parameter": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html",
"Properties": {
"ParameterName": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html#cfn-redshift-clusterparametergroup-parameter-parametername",
"PrimitiveType": "String",
"AWS::Redshift::ClusterParameterGroup.Parameter": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html",
"Properties": {
"ParameterName": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html#cfn-redshift-clusterparametergroup-parameter-parametername",
"PrimitiveType": "String",
"resourceType" : "AWS::Redshift::ClusterParameterGroup",
"properties" : [ {
"propertyName" : "Description",
"propertyType" : "String",
"required" : true
}, {
Parameters
-
Description
required - String -
ParameterGroupFamily
required - String -
Parameters
optional - List of Parameter -
Tags
optional - List of Tag
Explanation in CloudFormation Registry
Describes a parameter group.
Frequently asked questions
What is AWS Amazon Redshift Parameter Group?
AWS Amazon Redshift Parameter Group is a resource for Amazon Redshift of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS Amazon Redshift Parameter Group?
For Terraform, the ginguyen/GH_large_Oct21-17_37_51, SnidermanIndustries/checkov-fork and sprathod369/iac-example source code examples are useful. See the Terraform Example section for further details.
For CloudFormation, the giusepper11/bootcamp-DE-AWS, benforleo/etl-infrastructure and andresionek91/bootcamp_eng_dados_turma2 source code examples are useful. See the CloudFormation Example section for further details.