aws_redshift_clusterNivis Nix constructor for the aws_redshift_cluster resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
cluster_identifier,
node_type,
allow_version_upgrade ? null,
apply_immediately ? null,
aqua_configuration_status ? null,
automated_snapshot_retention_period ? null,
availability_zone ? null,
availability_zone_relocation_enabled ? null,
cluster_parameter_group_name ? null,
cluster_subnet_group_name ? null,
cluster_type ? null,
cluster_version ? null,
database_name ? null,
default_iam_role_arn ? null,
elastic_ip ? null,
encrypted ? null,
enhanced_vpc_routing ? null,
final_snapshot_identifier ? null,
iam_roles ? null,
id ? null,
kms_key_id ? null,
maintenance_track_name ? null,
manage_master_password ? null,
manual_snapshot_retention_period ? null,
master_password ? null,
master_password_secret_kms_key_id ? null,
master_password_wo ? null,
master_password_wo_version ? null,
master_username ? null,
multi_az ? null,
number_of_nodes ? null,
owner_account ? null,
port ? null,
preferred_maintenance_window ? null,
publicly_accessible ? null,
region ? null,
skip_final_snapshot ? null,
snapshot_arn ? null,
snapshot_cluster_identifier ? null,
snapshot_identifier ? null,
tags ? null,
tags_all ? null,
vpc_security_group_ids ? null,
timeouts ? null,
overrides ? {}
}Required arguments
cluster_identifiernode_type
Optional arguments
allow_version_upgrade(defaults tonull)apply_immediately(defaults tonull)aqua_configuration_status(defaults tonull)automated_snapshot_retention_period(defaults tonull)availability_zone(defaults tonull)availability_zone_relocation_enabled(defaults tonull)cluster_parameter_group_name(defaults tonull)cluster_subnet_group_name(defaults tonull)cluster_type(defaults tonull)cluster_version(defaults tonull)database_name(defaults tonull)default_iam_role_arn(defaults tonull)elastic_ip(defaults tonull)encrypted(defaults tonull)enhanced_vpc_routing(defaults tonull)final_snapshot_identifier(defaults tonull)iam_roles(defaults tonull)id(defaults tonull)kms_key_id(defaults tonull)maintenance_track_name(defaults tonull)manage_master_password(defaults tonull)manual_snapshot_retention_period(defaults tonull)master_password(defaults tonull)master_password_secret_kms_key_id(defaults tonull)master_password_wo(defaults tonull)master_password_wo_version(defaults tonull)master_username(defaults tonull)multi_az(defaults tonull)number_of_nodes(defaults tonull)owner_account(defaults tonull)port(defaults tonull)preferred_maintenance_window(defaults tonull)publicly_accessible(defaults tonull)region(defaults tonull)skip_final_snapshot(defaults tonull)snapshot_arn(defaults tonull)snapshot_cluster_identifier(defaults tonull)snapshot_identifier(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)vpc_security_group_ids(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arncluster_namespace_arncluster_nodescluster_public_keycluster_revision_numberdns_nameendpointmaster_password_secret_arn
Example
aws_redshift_cluster {
name = "redshift_cluster";
cluster_identifier = …; # required
node_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.