Hello, I am experimenting hook according to this s...
# help
y
Hello, I am experimenting hook according to this script: https://docs.lakefs.io/latest/integrations/glue_metastore/#the-exporter-script. We deployed lakefs in a EKS with lakefs docker image. I can trigger the script now but I failed to login aws. I tried several ways: 1. use key/secret/session_token, but aws.s3_client() only accept 3 2. use empty aws.s3_client() 3. aws.s3_client({}) 4. aws.s3_client(region) All failed. I also tried to call aws.sts_clieng() but it returned nil My question is, my lakefs running in a EKS with a proper IAM role in AWS. How can I get s3_client in this environment? Thanks
o
Hi @Yan Shi The s3_client indeed accepts 3 parameters
y
I need 4, key/secret/session_token/region. When I passed in 4 arguments, it regarded the last one as an url and failed to accept it, I guess it's for endpoint url.
o
Please open an issue for this
y