Skip to content

Commit c4b5edb

Browse files
authored
feat: Add redshift_cluster_nodes to the outputs (#58)
1 parent 01ec02f commit c4b5edb

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ module "redshift" {
3838
| Name | Version |
3939
|------|---------|
4040
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.31 |
41-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 2.25 |
41+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.57.0 |
4242

4343
## Providers
4444

4545
| Name | Version |
4646
|------|---------|
47-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 2.25 |
47+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.57.0 |
4848

4949
## Modules
5050

@@ -116,6 +116,7 @@ No modules.
116116
| <a name="output_redshift_cluster_id"></a> [redshift\_cluster\_id](#output\_redshift\_cluster\_id) | The Redshift cluster ID |
117117
| <a name="output_redshift_cluster_identifier"></a> [redshift\_cluster\_identifier](#output\_redshift\_cluster\_identifier) | The Redshift cluster identifier |
118118
| <a name="output_redshift_cluster_node_type"></a> [redshift\_cluster\_node\_type](#output\_redshift\_cluster\_node\_type) | The type of nodes in the cluster |
119+
| <a name="output_redshift_cluster_nodes"></a> [redshift\_cluster\_nodes](#output\_redshift\_cluster\_nodes) | Cluster nodes in the Redshift cluster |
119120
| <a name="output_redshift_cluster_parameter_group_name"></a> [redshift\_cluster\_parameter\_group\_name](#output\_redshift\_cluster\_parameter\_group\_name) | The name of the parameter group to be associated with this cluster |
120121
| <a name="output_redshift_cluster_port"></a> [redshift\_cluster\_port](#output\_redshift\_cluster\_port) | The port the cluster responds on |
121122
| <a name="output_redshift_cluster_preferred_maintenance_window"></a> [redshift\_cluster\_preferred\_maintenance\_window](#output\_redshift\_cluster\_preferred\_maintenance\_window) | The backup window |

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,8 @@ output "redshift_parameter_group_id" {
111111
description = "The ID of Redshift parameter group created by this module"
112112
value = element(concat(aws_redshift_parameter_group.this.*.id, [""]), 0)
113113
}
114+
115+
output "redshift_cluster_nodes" {
116+
description = "Cluster nodes in the Redshift cluster"
117+
value = aws_redshift_cluster.this.cluster_nodes
118+
}

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ terraform {
22
required_version = ">= 0.12.31"
33

44
required_providers {
5-
aws = ">= 2.25"
5+
aws = ">= 3.57.0"
66
}
77
}

0 commit comments

Comments
 (0)