terraform-aws-modules / terraform-aws-msk-kafka-cluster

Terraform module to create AWS MSK (Managed Streaming for Kafka) resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/msk-kafka-cluster/aws
Apache License 2.0
55 stars 53 forks source link

Create msk connector with an existing cluster #2

Closed kaoscore closed 2 years ago

kaoscore commented 2 years ago

Is your feature request related to a problem? Please describe. How can we create the msk connector in terraform with an existing msk cluster?

bryantbiggs commented 2 years ago

hi @kaoscore - I'm not sure I follow. have you checked the examples? https://github.com/clowdhaus/terraform-aws-msk-kafka-cluster/blob/main/examples/connect/main.tf#L139-L154

kaoscore commented 2 years ago

Yes I do, but this example creates the cluster and the connector at the same time, I need to create the connect only.

bryantbiggs commented 2 years ago

by using the resource independently? https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/mskconnect_custom_plugin

kaoscore commented 2 years ago

Yes, and also using this https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/mskconnect_worker_configuration

I dont see how relate an existing MSK cluster with a new MSK connector

bryantbiggs commented 2 years ago

https://github.com/hashicorp/terraform-provider-aws/issues/20942

kaoscore commented 2 years ago

This feature aws_kafkaconnect_connector is still under construction?? or I can use it

github-actions[bot] commented 1 year ago

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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.