Support for exporting Redshift cluster nodes and/or IP addresses #20727
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/redshift
Issues and PRs that pertain to the redshift service.
(this is a resubmission of #3394)
Currently aws_redshift_cluster resources do not support exporting the cluster nodes. However it is already possible to get those back from AWS using the CLI. The cluster nodes are useful for determining the public and private IP addressed of the nodes.
While attaching an EIP seems like a possible workaround, it is quite limited when the cluster is not publicly accessible and deployed in a private subnet (which is the recommended way).
Here's a small example for to do that using the AWS CLI:
https://docs.aws.amazon.com/redshift/latest/dg/load-from-host-steps-retrieve-key-and-ips.html
Adding to the original request:
I would also like to add that being able to filter the list by node role is a requirement for me - I currently use an external datasource that does this, so I can get the leader node private IP:
Terraform Version
Any
Affected Resource(s)
The text was updated successfully, but these errors were encountered: