-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSK list_nodes ClientVpcIpAddress support #12821
Conversation
Pushed candidate unit test updates, but they have not yet been run. Working out details on running testacc the the available environment. Please let me know if there are any suggestions. |
Unit tests updated, output from TestAccAWSMskCluster_NumberOfBrokerNodes included above. |
c83e673
to
5abf521
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some comments, ill take a look regarding cluster expansion and readiness (maybe some wait logic is needed here)
@bflad @DrFaust92 thanks for the guidance on this effort, please let me know if there are any new comments. |
Please let me know if any steps remain before this code can be merged. |
Can we get this merged in so we can have a bumper MSK release |
Supporting this pull request. My current work around is doing my head in. |
Supporting this PR. |
Could really use this right now. Supporting this pr. |
Thanks for the support @bflad @DrFaust92 @dblooman @sgLancelot @maheshmadpathi @rattboi, I fixed the merge conflicts from when SASL/SCRAM was added. |
Squashed commits |
8cd8689
to
f2690a4
Compare
Requesting a maintainer review please. |
Thanks @ewbankkit for the reference to #20615, the additional resource is a great addition. Is the list of Using the If the If anyone has found a solution to the referenced issue without requiring external scripts, please let us know. |
Thanks @ewbankkit for adding client_vpc_ip_address per #20615 (comment), 60e8f5d With this addition I am hoping that there is a way to obtain a list of all cluster IP addresses which would satisfy #11085 (comment) for use as For example, given the variable that was planned in this PR,
An
I don't have a current TF dev environment available and I'm not sure how to perform the join using
|
@carl34 You can use a Terraform for expression to loop over the data "aws_msk_broker_nodes" "example" {
cluster_arn = "..."
}
output "client_vpc_ip_addresses" {
value = join(",", [for node in data.aws_msk_broker_nodes.example.node_info_list : node.client_vpc_ip_address])
} % terraform apply
...
Outputs:
client_vpc_ip_addresses = "192.168.1.52,192.168.0.248,192.168.2.11" |
Great, thank you very much @ewbankkit. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Example:
Closes #11085
Release note for CHANGELOG:
Output from acceptance testing: