Skip to content

Commit

Permalink
Merge pull request #23 from schubergphilis/export-cluster-nodes-attri…
Browse files Browse the repository at this point in the history
…bute

Export cluster_nodes attribute
  • Loading branch information
Vino-Bala authored Apr 7, 2023
2 parents 793726c + 0d280fe commit 1408b27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Terraform module to setup and manage an AWS Redshift cluster
| Name | Description |
|------|-------------|
| cluster\_identifier | The cluster identifier |
| cluster\_nodes | The nodes in the redshift cluster |
| database | The name of the default database in the cluster |
| elastic\_ip | The Elastic IP (EIP) address for the cluster |
| endpoint | The connection endpoint |
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ output "cluster_identifier" {
description = "The cluster identifier"
}

output "cluster_nodes" {
value = aws_redshift_cluster.default.cluster_nodes
description = "The nodes in the redshift cluster"
}

output "database" {
value = var.database
description = "The name of the default database in the cluster"
Expand Down

0 comments on commit 1408b27

Please sign in to comment.