You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, it is a bit involved in the configuration since it is created conditionally, and as it refers to some values created by my module. Regardless, as long as var.enable_kafka_provider is true, my provider configures kafka resources as expected. There is solely one caveat, which I do not really get, given the obscure error message.
The issue I am facing atm. refers to ACLs. Currently, I grant my terraform, or var.terraform_provider_username user, the following ACLs:
When I bootstrap my cluster, these are created without issue. This is because at MSK bootstrap time, the "allow.everyone.if.no.acl.found" configuration parameter must be set to true. It is however, after I set this back top false that I encounter problems.
In particular, I encounter a problem when trying to create a new ACL for a UI component I am using, which simply requires Read permissions on all resources.
This is the error I get during apply:
Error: kafka server: failed to create one or more ACL rules: kafka server: Unexpected (unknown?) server error
This is the kafka_acl I am trying to create:
{
identifier ="kafka-ui"
acl_host ="*"
acl_operation ="Read"
acl_permission_type ="Allow"
acl_principal ="User:kafka-ui"
resource_name ="*"// also tried with "kafka-cluster" but no luck
resource_type ="Any"
},
Any help on this would be appreciated.
Questions
What are the default ACLs that we should create with this provider for granting terraform the ability to administer all resources in a cluster with "allow.everyone.if.no.acl.found" = false`?
Am I right in assuming that as long as "allow.everyone.if.no.acl.found" = false it is impossible to add new ACLs with the provider?
The text was updated successfully, but these errors were encountered:
So, I have added a functioning configuration for a SASL/SSL based provider to AWS MSK, looking like this:
As you can see, it is a bit involved in the configuration since it is created conditionally, and as it refers to some values created by my module. Regardless, as long as
var.enable_kafka_provider
istrue
, my provider configureskafka
resources as expected. There is solely one caveat, which I do not really get, given the obscure error message.The issue I am facing atm. refers to ACLs. Currently, I grant my
terraform
, orvar.terraform_provider_username
user, the following ACLs:When I bootstrap my cluster, these are created without issue. This is because at MSK bootstrap time, the
"allow.everyone.if.no.acl.found"
configuration parameter must be set totrue
. It is however, after I set this back topfalse
that I encounter problems.In particular, I encounter a problem when trying to create a new ACL for a UI component I am using, which simply requires
Read
permissions on all resources.This is the error I get during apply:
This is the
kafka_acl
I am trying to create:Any help on this would be appreciated.
Questions
What are the default ACLs that we should create with this provider for granting
terraform
the ability to administer all resources in a cluster with "allow.everyone.if.no.acl.found" = false`?Am I right in assuming that as long as
"allow.everyone.if.no.acl.found" = false
it is impossible to add new ACLs with the provider?The text was updated successfully, but these errors were encountered: