aws_redshift_cluster

Nivis 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_identifier
  • node_type
Optional arguments
  • allow_version_upgrade (defaults to null)
  • apply_immediately (defaults to null)
  • aqua_configuration_status (defaults to null)
  • automated_snapshot_retention_period (defaults to null)
  • availability_zone (defaults to null)
  • availability_zone_relocation_enabled (defaults to null)
  • cluster_parameter_group_name (defaults to null)
  • cluster_subnet_group_name (defaults to null)
  • cluster_type (defaults to null)
  • cluster_version (defaults to null)
  • database_name (defaults to null)
  • default_iam_role_arn (defaults to null)
  • elastic_ip (defaults to null)
  • encrypted (defaults to null)
  • enhanced_vpc_routing (defaults to null)
  • final_snapshot_identifier (defaults to null)
  • iam_roles (defaults to null)
  • id (defaults to null)
  • kms_key_id (defaults to null)
  • maintenance_track_name (defaults to null)
  • manage_master_password (defaults to null)
  • manual_snapshot_retention_period (defaults to null)
  • master_password (defaults to null)
  • master_password_secret_kms_key_id (defaults to null)
  • master_password_wo (defaults to null)
  • master_password_wo_version (defaults to null)
  • master_username (defaults to null)
  • multi_az (defaults to null)
  • number_of_nodes (defaults to null)
  • owner_account (defaults to null)
  • port (defaults to null)
  • preferred_maintenance_window (defaults to null)
  • publicly_accessible (defaults to null)
  • region (defaults to null)
  • skip_final_snapshot (defaults to null)
  • snapshot_arn (defaults to null)
  • snapshot_cluster_identifier (defaults to null)
  • snapshot_identifier (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • vpc_security_group_ids (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • cluster_namespace_arn
  • cluster_nodes
  • cluster_public_key
  • cluster_revision_number
  • dns_name
  • endpoint
  • master_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.