You must be logged in to view saved presets
Sets up a scheduled action to resize an AWS Redshift cluster based on specified parameters.
resource "aws_redshift_scheduled_action" "example" {
iam_role = "aws_iam_role.example.arn"
name = "tf-redshift-scheduled-action"
schedule = "cron(00 23 * * ? *)"
target_action {
resize_cluster {
cluster_identifier = "tf-redshift001"
cluster_type = "multi-node"
node_type = "dc1.large"
number_of_nodes = 2
}
}
}