Mongey / terraform-provider-kafka

Terraform provider for managing Apache Kafka Topics + ACLs
MIT License
517 stars 129 forks source link

seeing EOF issue #145

Open userakhila opened 4 years ago

userakhila commented 4 years ago

I am seeing below EOF issue when I try to create ACLs on kafka cluster, I am suing terraform12

error

Error: EOF

  on kafka_acls.tf line 9, in resource "kafka_acl" "test":
   9: resource "kafka_acl" "test" {

here is my configuration


resource "kafka_acl" "test" {
  resource_name       = "*"
  resource_type       = "Any"
  acl_principal       = "User:CN=test"
  acl_host            = "*"
  acl_operation       = "All"
  acl_permission_type = "Allow"

 }
userakhila commented 4 years ago

@Mongey I figured that resource_type ANY can not be passed, thats why I am seeing that error, Is it possible to change the error type to be more specific, and can we please remove ANY from the resource_type

Mongey commented 3 years ago

Thanks for reporting, maybe we can add some validation here.

unguiculus commented 3 years ago

Just came across this as well. A better error message would be much appreciated.