Create a new MSK Nodes Data Source to allow MSK Broker Node Properties to be Retrieved #20628
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
new-data-source
Introduces a new data source.
service/kafka
Issues and PRs that pertain to the kafka service.
Milestone
Community Note
Description
The current
aws_msk_cluster
resource has a bootstrap broker attribute that returns a comma delimited string of hostnames and ports; however this only returns one hostname per availability zone. Meaning in a 6 Node cluster only 3 hosts are returned.Furthermore, the returned list is not stable and returns different hostnames on subsequent calls/refreshes.
Use Case
We would like to enumerate the all the hostnames of each broker node so we can create Consul/DNS aliases. This data source will return a list of brokers with their associated hostnames. There are other Broker properties exposed which may be useful to others such as the subnets the brokers reside in and the attached ENIs
More Info
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: