Skip to content
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

Can't create ACLs when the resource name is a wildcard (*) #483

Open
samarara opened this issue Dec 9, 2024 · 0 comments
Open

Can't create ACLs when the resource name is a wildcard (*) #483

samarara opened this issue Dec 9, 2024 · 0 comments

Comments

@samarara
Copy link

samarara commented Dec 9, 2024

I'm having issues when I try to create Wildcarded Group, Topic, TransactionalID ACLs as follows:

    {
      resource_name                = "*"
      resource_type                = "TransactionalID"
      acl_principal                = "User:XXXXX"
      acl_host                     = "*"
      acl_operation                = "All"
      acl_permission_type          = "Allow"
      resource_pattern_type_filter = "Match"
    }

or

    {
      resource_name                = "*"
      resource_type                = "Group"
      acl_principal                = "User:XXXXX"
      acl_host                     = "*"
      acl_operation                = "All"
      acl_permission_type          = "Allow"
      resource_pattern_type_filter = "Match"
    }

Error output is the same for all resource _type's. Failing with a:

╷
│ Error: kafka server: failed to create one or more ACL rules: kafka server: Unexpected (unknown?) server error
│ 
│   with module.zum_kafka_cluster_acls_allow_other_admin_actions.kafka_acl.generic_access["1"],
│   on ../../modules/kafka_topics/main.tf line 20, in resource "kafka_acl" "generic_access":
│   20: resource "kafka_acl" "generic_access" {
│ 
╵

Has anyone else experienced this?

Kafka version: 2.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant