-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[Enhancement]: aws_msk_serverless_cluster to return bootstrap server url #28005
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Raised it with aws, it's possible to get that information via:
https://docs.aws.amazon.com/msk/1.0/apireference/clusters-clusterarn-bootstrap-brokers.html Either this get fetched as post resource creation or a new data is created |
We've just hit this (inability to programmatically derive Serverless bootstrap endpoint) 😞 |
Apart from amending |
So would this be as simple as adding the following to brokers, _ := conn.GetBootstrapBrokers(&kafka.GetBootstrapBrokersInput{
ClusterArn: cluster.ClusterArn,
})
d.Set("bootstrap_brokers", brokers.BootstrapBrokerString)
d.Set("bootstrap_brokers_sasl_iam", brokers.BootstrapBrokerStringSaslIam)
d.Set("bootstrap_brokers_public_tls", brokers.BootstrapBrokerStringPublicTls)
... If that's all it takes, I'm happy to put up a PR sometime in the next couple of weeks |
I started a PR to create a new datasource that will get the endpoint via My first PR, so i will need help. please upvote to help with prioritization! |
@ewbankkit The #32484 seems to only partially resolve this request which initially was to implement this feature via resource rather than a data source (while having data source that also does that is also desired). Can you please re-open this issue so that maybe someone can contribute by implementing Serverless MSK brokers list within @kaykhan I'm not entirely sure and hence am asking for your assistance: does |
This functionality has been released in v5.32.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
@breathingdust Could you please look into re-opening this issue since it was resolved partially and sort of indirectly? Thanks. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
The aws_msk_serverless_cluster recently added doesn't return the URL of the created cluster.
Now this ticket will need to be on hold, pending on aws to provide a way to programmatically retrieve that information.
As far as I can see it's not available: describe-cluster-v2 returned data doesn't have the information.
And there are no method related to client-information:
https://docs.aws.amazon.com/cli/latest/reference/kafka/index.html
Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
#22058
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: