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

Version 0.7.0 does error on aim auth in comparison to 0.6.0 #394

Open
fritz-net opened this issue Mar 14, 2024 · 6 comments
Open

Version 0.7.0 does error on aim auth in comparison to 0.6.0 #394

fritz-net opened this issue Mar 14, 2024 · 6 comments
Labels

Comments

@fritz-net
Copy link

our module was auto updated and starting to fail. When setting version to 0.6.0 it worked again.

we use aim auth and tls


│             * kafka server: SASL Authentication failed: [e1940359-331e-448d-851e-0165a6d0db46]: Invalid authentication payload

│             * kafka server: SASL Authentication failed: [b9824777-2089-4db1-8b78-a8037af63b6a]: Invalid authentication payload

@sappusaketh
Copy link
Contributor

which sasl auth are you using?
will you be able to share provider config?

@fritz-net
Copy link
Author

fritz-net commented Mar 14, 2024

sure here:

provider "kafka" {
  bootstrap_servers = split(",", aws_msk_cluster.somename.bootstrap_brokers_sasl_iam)
  tls_enabled       = true
  sasl_mechanism    = "aws-iam" # https://github.com/Mongey/terraform-provider-kafka/pull/372
}

for me its not that urgent since reverting back to 0.6.0 made it work again :)

@sappusaketh
Copy link
Contributor

so are you setting creds via env vars cause I made change just to include aws_profile or aws_role_arn i havent changed any of 0.6.0 behavior just trying to see what caused this

@fritz-net
Copy link
Author

fritz-net commented Mar 14, 2024

yes ( I thing - will check tomorrow ) we use env vars since they are secrets and its inside of a CI/CD pipeline

@sappusaketh
Copy link
Contributor

Ok I will try it out with env vars and see if it works sorry I only tested with iam_role_arn

@Mongey Mongey added the bug label Mar 14, 2024
@fritz-net
Copy link
Author

https://github.com/aws-actions/configure-aws-credentials this is what's used under the hood, so I guess its env vars

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

No branches or pull requests

3 participants