hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.85k stars 9.2k forks source link

[New Data Source]: aws_msk_controller_nodes #40021

Open cameronattard opened 2 weeks ago

cameronattard commented 2 weeks ago

Description

MSK clusters running in KRaft mode have controllers node which expose some useful Prometheus metrics, per https://docs.aws.amazon.com/msk/latest/developerguide/kraft-intro.html. Currently there doesn't seem to be a way to read the list of controller nodes for a cluster using Terraform.

Requested Resource(s) and/or Data Source(s)

Potential Terraform Configuration

data "aws_msk_controller_nodes" "example" {
  cluster_arn = aws_msk_cluster.example.arn
}

References

https://docs.aws.amazon.com/msk/latest/developerguide/kraft-intro.html

Would you like to implement a fix?

No

github-actions[bot] commented 2 weeks ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue