-
-
Notifications
You must be signed in to change notification settings - Fork 741
Closed
Description
Is your request related to a new offering from AWS?
available on terraform AWS provider self-managed-apache-kafka
.
Is your request related to a problem? Please describe.
Currently, we can't connect self managed kafka.
We need to add self_managed_event_source nested block in your module.
I submit this requested at #200
Describe the solution you'd like.
If self_managed_event_source value is set, we don't need to set event_source_arn.
Only add self_managed_event_source code block.
Describe alternatives you've considered.
code main.tf on aws_lambda_event_source_mapping.this
- event_source_arn = each.value.event_source_arn
+ event_source_arn = lookup(each.value, "event_source_arn", null)
...
+ dynamic "self_managed_event_source" {
+ for_each = lookup(each.value, "self_managed_event_source", [])
+ content {
+ endpoints = self_managed_event_source.value["endpoints"]
+ }
+ }Additional context
Metadata
Metadata
Assignees
Labels
No labels