cluster_config |
Configuration map for the Redshift cluster |
object({ cluster_identifier = string database_name = string master_username = string master_password = string node_type = string cluster_type = string number_of_nodes = number publicly_accessible = bool automated_snapshot_retention_period = number availability_zone = string subnet_group_name = string subnet_ids = list(string) vpc_id = string security_group_name = string }) |
n/a |
yes |
create_endpoint_access |
Flag to control the creation of Redshift endpoint access |
bool |
false |
no |
create_iam_role |
Flag to create IAM roles for Redshift |
bool |
true |
no |
create_parameter_group |
Flag to create a new Redshift parameter group. |
bool |
false |
no |
create_random_password |
Flag to create a random password if master_password is not provided |
bool |
false |
no |
default_iam_role_arn |
The default IAM role ARN to associate with the Redshift cluster |
string |
"" |
no |
egress_rules |
Egress rules for the security group |
list(object({ from_port = number to_port = number protocol = string cidr_blocks = list(string) })) |
n/a |
yes |
enable |
Flag to enable or disable the module |
bool |
true |
no |
encryption |
Whether the data in the cluster is encrypted. |
bool |
n/a |
yes |
endpoint_name |
Name of the Redshift endpoint |
string |
n/a |
yes |
endpoint_resource_owner |
Resource owner of the Redshift endpoint |
string |
n/a |
yes |
endpoint_subnet_group_name |
Name of the subnet group for the Redshift endpoint |
string |
null |
no |
endpoint_vpc_security_group_ids |
List of VPC security group IDs for the Redshift endpoint |
list(string) |
n/a |
yes |
environment |
The environment name |
string |
n/a |
yes |
existing_iam_role_arns |
List of existing IAM role ARNs to attach to the Redshift cluster. |
list(string) |
[] |
no |
existing_security_group_id |
ID of the existing security group to use |
string |
"" |
no |
existing_subnet_group_name |
Name of the existing subnet group to use |
string |
"" |
no |
iam_role_arns |
List of IAM role ARNs to associate with the Redshift cluster |
list(string) |
[] |
no |
iam_role_description |
The description of the IAM role |
string |
"IAM role for Redshift cluster" |
no |
iam_role_name |
The name to use for the IAM role |
string |
"RedshiftIAMRole" |
no |
iam_role_policy |
The IAM policy JSON for the Redshift role. |
string |
n/a |
yes |
ingress_rules |
Ingress rules for the security group |
list(object({ from_port = number to_port = number protocol = string cidr_blocks = list(string) })) |
n/a |
yes |
label_order |
The order of labels |
list(string) |
n/a |
yes |
managedby |
Managed by label |
string |
n/a |
yes |
name |
The name used for the resources |
string |
n/a |
yes |
parameter_group_description |
Description of the Redshift parameter group. |
string |
n/a |
yes |
parameter_group_family |
The family of the Redshift parameter group. |
string |
n/a |
yes |
parameter_group_name |
Name of the Redshift parameter group. |
string |
n/a |
yes |
parameter_group_parameters |
List of parameters for the Redshift parameter group. |
list(object({ name = string value = string })) |
n/a |
yes |
parameter_group_tags |
Tags to assign to the parameter group. |
map(string) |
{} |
no |
random_password_length |
The length of the random password to be generated |
number |
16 |
no |
region |
The AWS region to create resources in |
string |
n/a |
yes |
repository |
The repository name |
string |
n/a |
yes |
skip_final_snapshot |
The identifier of the final snapshot that is to be created immediately before deleting the cluster. |
bool |
n/a |
yes |
tags |
Tags to be applied to resources |
map(string) |
n/a |
yes |
use_existing_security_group |
Flag to indicate if an existing security group should be used |
bool |
false |
no |
use_existing_subnet_group |
Flag to indicate if an existing subnet group should be used |
bool |
false |
no |