upstash / terraform-provider-upstash

MIT License
22 stars 4 forks source link

Feature request: Add port as output to `upstash_kafka_cluster` #10

Closed benkraus closed 2 years ago

benkraus commented 2 years ago

upstash_kafka_cluster's tcp_endpoint does not include the port, and thus when attempting to configure a Lambda integration for a consumer, it fails - I had to add and hardcode the port manually. Would be nice to get that as an output so no hardcoding would be required.

burak-upstash commented 2 years ago

Hi again, @benkraus!

Default port for the kafka clusters is 9092. What I mean is, the port does not change like in the case of our redis databases.

We may release a version for this in the future. In the mean time, you can keep that port info in a variable instead in order not to hardcode everytime.

Closing the issue for now.